LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2003, 05:40 PM   #1
qages
LQ Newbie
 
Registered: Dec 2002
Distribution: Hedwig/REdhat/MANDRAKE
Posts: 12

Rep: Reputation: 0
adduser help


hi im logged in as r00t. and i want to add a new user with r00t privliges, how can i do this?
 
Old 01-27-2003, 06:01 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
I would recommend not adding a user with root privileges, you might want to consider setting up sudo.

And its not r00t but root, with two o's no Zero's.

Also to add, your question seems a bit suspicious, would it be so hard to just su as well when needing root privileges. Why would you need a user to have root rights ?

Last edited by trickykid; 01-27-2003 at 06:04 PM.
 
Old 01-27-2003, 06:44 PM   #3
qages
LQ Newbie
 
Registered: Dec 2002
Distribution: Hedwig/REdhat/MANDRAKE
Posts: 12

Original Poster
Rep: Reputation: 0
so i can install stuff.... its so hard not being able to install stuff from the gui... i want to setup a user with the gui and have r00t rights. when i log in as root, all i get is bash# in command line and i cant run gui programs.

Last edited by qages; 01-27-2003 at 06:45 PM.
 
Old 01-27-2003, 06:52 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
Well what are you trying to install ? Its not a very good idea to run as root all the time, it only takes one mistake to wipe out your whole system.
But you should be able to startx as root if that's what your looking for to install apps, then set the permissions right so other regular users can install them.
 
Old 01-27-2003, 06:56 PM   #5
qages
LQ Newbie
 
Registered: Dec 2002
Distribution: Hedwig/REdhat/MANDRAKE
Posts: 12

Original Poster
Rep: Reputation: 0
i dont know what you mean by that? i at least need wrx access to all folders, becuase maby thats my problem. it wont let me create any thing out my /home dir.
 
Old 01-27-2003, 06:58 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
Well by default a regular user won't have the ability to create dir's outside of their home directory. If you want them to have particular read, write access.. just chmod the directory in question.

Other useful commands to set permissions:

chown
chgrp

You can man them to get more details.
 
Old 01-27-2003, 07:02 PM   #7
qages
LQ Newbie
 
Registered: Dec 2002
Distribution: Hedwig/REdhat/MANDRAKE
Posts: 12

Original Poster
Rep: Reputation: 0
i really dont want to give other users that kind of access, but if i could setup a user in / and have wrx to all of it just for that user?
 
Old 01-27-2003, 07:16 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
Clearly you didn't read the man pages for

chgrp
chown

Those are to setup group ownership and ownership. Also creating a group with read/write access to a directory and only adding one particular user would prevent others that aren't associated with that group no read or write access.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adduser jp_ Linux - General 6 10-18-2005 03:11 PM
adduser bally Linux - General 7 08-09-2004 02:28 PM
adduser trophy Red Hat 1 05-01-2004 10:11 AM
adduser teqno Linux - Newbie 5 12-08-2003 01:26 PM
Adduser - xmdms Linux - Newbie 3 10-23-2003 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration