[Scottish] Help with SU

Phillip Bennett phillip at mve.com
Fri Mar 30 13:43:14 BST 2007


Colin,

As much as it appears I'm an idiot, yes I have logged in on the console
successfully.  I also changed the root password more than once to make sure
it was not 'forgotten'.

Thanks so far,
Phil.

PS: here is the su pam file for mark:

#%PAM-1.0
auth       sufficient   /lib/security/$ISA/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel"
group.
#auth       sufficient   /lib/security/$ISA/pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth       required     /lib/security/$ISA/pam_wheel.so use_uid
auth       required     /lib/security/$ISA/pam_stack.so service=system-auth
account    required     /lib/security/$ISA/pam_stack.so service=system-auth
password   required     /lib/security/$ISA/pam_stack.so service=system-auth
# pam_selinux.so close must be first session rule
session    required     /lib/security/$ISA/pam_selinux.so close
session    required     /lib/security/$ISA/pam_stack.so service=system-auth
# pam_selinux.so open and pam_xauth must be last two session rules
session    required     /lib/security/$ISA/pam_selinux.so open
session    optional     /lib/security/$ISA/pam_xauth.so


-----Original Message-----
From: scottish-bounces at mailman.lug.org.uk
[mailto:scottish-bounces at mailman.lug.org.uk] On Behalf Of Colin McKinnon
Sent: 30 March 2007 13:34
To: phillip at mve.com; SLUG-list
Subject: Re: [Scottish] Help with SU

On Thursday 29 March 2007 14:47, Phillip Bennett wrote:
<snip elaborate background>
>
> However, now I can't su to root.  It gives me a 'wrong password' error.
> Fortunately, I can still use 'sudo su -' to get root.
>

What makes you think you've not just forgotten the password? Have you tried
logging in on the console?

C.


_______________________________________________
Scottish mailing list
Scottish at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/scottish




More information about the Scottish mailing list