LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-23-2004, 11:34 AM   #1
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Rep: Reputation: 15
Question how to create root-like user/account?


Hi Linux gurus,

I tried to create a super user account using useradd command -> useradd superuser -g 0, but I guess it didn't create a super user account. It just created an ordinary account. I'd like to ask how to create super user/root-like account???

Thanks a lot!
 
Old 11-23-2004, 11:35 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
what for? what are you trying to accomplish?
 
Old 11-23-2004, 12:10 PM   #3
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Actually, I'm just trying to create a root-like account in order so that if the ordinary users would want to be superuser, using the su command, they'll just have to enter that root-like account's password. Coz I don't want these ordinary users to be superusers by knowing and entering the root's password, instead they'll just become superusers using the capabilities of this another root-like account.

Thanks a lot
 
Old 11-23-2004, 12:14 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
ok... normal users shouldn't have root access... what for do they need it? if anything, you can give specific users sudo capibilities...

why would you want to let normal users run around your system with 'root-like' access?
 
Old 11-23-2004, 12:30 PM   #5
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
well, I just need normal user to be able to edit files that are not theirs, and make them able install softwares (like CVS versioning control system). I guess thats all they need to do when they make themselves superusers.

Thanks a lot again.......
 
Old 11-23-2004, 12:30 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Setup sudo, it will give users the capabilities you assign and setup without giving out root's password, which is a bad thing. It should be locked up and kept hidden from all.. even yourself..

But seriously, giving users root's password is not a good thing to do. sudo works and it does it in a secure fashion.
 
Old 11-23-2004, 12:38 PM   #7
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
thanx a lot secesh and trickykid!!!


more power!
 
  


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
how to create a root account avimd Ubuntu 5 10-09-2005 08:10 AM
why cannot create user account with uppercase characters on redhat EL3 ? hector48 Red Hat 3 07-15-2005 04:04 PM
linux create user account deus1 Linux - General 2 06-04-2005 06:32 PM
Create a New Super user account blazted Linux - Newbie 6 02-13-2005 03:56 PM
cannot create new user account kpachopoulos Linux - Newbie 4 08-17-2004 07:38 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration