LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2007, 10:58 AM   #16
Amenemhet
LQ Newbie
 
Registered: Mar 2007
Location: canada
Distribution: fedora core 5, ubuntu 6.1
Posts: 13

Rep: Reputation: 0

Quote:
Originally Posted by MOS JEFF-INITELY
"..you end up with duplicate uid's and this is not good" - Amenemhet

thats the whole point, by adding the user to the root wheel you are basically creating a pointer to the super-user thus giving this user 'root' as was asked
NO, you are missing the point entirely, one should NEVER troll around ones system as root in the first place, that is why for example in Ubunntu one must sudo...

Quote:
"I would like to add another user that has root access to my server.." - attroll

And yes I would definitely suggest learning how to use /etc/passwd .. /etc/group and any other configuration files in your linux filesystem as this is what makes linux/*nix/AIX so powerful, especially since not all systems have the same commands.
Ok, one must learn these things, in time, at the moment he should learn the basics ie: comands like useradd, grpadd, chmod etc. or their equivalents as per distro. As I said earlier, fool around in passwd and shadow etc at your own foolish risk when you know not what you are doing. By using these commands the system does it all for you, thats what they are for. Modifying passwd for example I would only ever do if useradd were to be missing/corrupted etc.
Note > a usefull command if you insist on doing this is pwconv:this checks passwd for errors, as well as grpconv: does the same for the group. If modifying the passwd file, you then have to modify the shadow file, and if you don't know what that is then don't go there in the first place.
Yes, *nix is powerfull, and it is not very forgiving of mistakes either.

Quote:
And The whole point of forums is for people to learn, dont insult them and imply what theyre doing could be crimminal, give me a break .. dont you remember learning how to use a computer bet you werent too bloody bright then.

ease.
As for this , well, read my reply right after that post.

Anyway, after all this, if you do play about with files etc and you are not 110% sure of what you are doing... MAKE A BACKUP FIRST!

Last edited by Amenemhet; 03-06-2007 at 11:03 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
security> adding user or root to a group eeried Linux - Newbie 6 08-08-2008 06:10 AM
adding root permisions to regualr user paul62 Linux - Newbie 6 10-27-2004 02:10 PM
adding commands to /bin (root user) xone Linux - Software 4 03-23-2004 01:26 PM
Adding user account to root group konabumm Linux - Newbie 1 07-31-2003 04:11 PM


All times are GMT -5. The time now is 10:56 PM.

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