Diff for /wikisrc/tutorials/user_management.mdwn between versions 1.7 and 1.8

version 1.7, 2019/04/05 09:49:50 version 1.8, 2019/04/05 09:52:05
Line 8  Before you start to do user and group ma Line 8  Before you start to do user and group ma
   
 1. For security reasons, create substitute user and name it as you like, here it is referred as _noroot_:   1. For security reasons, create substitute user and name it as you like, here it is referred as _noroot_: 
   
         # useradd -m -G wheel _noroot_  [[!template id=programlisting text="""
   # useradd -m -G wheel _noroot_
   """]]
   
 2. Set password for _noroot_ user:   2. Set password for _noroot_ user: 
   
         # passwd _noroot_  [[!template id=programlisting text="""
   # passwd _noroot_
   """]]
   
 3. Exit and log in as _noroot_ user.   3. Exit and log in as _noroot_ user. 
   
 4. Use the `su` command to obtain the root privileges for _noroot_:   4. Use the `su` command to obtain the root privileges for _noroot_: 
           
         $ su  [[!template id=programlisting text="""
   $ su
   """]]
           
   
 5. Forget to use the `root` for maintenance or regular administration of the system. You free to find any secure and convenient spot for the root password be available upon your need.   5. Forget to use the `root` for maintenance or regular administration of the system. You free to find any secure and convenient spot for the root password be available upon your need. 
Line 26  Before you start to do user and group ma Line 32  Before you start to do user and group ma
       
 If your favorite user with login password is already assigned in the system and no need to create new one. Omit first steps from above. Do modify user information by adding _your no root user_ into the wheel group and `su` anytime per your desire:   If your favorite user with login password is already assigned in the system and no need to create new one. Omit first steps from above. Do modify user information by adding _your no root user_ into the wheel group and `su` anytime per your desire: 
           
     # usermod -G wheel _noroot_  [[!template id=programlisting text="""
   # usermod -G wheel _noroot_
   """]]
           
   
 #[**User**](http://netbsd.gw.com/cgi-bin/man-cgi?user++NetBSD-current)  #[**User**](http://netbsd.gw.com/cgi-bin/man-cgi?user++NetBSD-current)

Removed from v.1.7  
changed lines
  Added in v.1.8


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb