Does mksmbpasswd.sh have any real purpose?
fumiya at cij.co.jp
Thu Jun 10 09:37:38 GMT 1999
"Frank R. Brown" <list.Frank at MailAndNews.com> wrote:
>I see that mksmbpasswd.sh (plus a little editing) would
>be a good way to set up users with "NO PASSWORD"
>But suppose I don't want the risk of the "NO PASSWORD"
>approach. Now somebody with root access must run
>smbpasswd for each user they want to activate. But can't
>I just do this anyway (with the -a 'add user' option), without
>ever having run mksmbpasswd.sh?
>Please clue me in if I'm missing something here.
# smbpasswd -a newuser
# smbpasswd newuser defaultpassword
The smbpasswd command can take a new password from command line option.
This feature is undocumented option :-).
NOTE: Anyone can see command line options in any proceses by
using the ps command. (BSD-style `ps` only?)
-- >8 -- signature -- >8 --
FROM : SATOH Fumiyasu <fumiya at cij.co.jp>
WEB : http://www.bento.ad.jp/~fumiya/
SAMBA : http://samba.bento.ad.jp/
More information about the samba