> From: "parmenides" <[email protected]>
> Date: Tue, 6 Aug 2013 01:53:10 +0800
> Subject: Re: [lfs-support] 'su' command does not take effect
>
> ----- Original Message ----- 
> From: "akhiezer" <[email protected]>
> To: "LFS Support List" <[email protected]>
> Sent: Saturday, August 03, 2013 10:44 PM
> Subject: Re: [lfs-support] 'su' command does not take effect
>  
> > 
> > Ignore PAM just now (or indeed forever); 'su -' should work ok without it.
>
> OK! I agree.
>
> > Do you have the parameter 'SU_WHEEL_ONLY' set in /etc/login.defs ? If so, 
> > to 
> > what value?
>
> Yes, but I think it does not matter, because I can not switch from a normal 
> user to another normal user yet. 
> In fact, I wonder why 'su' can not do what it should do - just switching user 
> without prompting privilege. 
> Switching to root has to be 'next step'.
>


OK. I asked what value is it set to.


Switching from one user to another, is by default not enabled, because 
otherwise, 
if you've got multiple users on the system, they could access each other's 
files 
&c; and that's not necessarily wanted.


> > Can you login as root directly on tty1 ?
>
> Does it matter?
>


OK. I asked, "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?
>
> If I just want to switch to a normal user, is there any help provided by the 
> 'wheel' group?
> Do I have to create it?
>


I'd understood that your original request was how to 'su -' to root: whereas it 
now seems that it's to another non-root user. Is it the former or latter or 
both?



rgds,
akh





--
-- 
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