Changes
Jump to navigation
Jump to search
$ usermod -G smbusers alexjiang
Database Server Documentation (view source)
Revision as of 15:23, 8 March 2016
, 15:23, 8 March 2016→Adding accounts for McNair Center Researchers
Then add the user (it doesn't matter what you put for -p, it is going to be overwritten):
/usr/sbin/useradd -g username -G root smbusers -s /bin/bash -p xxxx -d /home/username -m username
where g is the primary group, G is other groups, p sets a password,
d declares a home directory and m makes the directory
$ smbpasswd -a alexjiang
Then restart the samba services: