Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: jan.rok on July 11, 2017, 02:36:01 pm
-
Helo, I have Zentyal 4.5 connected remotely only over SSH. Howto change user password from command line?
Thanks. J. Rok
-
which user, zentyal local or domain user?
-
use
smbpassd
for AD user, and passwd
for local(system) user
-
For domain user.
I trying:
smbpasswd myname
Processing section "[global]"
ldb_wrap open of idmap.ldb
New SMB password:
Retype new SMB password:
Failed to find entry for user myname
.
-
All password expired after 365 days :(
-
you can turn off this limits
samba-tool domain passwordsettings set --max-pwd-age=0
or
make it longer
samba-tool domain passwordsettings set --max-pwd-age=1000
to check password settings:
samba-tool domain passwordsettings show