Unix administration - Re: Root passwd

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > Re: Root passwd





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 Re: Root passwd
cmfafaf

2004-01-23, 4:41 pm


Hi Chris,



What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
only (that mean I can't use sun keybroad), what kind of command i should
use for the procedure to login to single user mode?



Your help is appreciate.



--Michael





Originally posted by Chris Watkins
quote:

> Indi Krishnan wrote:


quote:

[QUOTE][color=darkred]
> 7 platform and


quote:

> again.


quote:

[QUOTE][color=darkred]
[QUOTE][color=darkred]
>


quote:

> First I'd check that nobody is still logged in as root, as it would
> make your


quote:

> life a bit easier. If they are, you can just do # passwd root and be
> done with


quote:

> it, I imagine.


quote:

>


quote:

> If not, and you guys really can't remember the pass, it's going to
> involve a system


quote:

> reboot into single user mode. (And possibly a nasty halt, if nobody
> besides root has


quote:

> shutdown permissions)


quote:

>


quote:

> From single user, you'll be able to edit your password file. Just
> remove the second


quote:

> field from root's entry in /etc/passwd or /etc/shadow or wherever your
> real password


quote:

> file is. Very little Solaris experience here... I've seen a couple ;)


quote:

>


quote:

> root:X9EDJKLJFSLKJF:0:0:::: (where the second field is the encrypted
> password.)


quote:

> Delete everything between the first and second colons. root::0:0::::
> <-Like this.


quote:

> There will be things in other fields, but don't worry about that at
> this time. The


quote:

> second field is password.


quote:

>


quote:

> Reboot into single user mode again. Use passwd to change the root
> password, and


quote:

> *remember* it ;) Carry on.


quote:

>


quote:

> If you need more specifics, perhaps someone with more experience on
> Solaris than me


quote:

> will come along. Or try a google search. I admit I don't even know how
> to boot a


quote:

> sparc machine into single user mode, myself. But if you know how to
> get into single


quote:

> user, and you know where your shadow password file is, the above
> will work.


quote:

>



Chris "but I can do it on hpux" Watkins


--
Posted via http://mcse.ms
Hubert Feyrer

2004-01-23, 4:41 pm

cmfafaf <member2245@mcse.ms> wrote:
quote:

> What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
> only (that mean I can't use sun keybroad), what kind of command i should
> use for the procedure to login to single user mode?



I don't know, but on the Cybex KVM here, I can first press Scroll-Lock (or
whatever that's called on US keyboards - it's "Rollen" on my keyboard and
is two keys right of F12), then press F1+A together.


- Hubert

--
___ _ _ _ _ * Harddisk Image Cloning *
/ __| | || | | | www.feyrer.de/g4u/
| (_ |_ _| |_| |
\___| |_| \___/ v1.12 out now, including partition support!
Hubert Feyrer

2004-01-23, 4:41 pm

cmfafaf <member2245@mcse.ms> wrote:
quote:

> What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
> only (that mean I can't use sun keybroad), what kind of command i should
> use for the procedure to login to single user mode?



I don't know, but on the Cybex KVM here, I can first press Scroll-Lock (or
whatever that's called on US keyboards - it's "Rollen" on my keyboard and
is two keys right of F12), then press F1+A together.


- Hubert

--
___ _ _ _ _ * Harddisk Image Cloning *
/ __| | || | | | www.feyrer.de/g4u/
| (_ |_ _| |_| |
\___| |_| \___/ v1.12 out now, including partition support!
Trent Curry

2004-01-23, 4:42 pm

Hubert Feyrer wrote:
quote:

> cmfafaf <member2245@mcse.ms> wrote:
>
> I don't know, but on the Cybex KVM here, I can first press
> Scroll-Lock (or whatever that's called on US keyboards - it's
> "Rollen" on my keyboard and is two keys right of F12), then press
> F1+A together.
>
>
> - Hubert
>
> --
> ___ _ _ _ _ * Harddisk Image Cloning *
> / __| | || | | | www.feyrer.de/g4u/
> \___| |_| \___/ v1.12 out now, including partition support!



That would be Scroll-Lock then:

[F9][F10][F11][F12] [Prt Scr/Sys Rq][Scroll Lock][Pause/Break]
^^^^^^^^^^^

--
Trent Curry


Trent Curry

2004-01-23, 4:42 pm

Hubert Feyrer wrote:
quote:

> cmfafaf <member2245@mcse.ms> wrote:
>
> I don't know, but on the Cybex KVM here, I can first press
> Scroll-Lock (or whatever that's called on US keyboards - it's
> "Rollen" on my keyboard and is two keys right of F12), then press
> F1+A together.
>
>
> - Hubert
>
> --
> ___ _ _ _ _ * Harddisk Image Cloning *
> / __| | || | | | www.feyrer.de/g4u/
> \___| |_| \___/ v1.12 out now, including partition support!



That would be Scroll-Lock then:

[F9][F10][F11][F12] [Prt Scr/Sys Rq][Scroll Lock][Pause/Break]
^^^^^^^^^^^

--
Trent Curry


cmfafaf

2004-01-23, 4:52 pm


Hi Chris,



What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
only (that mean I can't use sun keybroad), what kind of command i should
use for the procedure to login to single user mode?



Your help is appreciate.



--Michael





Originally posted by Chris Watkins
quote:

> Indi Krishnan wrote:


quote:

[QUOTE][color=darkred]
> 7 platform and


quote:

> again.


quote:

[QUOTE][color=darkred]
[QUOTE][color=darkred]
>


quote:

> First I'd check that nobody is still logged in as root, as it would
> make your


quote:

> life a bit easier. If they are, you can just do # passwd root and be
> done with


quote:

> it, I imagine.


quote:

>


quote:

> If not, and you guys really can't remember the pass, it's going to
> involve a system


quote:

> reboot into single user mode. (And possibly a nasty halt, if nobody
> besides root has


quote:

> shutdown permissions)


quote:

>


quote:

> From single user, you'll be able to edit your password file. Just
> remove the second


quote:

> field from root's entry in /etc/passwd or /etc/shadow or wherever your
> real password


quote:

> file is. Very little Solaris experience here... I've seen a couple ;)


quote:

>


quote:

> root:X9EDJKLJFSLKJF:0:0:::: (where the second field is the encrypted
> password.)


quote:

> Delete everything between the first and second colons. root::0:0::::
> <-Like this.


quote:

> There will be things in other fields, but don't worry about that at
> this time. The


quote:

> second field is password.


quote:

>


quote:

> Reboot into single user mode again. Use passwd to change the root
> password, and


quote:

> *remember* it ;) Carry on.


quote:

>


quote:

> If you need more specifics, perhaps someone with more experience on
> Solaris than me


quote:

> will come along. Or try a google search. I admit I don't even know how
> to boot a


quote:

> sparc machine into single user mode, myself. But if you know how to
> get into single


quote:

> user, and you know where your shadow password file is, the above
> will work.


quote:

>



Chris "but I can do it on hpux" Watkins


--
Posted via http://mcse.ms
Hubert Feyrer

2004-01-23, 4:52 pm

cmfafaf <member2245@mcse.ms> wrote:
quote:

> What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
> only (that mean I can't use sun keybroad), what kind of command i should
> use for the procedure to login to single user mode?



I don't know, but on the Cybex KVM here, I can first press Scroll-Lock (or
whatever that's called on US keyboards - it's "Rollen" on my keyboard and
is two keys right of F12), then press F1+A together.


- Hubert

--
___ _ _ _ _ * Harddisk Image Cloning *
/ __| | || | | | www.feyrer.de/g4u/
| (_ |_ _| |_| |
\___| |_| \___/ v1.12 out now, including partition support!
Trent Curry

2004-01-23, 4:52 pm

Hubert Feyrer wrote:
quote:

> cmfafaf <member2245@mcse.ms> wrote:
>
> I don't know, but on the Cybex KVM here, I can first press
> Scroll-Lock (or whatever that's called on US keyboards - it's
> "Rollen" on my keyboard and is two keys right of F12), then press
> F1+A together.
>
>
> - Hubert
>
> --
> ___ _ _ _ _ * Harddisk Image Cloning *
> / __| | || | | | www.feyrer.de/g4u/
> \___| |_| \___/ v1.12 out now, including partition support!



That would be Scroll-Lock then:

[F9][F10][F11][F12] [Prt Scr/Sys Rq][Scroll Lock][Pause/Break]
^^^^^^^^^^^

--
Trent Curry


cmfafaf

2004-01-23, 5:07 pm


Hi Chris,



What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
only (that mean I can't use sun keybroad), what kind of command i should
use for the procedure to login to single user mode?



Your help is appreciate.



--Michael





Originally posted by Chris Watkins
quote:

> Indi Krishnan wrote:


quote:

[QUOTE][color=darkred]
> 7 platform and


quote:

> again.


quote:

[QUOTE][color=darkred]
[QUOTE][color=darkred]
>


quote:

> First I'd check that nobody is still logged in as root, as it would
> make your


quote:

> life a bit easier. If they are, you can just do # passwd root and be
> done with


quote:

> it, I imagine.


quote:

>


quote:

> If not, and you guys really can't remember the pass, it's going to
> involve a system


quote:

> reboot into single user mode. (And possibly a nasty halt, if nobody
> besides root has


quote:

> shutdown permissions)


quote:

>


quote:

> From single user, you'll be able to edit your password file. Just
> remove the second


quote:

> field from root's entry in /etc/passwd or /etc/shadow or wherever your
> real password


quote:

> file is. Very little Solaris experience here... I've seen a couple ;)


quote:

>


quote:

> root:X9EDJKLJFSLKJF:0:0:::: (where the second field is the encrypted
> password.)


quote:

> Delete everything between the first and second colons. root::0:0::::
> <-Like this.


quote:

> There will be things in other fields, but don't worry about that at
> this time. The


quote:

> second field is password.


quote:

>


quote:

> Reboot into single user mode again. Use passwd to change the root
> password, and


quote:

> *remember* it ;) Carry on.


quote:

>


quote:

> If you need more specifics, perhaps someone with more experience on
> Solaris than me


quote:

> will come along. Or try a google search. I admit I don't even know how
> to boot a


quote:

> sparc machine into single user mode, myself. But if you know how to
> get into single


quote:

> user, and you know where your shadow password file is, the above
> will work.


quote:

>



Chris "but I can do it on hpux" Watkins


--
Posted via http://mcse.ms
Hubert Feyrer

2004-01-23, 5:07 pm

cmfafaf <member2245@mcse.ms> wrote:
quote:

> What happen if I've a solaris 5.7 server w/ a ps2 keyboard connector
> only (that mean I can't use sun keybroad), what kind of command i should
> use for the procedure to login to single user mode?



I don't know, but on the Cybex KVM here, I can first press Scroll-Lock (or
whatever that's called on US keyboards - it's "Rollen" on my keyboard and
is two keys right of F12), then press F1+A together.


- Hubert

--
___ _ _ _ _ * Harddisk Image Cloning *
/ __| | || | | | www.feyrer.de/g4u/
| (_ |_ _| |_| |
\___| |_| \___/ v1.12 out now, including partition support!
Trent Curry

2004-01-23, 5:07 pm

Hubert Feyrer wrote:
quote:

> cmfafaf <member2245@mcse.ms> wrote:
>
> I don't know, but on the Cybex KVM here, I can first press
> Scroll-Lock (or whatever that's called on US keyboards - it's
> "Rollen" on my keyboard and is two keys right of F12), then press
> F1+A together.
>
>
> - Hubert
>
> --
> ___ _ _ _ _ * Harddisk Image Cloning *
> / __| | || | | | www.feyrer.de/g4u/
> \___| |_| \___/ v1.12 out now, including partition support!



That would be Scroll-Lock then:

[F9][F10][F11][F12] [Prt Scr/Sys Rq][Scroll Lock][Pause/Break]
^^^^^^^^^^^

--
Trent Curry


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com