Re: How to restrict normal ssh user to become root ?
On Thu, 12 Apr 2012 14:38:30 +0200
Armin Haas <armin@awawa.de> wrote:
> For su, maybe using pam_wheel.so in /etc/pam.d/su is what you are
> looking for.
>
> sudo has its own conf file(s) (/etc/sudoers and all files in
> /etc/sudoers.d/) in addition to /etc/pam.d/sudo
>
> Consider the possibility that the users you don't trust and who know the
> root password already installed a backdoor on your box.
>
> Cheers
>
> Armin
Many many thanks. Based on your clue I get this link
http://mindref.blogspot.in/2010/04/protect-su-with-pamwheel.html
This is exactly what I have been looking for long.
Once again Thanks
Reply to: