[Ilugc] su with own password.

  • From: balaji.narayanan@xxxxxxxxx (Balaji N)
  • Date: 10 Aug 2002 16:14:28 +0530

On Tue, 2002-07-30 at 10:51, Bhuvan A wrote:

On Fri, 26 Jul 2002, Vignesh wrote:

Try adding the user into wheels group.
Dear vignesh,

Again, i added the user in 'wheel' group and UNCOMMENTED the below line in
/etc/pam.d/su

# auth       sufficient   /lib/security/pam_wheel.so trust use_uid

and now the user able to su root even without his own password. But i
require to prompt for his own password before been given access to root.
Where else i should change? TIA.

not sure if u have already located the answer. but here is what my
/etc/sudoers file looks like.

balajin ALL=(ALL) ALL

if u want certain users to use sudo without using the password then use
something, like 

balajin ALL=(ALL) NOPASSWD:ALL

hth
-balaji



Other related posts: