Eureka Moment Wiki

One eureka moment at the time

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

Discussion

Enter your comment:
C Y T N J
 
linux/misc/cli_usr_mgmt.txt · Last modified: 2019/10/31 09:05 (external edit)