Re: user rights of pam_modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 20, 2002 at 05:59:18PM +0100, Klaas Hagemann wrote:
> Hi,
> 
> i wrote a pam-module, wich executes a shell-script as a session-module.
> When i log-in at the console or with the kdm, the skript runs at root and
> everything works perfect.
> But when i log in with ssh the pam module seems to run with the rights of
> the user, so the commands of the shell-script cannot be executed.
> Can someone explain me, why these pam-modules run as root when starting from
> the console and run with user-rights when started at ssh-login?
> I tried to set the s-bit on the pam module, but it did not help.

Probably you are running openssh with the priviledge seperation ?

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgp00055.pgp
Description: PGP signature


[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux