Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 09:59:28 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        Andreas Pauley <andreasp@qbcon.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: usermod equivalent?
Message-ID:  <3B5C2DC0.7410B8E6@iowna.com>
References:  <3B5C18AB.9BE2CF9C@qbcon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In addition to what others have said, check out the man page for pw.
pw will do what you want, and is also very convenient to use if you
want to write your own "usermod" script.

-Bill

Andreas Pauley wrote:
> 
> Hi,
> 
> I just installed FreeBSD 4.3
> Now I need to add myself to the "wheel" group in order to be able to su
> to root.
>  (I'm assuming it's "wheel" because that's what it is in NetBSD and
> OpenBSD).
> 
> There doesn't seem to be a usermod (or useradd, userdel for that
> matter), and /stand/sysinstall only allows you to add new users.
> 
> Do I need to install an additional package, or should I just vi my
> /etc/group?
> 
> And how do I delete a user without "userdel -r"?
> 
> Another thing: I see the encrypted password is stored in /etc/passwd.
> How do I enable shadow passwords?
>  (Does this have anything to do with my security level?)
> 
> Thanks,
> Andreas.

-- 
It may be that true happiness is nothing more than the ability to *always*
know the right thing to say at the right time,  whereas true misery is the
state of perpetually saying to oneself, "What I *should* have said was..."

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?3B5C2DC0.7410B8E6>