|
Home > Archive > Unix administration > January 2004 > How to login on a SUN machine without any account, any password?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to login on a SUN machine without any account, any password?
|
|
| Alice FAN 2004-01-23, 4:53 pm |
| I was asked to install three sun servers yesterday. All of the servers
work very well, and they can boot directly to graphique interface, but
i could not login on anyone of them, who can tell me how to login as
root on these servers?
| |
| Joe Durusau 2004-01-23, 4:53 pm |
| Alice FAN wrote:quote:
>
> I was asked to install three sun servers yesterday. All of the servers
> work very well, and they can boot directly to graphique interface, but
> i could not login on anyone of them, who can tell me how to login as
> root on these servers?
You use the root password. If you ran the installation procedure,
at some point you were asked for it. nb: on a system that was
set up with normal defaults, you can only use the system console
itself to log in as root. You cannot log in from a remote location.
If you set up a normal user, you should be able to log in as that user
and su to root. If you have forgotrton the root password, you
will have to boot from the installation media in single-user mode
and fix the problem. For Sun hardware, the command is usually:
boot cdrom -sw
NOTE:: If you are not familiar with this, try and get someone who
knows more about the systems to help you. You will do a lot
of damage as root if you are unfamiliar with the software and
the hardware.
Speaking only for myself,
Joe Durusau
| |
|
| fan8756@yahoo.com (Alice FAN) wrote in message news:<a315fa46.0311110355.7d5e4840@posting.google.com>...quote:
> I was asked to install three sun servers yesterday. All of the servers
> work very well, and they can boot directly to graphique interface, but
> i could not login on anyone of them, who can tell me how to login as
> root on these servers?
Before I begin, what I will explain now is documented elsewhere
(including SUN documentation) so do not tell me I am letting a
"secret" out for hackers.
Since these are your servers, boot from a bootable CD (like
installation CD), mount the / partition, edit /etc/shadow to remove
the password for the root user. Then reboot normaly and root will
have no password.
Nic.
|
|
|
|
|