//
创建操作系统用户
//
修改用户的组
uid=1000(alice) gid=1000(alice)
groups
=1000(alice),1003(RD)
//
创建SAMBA用户
//
修改目录权限
//
查看服务状态
drwxrwx--- 2 RD RD 4096 Aug 11 17:08
/smb/tech/
smb.service - Samba SMB Daemon
Loaded: loaded(
/usr/lib/systemd/system/smb
.service; enabled)
Active: active (running) since Tue2014-08-12 11:38:29 CST; 14s ago
Main PID: 16807 (smbd)
Status:
"smbd: ready to serveconnections..."
CGroup:
/system
.slice
/smb
.service
16807
/usr/sbin/smbd
16808
/usr/sbin/smbd
systemd[1]:Starting Samba SMB Daemon...
smbd[16807]:[2014
/08/12
11:38:29.255341, 0]..
/lib/util/become_daemon
.c:136(daemon_ready)
systemd[1]:Started Samba SMB Daemon.
smbd[16808]:STATUS=daemon
‘smbd‘
finished starting up and ready to serve connectionsfailedto retrieve print...CCESSFUL
Hint:Some lines were ellipsized, use -l to show
in
full.