Page 1 of 1

Getting permissions in ubuntu 6.10

Posted: Wed Jan 24, 2007 10:01 am
by fr0zenmon
how do i do it?

Re: Getting permissions in ubuntu 6.10

Posted: Wed Jan 24, 2007 1:23 pm
by Jedacite
fr0zenmon wrote:how do i do it?
If you mean how do you do stuff as root in Ubuntu then you need to use the sudo command anytime you want to do admin stuff (it will ask for your password.)

For example, "apt-get install blah" requires root privilege so running "sudo apt-get install blah" will work.

Posted: Wed Jan 24, 2007 5:21 pm
by tom lightbody
"sudo passwd root" lets you setup a proper root account w/ appropriate permissions
(at the first "password" prompt, give your user prompt: at the second, roots password
thereafter, you can either login as root, or use "su" to become root

Posted: Wed Jan 24, 2007 5:42 pm
by Jedacite
tom lightbody wrote:"sudo passwd root" lets you setup a proper root account w/ appropriate permissions
(at the first "password" prompt, give your user prompt: at the second, roots password
thereafter, you can either login as root, or use "su" to become root
Alternatively if you like to keep Ubuntu's way of doing things you can just do sudo su. Thats what I do when I need to do a lot of things as root.

The whole sudo things has grown on me quite a lot since I've started to use it.

Posted: Fri Jan 26, 2007 3:10 am
by lophiomys