sincos2007
New member
- Joined
- Dec 1, 2016
- Messages
- 7
Hi,
I install samba by:
sudo yum install samba.x86_64
I edit /etc/samba/smb.conf by adding follows:
[data]
comment = data
path = /home/myname/data
valid users = test1
write list = test1
create mask = 0754
sync always = Yes
; hide dot files = yes
; writeable = no
; browseable = yes
Then take effect my config:
service smb restart
I create shared folder:
cd ~
mkdir data
I create user:
useradd test1
smbpasswd -a test1
<then password>
Then I open my file manager and input:
smb://127.0.0.1
A login form popup, I enter username: test1 and the password, the login form returns again, I found I can not enter the shared folder by that account.
Thanks
I install samba by:
sudo yum install samba.x86_64
I edit /etc/samba/smb.conf by adding follows:
[data]
comment = data
path = /home/myname/data
valid users = test1
write list = test1
create mask = 0754
sync always = Yes
; hide dot files = yes
; writeable = no
; browseable = yes
Then take effect my config:
service smb restart
I create shared folder:
cd ~
mkdir data
I create user:
useradd test1
smbpasswd -a test1
<then password>
Then I open my file manager and input:
smb://127.0.0.1
A login form popup, I enter username: test1 and the password, the login form returns again, I found I can not enter the shared folder by that account.
Thanks