Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->Linux技术 ->网络应用 ->正文

新手学堂:在Linux系统下建立Samba用户

来源: 作者:Webmaster 时间:2008-04-24 点击: [收藏] [投稿]

1.在Linux先建立系统用户

adduser liuj

Tgroup:/etc/samba# adduser liuj

adduser: Couldn't parse `/etc/adduser.conf', line 13.

Adding user `liuj' ...

Adding new user `liuj' (1010) with group `smbgrp' ...

Creating home directory `/home/users/liuj' ...

Copying files from `/etc/skel' ...

Enter new UNIX password:

Retype new UNIX password:

passwd: password updated successfully

Changing the user information for liuj

Enter the new value, or press ENTER for the default

Full Name []: liuj

Room Number []: 301

Work Phone []:

Home Phone []:

Other []:

Is the information correct? [y/N] y

2.之后调用/etc/samba/smbpasswd -a liuj

New SMB password:

Retype new SMB password:

Added user liuj.

3.再查看smbpasswd文件,可以发现一个新的用户添加到文本中。

在smb.conf进行相关权限控制即可。

(责任编辑:云子)



 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:VMware虚拟机中安装Linux系统的若干问题   下一篇:虚拟机中RH9 2.4内核升级为2.6内核方法

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号