Koozali.org: home of the SME Server

Can I change user password by command line?

hchao

Can I change user password by command line?
« on: October 25, 2003, 08:30:42 AM »
Can I change user password by command line?
thx

rick

Re: Can I change user password by command line?
« Reply #1 on: October 25, 2003, 09:06:21 AM »
try typing

man passwd

at the command line

Greg Zartman

Re: Can I change user password by command line?
« Reply #2 on: October 25, 2003, 11:38:00 AM »
rick wrote:
>
> try typing
> man passwd
> at the command line

This is only half of the puzzle.  Change only this password, that is the unix password, and you'll break samba access and possibly other services.  As a minimum, you'll also need to change samba password using smbpassword. There are some underlying SME mechanisms for changing user passwords, but I'm not 100% sure how to use them from the command line.  I'd recommend accessing either the server-manager or the user password panel.

Greg Zartman

Tom Haynes

Re: Can I change user password by command line?
« Reply #3 on: October 28, 2003, 03:20:31 AM »
Look for Lazy Administrators Toolkit. This allows batch addition of users, application of quotas, etc. It has been a real time saver for me.