Adding a user to your Root Wheel

First you need to exit the current user so..
>exit
Then from the Login prompt log into root.
Login > root
Password?

Now that you are root move to the directory /etc/ Here you are going to be editing the group. So..
>cd /etc/
>vi group Group contains which users can do what. For example:

If you did not have your user in the wheel, you wouldn't be able to su to root. So adding users to particular apps or deamons is important. So to add a user, add like such.

wheel:*:0:root,joe


So I added user "Joe" to the wheel so he can su to root now!
And that should make it work! :

Joe  joe@turk.com

 

 

 

 

 

 

             [Home]      [FBSD Articles]      [Scripts Corner]      [Contribute]        [Search]      [FBSD Links]      [Files]

   About Us

FreeBSD Articles
   *Hardware
   *Networking
   *Security
   *Software
   *X Windows

Forums
Defcon1 Forum

Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
   *French Articles
   *Spanish Articles


Want to Help ?
      Click Here

Email Users

 

 

Header-Chuckie-2008

This site cannot be duplicated without permission

© 1998 - 2008 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission
of www.defcon1.org and the content's original author.