& Nbsp; mount/dev/cdrom/media/cdromrpm-qa | grepsamba to start servicesmbstart/etc/init. d/smbstart we share a directory: This directory allows a group to read and write the second step (groupaddshare creates a user share
Step 1
Mount
Mount/dev/cdrom/media/cdrom
Rpm-qa | grep samba
Start service smb start ===/ etc/init. d/smb start
We share a directory that allows a group to read and write data.
Step 2
(Groupadd share create user user1
And add usermod-g share user1 to the group)
Useradd user1
Passwd user1 (123)
Groupadd share
Usermod-g share user1
Step 3
We append permissions
Chown: share/home/share
Chmod-c g wxr/home/share (permission mode changed to 0775rwxrwxr-x)
Step 4
We compile the samba configuration file.
Vi/etc/samba/smb. conf
[Share]
Comment = sambas share
Writable = yes = @ share = write list
Path =/home/share
You still need to write this user to smbpasswd.
Cd/etc/samba
Ls
Smbpasswd-a user1
Let's verify it from the client.
Run \ 192.168.0.200