adding users in FreeBSD

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Jeremy C. Reed
Dato:  
Emne: adding users in FreeBSD
On Mon, 22 Dec 2003, Lynn David Newton wrote:

> The chpass(1) ("change" password) includes an option
> whereby root can *create* a password entry. It doesn't
> do all the stuff like copy in a skeleton directory,
> etc., but I can deal with that separately.


Also, you could use vipw with EDITOR (or VISUAL) set to your own script
(or ed commands) to create an entry. (Using vipw is good for locking and
regeneration of passwd from master.passwd.)

Jeremy C. Reed
http://bsd.reedmedia.net/