Hi Ajay/Suresh,
it required a reboot for that to come to effect kill -HUP didn't work.
but now only the user whos current group is wheel can do su but for other's it
say's password incorrcet how to make statement like " contact sysadmin" for non
wheel group user's.
Binand posting was not clear i regret for that .
Dwivedi Ajay kumar wrote:
> On Fri, 12 Jan 2001, Suresh Ramasubramanian wrote:
>
> > I think he wants to modify pam.d so that only members of the "wheel" group can
> > su ...
> >
> > su auth required /lib/security/pam_wheel.so group=wheel
> >
>
> or read /etc/pam.d/su . And uncomment the required lines as
> desired.
>
> -------
> #%PAM-1.0
> auth sufficient /lib/security/pam_rootok.so
> # Uncomment the following line to implicitly trust users in the "wheel" group.
> #auth sufficient /lib/security/pam_wheel.so trust use_uid
> # Uncomment the following line to require a user to be in the "wheel" group.
> #auth required /lib/security/pam_wheel.so use_uid
> --------
>
--
Regards ph:5099025
RaghuNath L pager:9624395369
WSS-Team,Texas Instruments.
You have to live on the edge of reality -
to make your dreams come true!!!
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH