> I'm a sys adm at a small company and I really
> messed, I put roots shell as /sbin/bash in the
> passwd file on Solaris 7, now I cannot login as
> root since the bash shell doesn't exist in that
> directory.
Another shining example of why learning pseudo UNIX systems like
LINUX and FreeBSD does not make someone a UNIX system administrator.
Quote:> This is the company file server, along
> with all the other important services.
If it is so important, why did they give you root in the first
place. Did you snow them with your LINUX knowledge or something?
Quote:> How do I correct this since I have no way of
> writing to the passwd file to change this, I was
> going to boot to single user mode but to shutdown
> you need to be root!
This question is asked all the time. Just go back through previous
postings and see the answer. Basically you boot off of your SOLARIS
CD-ROM, mount the root file system and "vi" the password file to
correct your mistake.
Quote:> I would appreciate any help
> anybody can give me here, including any ways of
> exploiting the system. This box runs to many
> service to just give up and reinstall from the
> cd. However, I don't even know how to boot to a
> cd or diskette. I am in a tight squeeze here.
Boot to the CD-ROM by typing "boot cdrom" at the "OK" prompt.
Hope this helps,
Don
--
********************** You a bounty hunter?
* Rev. Don McDonald * Man's gotta earn a living.
* Baltimore, MD * Dying ain't much of a living, boy.
********************** "Outlaw Josey Wales"
http://members.home.net/oldno7