Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 13:13:09 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Robert Flux <robertf@kormilda.nt.edu.au>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: SU access & password changes
Message-ID:  <19990211131309.X71962@freebie.lemis.com>
In-Reply-To: <3.0.1.32.19990211115946.0068bb94@mail.kormilda.nt.edu.au>; from Robert Flux on Thu, Feb 11, 1999 at 11:59:46AM %2B1000
References:  <3.0.1.32.19990211090711.00690278@mail.kormilda.nt.edu.au> <3.0.1.32.19990211090711.00690278@mail.kormilda.nt.edu.au> <19990211100749.Q71962@freebie.lemis.com> <3.0.1.32.19990211115946.0068bb94@mail.kormilda.nt.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 11 February 1999 at 11:59:46 +1000, Robert Flux wrote:
> At 10:07 11/02/99 +1030, you wrote:
>> On Thursday, 11 February 1999 at  9:07:11 +1000, Robert Flux wrote:
>>> Hi,
>>>
>>> I have just become a network manager at a site which runs a freebsd email
>>> server. When I took over the position I was not left with any documentation
>>> on how to manage the system, nor do I have any unix experience.
>>
>> Looks like you need some books.  Try Nemeth and Co's ``UNIX System
>> Administration Handbook'' and my ``The Complete FreeBSD'' for
>> starters.
>>
>>> I have urgent need of answeres to the following 3 questions.
>>> 1) How do I change an existing users password?
>>
>>  man passwd
>>
>>> 2) How do I delete old accounts no longer required?
>>
>>  man vipw
>>  man rmuser
>>
>>> 3) My account name does not have SU access, I am presently using the old
>>> administrators login. How do I promote myself to super user.
>>
>> Add yourself to the wheel group in /etc/group.  For example,
>>
>> Before:
>>
>>  wheel:*:0:root,grog,ctm,yana,mckusick
>>
>> After:
>>
>>  wheel:*:0:root,grog,ctm,yana,mckusick,robert
>
> Greg

Note what I write at the bottom of my messages:

>> When replying to this message, please copy the original recipients.
>> For more information, see http://www.lemis.com/questions.html

I charge real money for private replies.

> I have looked at the "man passwd" and I cannot find (understand) any
> reference that will allow me to change the users password without knowing
> the original password.

Interesting.  There isn't one.  But when you're root, passwd doesn't
prompt for the old password.  I suppose I should fix that...

> Also, I do not know how/where to find the "wheel" file.

There isn't one.  Read what I said again: this file is /etc/group.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

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?19990211131309.X71962>