[lfs-support] Changing user to root

Baho Utot baho-utot at columbus.rr.com
Tue Aug 6 08:32:15 PDT 2019


On 8/6/19 11:23 AM, Pierre Labastie wrote:
> On 06/08/2019 17:01, Jack Ditchburn wrote:
>> Dear List,
>>
>> Having competed section 5 of the 8.4 book without errors, I attempted to
>> change the current user (lfs) to user root.
>>
>> I received the below message and am not sure how to proceed.
>>
>> *lfs at AsusLaptop:/mnt/lfs/sources$ sudo su root
>> [sudo] password for lfs:
>> Sorry, user lfs is not allowed to execute '/bin/su root' as root on AsusLaptop.
>> *
>>
>> Should I change to my normal username on the laptop and then change to root?
> Yes, I think it should work. Or if you have root password, just type "su", as
> either lfs user, or from your account.
>
>> All help appreciated.
>>

The answer is:

su -






More information about the lfs-support mailing list