Am 08/03/13 15:45, schrieb Parmenides:
> 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?

In a dark spot of my mind I remember a similar problem I had once with su.

Some Questions:

1. after doing su root ENTER and the Password: prompt appears, su just
prints out Sorry without any entry from your side. Is that the case?

2. do you have an /etc/suauth file? If yes, post the not commented lines

3. post the output of either
ip link show

or
ifconfig

If I remember correctly, in my case the loopback device was down and su
at this time seemed to use it.

thorsten
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to