From: pwerf@gak.nl (Peter van der Werf)
Subject: Re: Creating another account with root privileges.
Date: 1995/08/30 [thread overview]
Message-ID: <pwerf.53.001002C7@gak.nl> (raw)
In-Reply-To: 41ss9e$f48@usenet.ucs.indiana.edu
In article <41ss9e$f48@usenet.ucs.indiana.edu> ahabig@bigbang.astro.indiana.edu (Alec Habig) writes:
>From: ahabig@bigbang.astro.indiana.edu (Alec Habig)
>Subject: Re: Creating another account with root privileges.
>Date: 28 Aug 1995 16:53:02 GMT
>Don Wilkerson <don@colosys.net> wrote:
>>How do I create another account, for emergency only, that would have
>>super-user priviliges. That last time I tried adding a user called 'newsu'
>>and gave it a uid of '0' all my owner names changed from 'root' to 'newsu'.
>>I don't want it to do that.
>First, doing what you want would be a Bad Idea from a security standpoint
Why ?? it is as secure as the root account itself .......
>the only way it would help you would be if you forgot the root password.
>Anything else that would zap the root account would also zap either all other
>accounts, or the system itself. Thus, it's probobly not worth doing.
>If you really want to do it :
>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).
>Perhaps a better solution - hide a copy of sh somewhere, set it only executable
>by your "newsu" (uid not 0) account, chown it to root, and chmod u+s it. That
>will make whomever runs that copy of sh root.
Oh my god what are you suggesting !!! Never do this
This is not only a big security hole but cannot be monitored also.
Don't do this ! (some Operating systems are secured against this kind of
stupid solutions; I don't know about OSF).
>This of course, has its own dangers :)
Yep; Those hackers are laughing themselves totally dead.......
I don't know the reason you wan't to create another root account but
if it is to get other people root permissions without knowing the root password
the solution you suggested is the only way (or if you are afraid to forget
your password). So just add another account.
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;
grtx
Peter
next prev 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 [this message]
1995-08-30 4:00 ` igor
1995-08-30 4:00 ` Alec Habig
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