Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] mountinig a USB flash drive


2008/9/22 R.G.Salisbury <rgsalisbury@xxxxxxxxxxxxxx>:
>
>
> Brief howto .............
>
> to enable sudo for a non priveleged user
>
> you will need to
>
> 1/   edit /etc/sudoers  (you need root passwd to do so)
>
> 2/
>   you will need to boot in safe mode (runlevel 1) from grub  & create a root
> password as below:
>
> #passwd
>
> 3/ add a line to /etc/sudoers   ( run visudo) as below:
> your_username ALL=(ALL) ALL
>
> 4/ reboot &
> prepend sudo to all priveleged system commands.
>
> You may need this explained in more detail ( as very brief).
>
> Cheers
> Roger

Hey,

Ubuntu by default has '%admin ALL=(ALL) ALL' in sudoers so if you're
not already in the admin group then simply running `adduser <username>
admin` from the safemode described above would fix that.
Though, during installation the first user created should be added to
the admin group and given privileges for devices by default.

cheers,
Owen.