PDA

View Full Version : [ubuntu] [SOLVED] User and root


cr4nk
December 12th, 2008, 08:00 PM
Hi, I got couple questions.

I installed ubuntu 8.10 recently and during installation I created a user name, lets call it 'user1' and a password 'pass1'. Why didn't it ask me for the root pass? is user1 the root?

When i am logged in under user1 and i open up the terminal and say 'sudo ...' it asks me for the super user's pass aka the root, but during the installation I entered only user1's pass, and this pass works for the sudo.

Can someone explain this or point me to an information page about how the users work under ubuntu.

One last thing. For the sake of security should I login in normally as this user1.

Thanx guys in advance

kerry_s
December 12th, 2008, 08:23 PM
in ubuntu root is locked. you use sudo and your password. you have root privileges but you have to use sudo,gksudo or gksu. to become root it would be "sudo su". but shouldn't be needed.
gksudo and gksu is graphical, for example say you press alt+f2 to bring up the run command, to launch a root program> gksu nautilus /
will give you a root nautilus(filemanager)

sisco311
December 12th, 2008, 08:29 PM
link:https://help.ubuntu.com/community/RootSudo

Authorized users (users in the admin group) are allowed to run programs as root.

The first user is added by default to the admin group.

cr4nk
December 12th, 2008, 09:25 PM
thanx guys thats what i was looking for