{ 10 comments… read them below or add one }

1 ashwani June 10, 2009

wat a good idea sir ji ….Thanks ;-)

Reply

2 yash August 11, 2010

This doesn’t work. I followed both steps … but still all users can login successfully ! >.<

Reply

3 scott rineer March 30, 2011

I second this, it does not work
running on RHEL5.6 x64

Reply

4 Denis April 12, 2011

Doesn’t work, running CentOS 5.5

Reply

5 popfobia May 5, 2011

I need some users can do “su – ” to other users but not root how can i do that?

Reply

6 Remy May 6, 2011

Hi,
Make sure ‘openssh-askpass’ package is installed and ‘UsePAM yes’ is there in /etc/ssh/sshd_config

Reply

7 popfobia May 16, 2011

the problem is, if I want to login via ssh with the user pedro. and with pedro can do “su – ” to another user, for example apache

Reply

8 Remy May 18, 2011

Check for “Restricting su Access to System and Shared Accounts in” http://www.puschitz.com/SecuringLinux.shtml

Reply

9 popfobia May 18, 2011

thanks i’m gonna try

Reply

10 popfobia May 18, 2011

there is a problem with that, is like use wheel group, i need normal user can do su to other normal user but no to root.

for example: user1 can do su to apache, but user1 cannot do su to root

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 7 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: