diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-08-26 16:13:14 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-08-26 16:13:14 +0000 |
commit | 9ed390746fdb18e3e4b735b45baf4fda592cfd6a (patch) | |
tree | ddc8ba81d2d671caa3b22c5f65fac72396d0c7e2 /perl-install | |
parent | f20a2c1276af1cfcb9761c695fc14a26e899a0d1 (diff) | |
download | drakx-backup-do-not-use-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar drakx-backup-do-not-use-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.gz drakx-backup-do-not-use-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.bz2 drakx-backup-do-not-use-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.xz drakx-backup-do-not-use-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.zip |
add a samba user without passwd
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/draksambashare | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare index 69017c4bf..3e4ac556b 100755 --- a/perl-install/standalone/draksambashare +++ b/perl-install/standalone/draksambashare @@ -898,12 +898,12 @@ sub modify_user_info { 0, create_okcancel({ cancel_clicked => sub { $dialog->destroy }, ok_clicked => sub { - system("smbpasswd -a $user"); - set_user_passwd($user, $passwd); - $dialog->destroy; - } - }, - ), + system("smbpasswd -a $user -n"); + set_user_passwd($user, $passwd); + $dialog->destroy; + } + }, + ), ); $dialog->show_all; } |