On Wed, 27 Jan 2010 17:05:17 +0100
Jordi Espasa Clofent <jordi.esp...@opengea.org> wrote:

> HI all,
> 
> ?Is there any way t change the root password using a shell-script
> (aka non-interactive mod as passwd uses)?
> 
> I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it,
> bit I've not found a way/command to do it with my OpenBSD boxes.
> 
> At present my approach will be install except from ports and use it
> to get my goal.
> 
Have you looked at man usermod? -p flag in particular. 

-- 
With best regards,
        Gregory Edigarov

Reply via email to