Re: enable/disable suid with PAM

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

 





> is it possible to enable/disable SUID flag for files with PAM ?
> I know it is possible in /etc/fstab with nosuid option,
> but is there another way ???

No.
 
> because I've two servers.
> on server A I've no problem, my suid script can have read access to file 
> /etc/vmail/shadow.mydomain
> but on server B, I can't : script is running, but can't get read access on file 
> /etc/vmail/shadow.mydomain
> 
> script is like :
> 
> -rwsrwxr-x 1 root mail 7342 Dec 18 18:46 vacation.pl
> 
> have you got a idea ??

+s on scripts are ignored, that includes Perl scripts. Perl itself detects 
that it is +s, and calls suidperl instead. So the second machine doesn't 
have a suidperl.



	Igmar



_______________________________________________

Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list

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

  Powered by Linux