Koozali.org: home of the SME Server

command to change password

John Jones

command to change password
« on: April 03, 2002, 12:07:47 AM »
anyone know the command for the root user to type to change a user's password?
[I know normal practice is to use the web manager panel but I would like to find the e-smith command to change the user's password so that I can automate it in a cron job]

thanks for any help.

stephen noble

Re: command to change password
« Reply #1 on: April 03, 2002, 07:07:55 AM »
look in the function that the web manager uses
/etc/e-smith/web/panels/functions/password or similar

chris meredith

Re: command to change password
« Reply #2 on: April 03, 2002, 07:10:13 PM »
I belive passwd should still work.  As root, just type "passwd ".