linux:misc:cli_usr_mgmt

Linux CLI User Management

Add new user

useradd username

Add samba user (for existing system user)

smbpasswd -a username

Add new group

Add existing user to existing secondary group

 usermod -a -G groupname username

Add existing user to existing default group

 usermod -a -g groupname username

Add new user into existing group

Enter your comment:
V T H W G
 
  • linux/misc/cli_usr_mgmt.txt
  • Last modified: 2019-10-31 09:05
  • (external edit)