Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 13:30:09 +1100
From:      "Rob Secombe" <robseco@teksupport.net.au>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   RE: root without password ?
Message-ID:  <NBBBJDABOGIOHMHPBBAGEEKOPEAC.robseco@teksupport.net.au>
In-Reply-To: <20020109114059.A61362@internode.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I use "screen" in the ports/packages. I setup one screen "sued" to root and
several other "user" screens for various day to activities. The beauty of
this is that you leave things running while you change screens or detach, go
home and re-attach and everything is still percolating along. I can't live
without it.

Cheers

Rob.

-----Original Message-----
From: owner-freebsd-isp@FreeBSD.ORG
[mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Mark Newton
Sent: Wednesday, 9 January 2002 12:11 PM
To: Wim Livens
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: root without password ?


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


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?NBBBJDABOGIOHMHPBBAGEEKOPEAC.robseco>