Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 08:30:41 -0400 (EDT)
From:      Fuzzy <fuzzy@pooh.ASARian.org>
To:        Masood Ahmad Shah <jahil@mail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: user creation in FreeBSD
Message-ID:  <Pine.BSF.4.44.0209140822090.63466-100000@pooh.ASARian.org>
In-Reply-To: <20020914055508.35111.qmail@mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 14 Sep 2002, Masood Ahmad Shah wrote:

> sir

> I'm running Linux and freebsd both I want to creat user through script
> like i can create in linux

> /usr/sbin/useradd -g 45 mooshu27
> /usr/sbin/useradd -g 45 new

when I converted from linux to freebsd I copied the passwd file from
linux and extracted the userids and their encrypted passwords.

I ran pw(8) to recreate them as freebsd users on the new system.
pw(8) creates the userid then chpass(8) can update its password
with the original encrypted password.

look at man pages for pw and chpass, lots of options.

fuz


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0209140822090.63466-100000>