Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ahabig@bigbang.astro.indiana.edu (Alec Habig)
Subject: Re: Creating another account with root privileges.
Date: 1995/08/30	[thread overview]
Message-ID: <421sg0$3ug@usenet.ucs.indiana.edu> (raw)
In-Reply-To: pwerf.53.001002C7@gak.nl

Peter van der Werf <pwerf@gak.nl> wrote:
>ahabig@bigbang.astro.indiana.edu (Alec Habig) writes:
>
>>First, doing what you want would be a Bad Idea from a security standpoint
>
>Why ?? it is as secure as the root account itself .......

Sure.  It's just another path a hacker could take, though.

>>Try adding the new account in the password file _after_ the root account
>>definition - ls shows the first match to the uid/gid that it hits.
>
>Hacking around in the password file is a bad idea !!!!
>In newer UNIX versions (so also in osf) there are security databases
>and the only reason there is a password file is for security reasons.
>Adding records to the password file will not work anf the only thing that
>happens is that you corrupt things.
>Just use the normal tools (adduser or if you are running enhanced
>security: XSysadmin).

What's wrong with vipw???  That way you can edit the password file to your
heart's content, and upon exiting all dependant files are
hashed/compiled/updated automagically.  Far more flexible than the (reasonably
lame, IMHO) scripting tools you mentioned.

>Otherwise (if you forgot your password or fuc&*?ed up your root account you 
>will just have to trust the installation CD; Boot from the CD and restore the 
>original account; this is the most secure way;

Agreed - this is the best solution.

-- 
	    Alec Habig, Indiana University High Energy Astrophysics
		       ahabig@bigbang.astro.indiana.edu
	      http://astrowww.astro.indiana.edu/personnel/ahabig/
	    Ted Kennedy's car has killed more people than my guns.



  parent reply	other threads:[~1995-08-30  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-25  4:00 Creating another account with root privileges Don Wilkerson
1995-08-28  4:00 ` Alec Habig
1995-08-30  4:00   ` Peter van der Werf
1995-08-30  4:00     ` igor
1995-08-30  4:00     ` Alec Habig [this message]
1995-08-29  4:00 ` Emanuel Borsboom
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox