User Tools

Site Tools


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

linux/misc/cli_usr_mgmt.txt · Last modified: 2017/08/10 11:00 (external edit)