原帖由 "man smbpasswd" 发表:
-s This option causes smbpasswd to be silent (i.e. not issue
prompts) and to read its old and new passwords from standard
input, rather than from /dev/tty (like the passwd(1) program
does). This option is to aid people writing scripts to drive
smbpasswd
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |