Getting permissions in ubuntu 6.10

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
fr0zenmon
Sophomore Member
Posts: 125
Joined: Sun Aug 13, 2006 7:38 pm
Location: ny

Getting permissions in ubuntu 6.10

#1 Post by fr0zenmon » Wed Jan 24, 2007 10:01 am

how do i do it?
TP 600E 2645-55u PII/300mhz/128MB/ 6gb.
TP T20 PIII 700mhz/364mb/12gb
T61

Jedacite
Freshman Member
Posts: 70
Joined: Thu Nov 16, 2006 2:24 am
Location: Vancouver BC, Canada

Re: Getting permissions in ubuntu 6.10

#2 Post by Jedacite » Wed Jan 24, 2007 1:23 pm

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.

tom lightbody
Junior Member
Junior Member
Posts: 334
Joined: Fri Jul 07, 2006 1:07 am
Location: cleveland

#3 Post by tom lightbody » Wed Jan 24, 2007 5:21 pm

"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
the way up and the way down are the same (heraclitus)

Jedacite
Freshman Member
Posts: 70
Joined: Thu Nov 16, 2006 2:24 am
Location: Vancouver BC, Canada

#4 Post by Jedacite » Wed Jan 24, 2007 5:42 pm

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.

lophiomys
Contributing Member
Contributing Member
Posts: 563
Joined: Thu May 06, 2004 3:50 am
Location: Austria, EU

#5 Post by lophiomys » Fri Jan 26, 2007 3:10 am


Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest