Python, Java, Life, etc

A blog of technology and life.

BlogJava 首页 新随笔 联系 聚合 管理
  30 Posts :: 0 Stories :: 9 Comments :: 0 Trackbacks

首先创建一个本地Unix账号:


  useradd -r myaccount

  这条命令创建了一个名为myaccount的普通Unix用户。

  然后根据它创建一个Samba用户:


  smbadduser myaccount:mysmbact

  或者是:


  smbpasswd -a myaccount

The password in Samba is not related to the unix account password.

注意:一旦你更新了samba配置文件,你必须要通过使用/etc/init.d/samba restart (debian)来重起你的samba

Then in windows, use the username and samba's password to map network drive.
posted on 2005-02-14 02:41 pyguru 阅读(415) 评论(0)  编辑  收藏 所属分类: Build Website

只有注册用户登录后才能发表评论。


网站导航: