Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 11:40:59 +1030
From:      Mark Newton <newton@internode.com.au>
To:        Wim Livens <wim@livens.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: root without password ?
Message-ID:  <20020109114059.A61362@internode.com.au>
In-Reply-To: <20020109004913.GB54233@krijt.livens.net>
References:  <20020109004913.GB54233@krijt.livens.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109114059.A61362>