Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 15:17:07 +0200
From:      "locus" <own3d@gmx.net>
To:        <questions@freebsd.org>
Subject:   RE: usermod equivalent?
Message-ID:  <MKELJLDELMDJNLKMHMAIOEEGCAAA.own3d@gmx.net>
In-Reply-To: <3B5C18AB.9BE2CF9C@qbcon.com>

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

>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).

[use 'vipw' to change your group. Just keep in mind that 'vipw' uses
 'vi' by default, so you might want to set your EDITOR variable
 to another editor if your not familiar with 'vi'.
 You might want te check 'chpass' too.]

>There doesn't seem to be a usermod (or useradd, userdel for that
>matter), and /stand/sysinstall only allows you to add new users.

[try rmuser (or vipw) to remove a user. adduser to add one. 
 passwd to change someones password.]

>Do I need to install an additional package, or should I just vi my
>/etc/group?

[No package is required.]

>And how do I delete a user without "userdel -r"?

[read above]

>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?)

[Are you sure that /etc/passwd holds the encripted passwords and not
 /etc/master.passwd ?]

>Thanks,
>Andreas.

[read http://freebsd.org/handbook]

Bye

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?MKELJLDELMDJNLKMHMAIOEEGCAAA.own3d>