sambaをユーザーごとに設定する FC5.6.9
1. 設定ファイルをいじる
設定ファイル:/etc/samba/smb.conf
[homes]のところをいじります
# vi /etc/samba/smb.conf
(編集後ここから)
[homes]
comment = %U's Directories
path = %H/
browseable = no
writable = yes
(編集後ここまで)
2. samba用のユーザーの作成
ユーザーを作る(ここではuser02にしました)
# useradd user02
パスワードを設定する
# passwd user02
sambaのユーザーとして登録
# pdbedit -a -u user02
3. sambaを再起動する
# /etc/init.d/smb restart
<< ためしてみよう >>
windowsクライアントから、マイコンピュータを開いて、アドレスバーに
\\(sambaを載せたマシンのIPアドレス)\
って入れてみよう
ユーザー名とパスワードを聞いてくるので、それぞれ入力します
できました?
タグ
このページへのコメント
CSa24T I loved your blog article. Fantastic.
rC8N1J wow, awesome blog post.Much thanks again.