On 9 August 2015 at 17:48, Ross Drummond <[email protected]> wrote:
> This will prompt you to enter a password and the confirm it. You
> should the be able to change you login to root by issuing the su (switch
> user) command.


That will of course require roots password, not the users password.

If you want a "get a working environment that is the same as switching
to root", then  "sudo -i" can be useful.

It also means you can make a whitelist of the users who can sudo to
root in sudoers, vs su which anyone can use as long as they know or
can guess roots password.


-- 
Kent

KENTNL - https://metacpan.org/author/KENTNL
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to