[CentOS] how to setup account which can 'su" to another account (NON-root)?

mcclnx mcc

mcclnx at yahoo.com.tw
Wed Aug 18 23:22:58 UTC 2010


we have CENTOS 5.2 on DELL server.  we need allow a user can "su" to another user without password.

for example:

account user1 can "su - user2" without password.   (user2 is NOT root)

I know this is big security risk but ....  Anyone know how to do it?

Thanks.


      




More information about the CentOS mailing list