![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Feb 2006
Location: Praia, Cape Verde
Beans: 77
Ubuntu 9.04 Jaunty Jackalope
|
hello..
i've made 3 kubuntu installation on 3 different PC. on the last one somehow the only user (myself) is enable to become root. only through 'su'. it goes like this (the password entered is correct and the same for 'su'): Code:
songo@barra98:~$ sudo bash Password: Sorry, try again. Password: Sorry, try again. Password: Sorry, try again. sudo: 3 incorrect password attempts songo@barra98:~$ su Password: root@barra98:/home/songo # sudo bash root@barra98:/home/songo # Code:
songo@barra98:~$ sudo bash Password: songo is not in the sudoers file. This incident will be reported. tanx
__________________
Ubuntu 9.04 @ ThinkPad R61
|
|
|
|
|
|
#2 |
|
HP Mini 1120nr User
![]() Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO add user to sudoers list
When you create the user, there are permissions the user has (go to System > Administration > Users and Groups). Make sure the new users have the same permissions as the first user you created.
|
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() Join Date: Nov 2005
Beans: 297
|
Re: HOWTO add user to sudoers list
use visudo
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Location: Salt Lake City
Beans: 43
Ubuntu 7.04 Feisty Fawn
|
So when you launch visudo, what do you do next?
What are you supposed to add? Just the username? |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Oct 2007
My beans are hidden!
|
Re: HOWTO add user to sudoers list
#visudo
-put this line at the end (replace username with your username): username ALL=(ALL) ALL -hit ESC -SHIFT+: -type wq -hit enter |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Location: Salt Lake City
Beans: 43
Ubuntu 7.04 Feisty Fawn
|
Awesome, thank you!
And also, thank you for the vi commands too... (phew). |
|
|
|
|
|
#7 |
|
Fresh Brewed Ubuntu
![]() Join Date: Mar 2006
Beans: 1,275
Hardy Heron (Ubuntu Development)
|
Re: HOWTO add user to sudoers list
hmm.. I think using visudo for adding user to admin group is a bit difficult.
how about just: sudo adduser existing_username_to_add_to_admin_group admin And atleast in my feisty installation visudo actually opens nano... not vi
__________________
____________ anaconda |
|
|
|
|
|
#8 |
|
HP Mini 1120nr User
![]() Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO add user to sudoers list
As far as I know, this can be done properly through the GUI (graphical user interface) by pointing and clicking in both Kubuntu and Ubuntu.
I don't see any reason (unless you want to just learn how to do it for fun) to manually edit the /etc/sudoers file. In Ubuntu, it's System > Administration > Users and Groups. I don't remember what it is for Kubuntu. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|