[lfs-support] Changing user to root

Pierre Labastie pierre.labastie at neuf.fr
Tue Aug 6 08:23:39 PDT 2019

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.

More information about the lfs-support mailing list