Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: hchao on October 25, 2003, 08:30:42 AM

Title: Can I change user password by command line?
Post by: hchao on October 25, 2003, 08:30:42 AM
Can I change user password by command line?
thx
Title: Re: Can I change user password by command line?
Post by: rick on October 25, 2003, 09:06:21 AM
try typing

man passwd

at the command line
Title: Re: Can I change user password by command line?
Post by: Greg Zartman 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
Title: Re: Can I change user password by command line?
Post by: Tom Haynes 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.