From owner-freebsd-isp Tue Jan 8 17:11:24 2002 Delivered-To: freebsd-isp@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id 1EAAF37B404 for ; Tue, 8 Jan 2002 17:11:18 -0800 (PST) Received: (from newton@localhost) by gizmo.internode.com.au (8.11.0/8.9.3) id g091AxN61408; Wed, 9 Jan 2002 11:40:59 +1030 (CST) (envelope-from newton) Date: Wed, 9 Jan 2002 11:40:59 +1030 From: Mark Newton To: Wim Livens Cc: freebsd-isp@FreeBSD.ORG Subject: Re: root without password ? Message-ID: <20020109114059.A61362@internode.com.au> References: <20020109004913.GB54233@krijt.livens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <20020109004913.GB54233@krijt.livens.net> X-PGP-Key: http://www.on.net/~newton/pgpkey.txt Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jan 09, 2002 at 01:49:13AM +0100, Wim Livens wrote: > In order not having them to type the root password all the time when > doing su, I thought of using a passwordless root account. Don't do it, it's a stupid idea. If you *really* want the ability to get root access on demand without having to type a password 50,000 times per day, do this: tcsh% su Password: tcsh# suspend Suspended tcsh% jobs [1] + Suspended su tcsh% fg su tcsh# So - su to root and type the password once. When you're finished with privilieges, type "suspend" to go back to normal privileges. When you need root privs again, type "fg". Just make sure you're careful with screen locks on any terminals used by sysadmins. - mark -- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message