From owner-freebsd-questions Wed Feb 10 18:43:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04503 for freebsd-questions-outgoing; Wed, 10 Feb 1999 18:43:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04490 for ; Wed, 10 Feb 1999 18:43:18 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA12180; Thu, 11 Feb 1999 13:13:15 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id NAA81135; Thu, 11 Feb 1999 13:13:10 +1030 (CST) Date: Thu, 11 Feb 1999 13:13:09 +1030 From: Greg Lehey To: Robert Flux Cc: FreeBSD Questions Subject: Re: SU access & password changes Message-ID: <19990211131309.X71962@freebie.lemis.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i 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 +1000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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