From owner-freebsd-questions Tue Jul 16 7:24:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0373C37B40A for ; Tue, 16 Jul 2002 07:24:18 -0700 (PDT) Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02F9643E3B for ; Tue, 16 Jul 2002 07:24:17 -0700 (PDT) (envelope-from mrg8n@virginia.edu) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.11.6/8.11.6) id g6GEODq85086; Tue, 16 Jul 2002 10:24:13 -0400 (EDT) (envelope-from mrg8n@virginia.edu) X-Authentication-Warning: humpty.finadmin.virginia.edu: mrg8n set sender to mrg8n@virginia.edu using -f Date: Tue, 16 Jul 2002 10:24:13 -0400 From: Mike Galvez To: Gavin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: su to root Message-ID: <20020716142413.GA84937@mail.virginia.edu> References: <02071618100900.01817@Gavin2.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02071618100900.01817@Gavin2.localdomain> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD UNIX Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 16, 2002 at 06:10:09PM +0900, Gavin wrote: > I've just installed FreeBSD 4.5, and using some of my linux knowledge, I've > tried to "su" to root from my user account, I've checked the online book and > I cant seem to find anything about su-ing... I'm also using "Unix hints and > HACKS" as my first reference book.. Page 92 (Security) says I should type the > complete path eg. /bin/su > /bin/su root > > when I type $ /bin/su I get not found > $ /bin/su root not found Try /usr/bin/su You will also have to be in group: wheel to su. HTH > > at the moment I have to log out and re-log in as root to do anything.. this > cant be.. can someone help a newbie out with this problem?? > > Another question, what group do I need to be in to su to root (if I need to > be in a special group that is..) > > Thanks for all the help in advance....GOD BLESS YOU ALL > > Gavin > > -- > Gavin's English School > Fukushimaken, Fukushima City > Nankodai 2-34-1 > T-960-8143 > fax 0245-22-3264 > phone 0245-21-6220 > e-mail gauin_36@d3.dion.ne.jp (school mail address) > Registered Linux user #199685 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Galvez Information Technology Specialist III E-Mail: mrg8n@nospam.virginia.edu University of Virginia Office: 434-982-2975 When you make your mark in the world, watch out for guys with erasers. -- The Wall Street Journal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message