[HOW TO] add samba user?

Step 1: You create an operating account.

useradd hensiberg

Step 2: The smbpasswd utility to create a samba password for the user.

sudo smbpasswd -a hensiberg

Step 3: Add a user to a Samba share

[sharing]
comment = forever and one
path = /data/share
valid users = hensiberg tiger
public = no
writable = yes

Step 4: Restart the samba

service smbd restart

or

service smbd reload

Now you can access the samba shares.




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success

0 nhận xét:

Post a Comment