Chinaunix首页 | 论坛 | 博客
  • 博客访问: 173035
  • 博文数量: 59
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 580
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-21 06:15
文章分类

全部博文(59)

文章存档

2011年(1)

2010年(1)

2009年(57)

我的朋友

分类: LINUX

2009-01-22 12:52:35

samba用户的密码添加的用户必须是系统中存在的.当然这样有点不安全,但我们可以使用用户的映射来加强服务器的安全性..用户映射具体参考http://blog.chinaunix.net/u3/91713/showart_1806902.html
命令:smbpasswd
[root@yyszx /]# smbpasswd --help
smbpasswd: invalid option -- -
When run by root:
    smbpasswd [options] [username]
otherwise:
    smbpasswd [options]

options:
  -L                   local mode (must be first option)
  -h                   print this usage message
  -s                   use stdin for password prompt
  -c smb.conf file     Use the given path to the smb.conf file
  -D LEVEL             debug level
  -r MACHINE           remote machine
  -U USER              remote username
extra options when run by root or in local mode:
  -a                   add user
  -d                   disable user
  -e                   enable user
  -i                   interdomain trust account
  -m                   machine trust account
  -n                   set no password
  -w PASSWORD          ldap admin password
  -x                   delete user
  -R ORDER             name resolve order

阅读(792) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~