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

It is set to 'yes'.

> 
> 
> 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.
> 
IMO, every user can protect their files by setting password. Is there any way 
to enable this 
kind of switching? It sounds a bit curious. Acutally, I think this is not also 
I wanted. However,
according to some instructions from Harley Hahn's Guide to Unix and Linux, this 
kind of 
switching can go its way, at least in traditional Unix.

> 
>> > Can you login as root directly on tty1 ?
>>
>> Does it matter?
>>
> 
> 
> OK. I asked, "Can you login as root directly on tty1 ?"

No.

> 
> 
>> > 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?
> 
At the beginning, I don't get the idea of the difference between them. However, 
I have 
tried to switch to a normal user, and failed. Therefore, now I think the 
'wheel' group is 
not the point.


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