Giving A User Root Privileges Linux

RegisterLogin
Giving A User Root Privileges Linux
Post Description: I Am Playing With Linux, I Am The Administrator For A Linux Server I Am Using As A Virtualbox. Can You Show Me How To Change An Ordinary User Who Is Not Root As Root. In Other Words How Can I Create A User With Root Access?
Tags: Giving, A, User, Root, Privileges, Linux
This Post Was Posted On Feb 13, 2010 By Weberly #3140
i am playing with linux, i am the administrator for a linux server i am using as a virtualbox. can you show me how to change an ordinary user who is not root as root. in other words how can i create a user with root access?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3460 1
one way to do it is login as root, then edit the /etc/passwd file

under the user's profile, be suer to change the UID and Primary GID to 0

0 is always root

so should looks something like this:

YourUser:x:0:0:mycomments:/home/YourUser:/bin/NoShell

NOTE: YourUser is whatever your username is

Feb 13, 2010 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 9:43 pm
Powered by: Webune Forums V3