From owner-freebsd-questions Sun Dec 30 1:33:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kabel203069.kabel.utwente.nl (kabel203069.kabel.utwente.nl [130.89.203.69]) by hub.freebsd.org (Postfix) with ESMTP id F2A5B37B41D for ; Sun, 30 Dec 2001 01:33:23 -0800 (PST) Received: by kabel203069.kabel.utwente.nl (Postfix, from userid 1000) id 1D65C1F91; Sun, 30 Dec 2001 10:33:18 +0100 (CET) Date: Sun, 30 Dec 2001 10:33:17 +0100 From: Rogier Steehouder To: FreeBSD-questions@freebsd.org Subject: Re: Can I rename root? Message-ID: <20011230103317.A474@localhost> Mail-Followup-To: Rogier Steehouder , FreeBSD-questions@freebsd.org References: <20011229154552.B855@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011229154552.B855@localhost>; from r.j.s@gmx.net on Sat, Dec 29, 2001 at 03:45:52PM +0100 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 29-12-2001 15:45 (+0100), Rogier Steehouder wrote: > A simple question: Can I rename root? > > I already renamed toor: no problem. Do any programs rely on the name > 'root' being available or is it prefectly safe to use vipw and rename it > to 'master' or 'admin'. I only got the advise: Don't. iThanks for the advise, but since noone knew any programs explicitly, I did it anyway. Besides the user and group databases the following files mention root: /etc/aliases I had already redirected root to my regular user: no problem /etc/crontab Replaced 'root' with 'admin' /etc/ftpusers Not critical, but added 'admin' /etc/gettytab User for autologin /etc/inetd Don't use it /etc/login.access Small change /etc/login.conf Has a special entry for root /etc/rc Changed 'chown root:wheel' in 'chown 0:0' (Why isn't it in the first place?) /etc/security Don't use it /etc/syslog Small change /usr/local/etc/postfix/postfix-script Some minor changes /usr/local/etc/webmin/... Starts some daemons as root My daily security script finds no problems. X runs. I'd say it works (for now). With kind regards, Rogier Steehouder -- ___ _ -O_\ // | / Rogier Steehouder //\ / \ r.j.s@gmx.net // \ <---------------------- 25m ----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message