View System user group: Cat/etc/group
Add System User: AddUser [user name]
Modify System User password: passwd [user name]
Modify System User group: USERMOD-G [group name] [user name]
Samba:
Samba user-created file default other user Read only, modify Permissions command: Setfacl-r-M G:[group name]:rwx [catalog]
Common methods of SMBPASSWD commands
Smbpasswd-a increase the user (the user to be added must be a system user)
Smbpasswd-d freezes the user, that is, the user cannot log in
SMBPASSWD-E restores the user, thaws the user, and allows the frozen user to use the
Smbpasswd-n set the user's password to null. To write NULL in global passwords-true
Smbpasswd-x Deleting a user
PDBEDIT-A username Add a user
Pdbedit-l Username View Samba Users
Pdbedit-x Username Delete a user
Samba Users: http://www.cnblogs.com/jary-wang/archive/2013/05/21/3091343.html
Linux add Users, permissions: http://www.cnblogs.com/daizhuacai/archive/2013/01/17/2865132.html
Three ways to share files with Linux: http://www.cnblogs.com/andriod-html5/archive/2012/05/07/2539224.html
Linux Samba file sharing