Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 16:32:15 +0100
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        Zula <zula@fireball.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Setting Passwd single line.
Message-ID:  <349941FF.CEC32C03@giovannelli.it>
References:  <Pine.BSF.3.96.971216213511.7951A-100000@fireball.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Zula wrote:
> 
> Is there a way to set a users password with a single line string.
> 
> example:     passwd username password

/usr/sbin/adduser -batch $1 2000 '' '' $2   

Where 2000 is an example group ....

-- 

Regards...

Gianmarco
"Unix expert since yesterday"

http://www2.masternet.it



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?349941FF.CEC32C03>