can't run admin commands after expert install
Jukka Salmi
j+ubuntu at 2006.salmi.ch
Tue May 9 08:30:05 UTC 2006
xenmax, Ptero-4, thanks for the replies.
After reading the thread xenmax gave I compared an Ubuntu expert mode
installation to a non-expert mode installation, and indeed the only
difference I found were:
- the `admin' group only existing in the non-expert mode install
- the sudoers file allowing admin group members to execute all commands
Thus, after installing Ubuntu in expert mode, to allow regular users
to run admin tools one needs to
$ su -
[ enter root password ]
# groupadd admin
# visudo
[add this line:]
%admin ALL=(ALL) ALL
:wq
Done.
BTW, instead of the sudoers line given above one could also add
%admin ALL=(ALL) NOPASSWD: ALL
To disable the password prompts... ;-)
Cheers, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
More information about the ubuntu-users
mailing list