> Date: Sat, 3 Aug 2013 21:45:12 +0800 > From: Parmenides <mobile.parmeni...@gmail.com> > Subject: [lfs-support] 'su' command does not take effect > > I am so sorry for previous two messages that gum up the works. :-) This is > the whole messag: > > I am using LFS 6.3 without PAM installed. I have create a normal user > 'weedly', and log in with 'weedly'. I want to change to 'root'. Then, I > used > su root > and get the following message: > > weedly [ ~ ]$ su root > Password: > Sorry. > > It seems that the su command does not take effect. I googled this problem > and realized that only users in 'wheel' group has the priviledge to execute > su. But LFS 6.3 does not has 'wheel' group. In addition, even if the > 'wheel' group exists, it seems that I also should modify some configuration > file concerning PAM. However, PAM does not installed in LFS 6.3. So, with > my purpose to excute su to change user, how can I do to resolve the problem?
Ignore PAM just now (or indeed forever); 'su -' should work ok without it. Do you have the parameter 'SU_WHEEL_ONLY' set in /etc/login.defs ? If so, to what value? Can you login as root directly on tty1 ? What happens if you create the 'wheel' group and put your own non-root username into it? After that, can you 'su -' ok? If not, can you 'su' (without the '-') ok? rgds, akh -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page