Re: Root passwd
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Re: Root passwd




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Root passwd  
cmfafaf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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] > 7 platform and
quote:
> again.
quote:
[QUOTE] [QUOTE] >
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




[ Post a follow-up to this message ]



    Re: Root passwd  
Hubert Feyrer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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!




[ Post a follow-up to this message ]



    Re: Root passwd  
Hubert Feyrer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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!




[ Post a follow-up to this message ]



    Re: Root passwd  
Trent Curry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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




[ Post a follow-up to this message ]



    Re: Root passwd  
Trent Curry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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




[ Post a follow-up to this message ]



    Re: Root passwd  
cmfafaf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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] > 7 platform and
quote:
> again.
quote:
[QUOTE] [QUOTE] >
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




[ Post a follow-up to this message ]



    Re: Root passwd  
Hubert Feyrer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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!




[ Post a follow-up to this message ]



    Re: Root passwd  
Trent Curry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09: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




[ Post a follow-up to this message ]



    Re: Root passwd  
cmfafaf


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10: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] > 7 platform and
quote:
> again.
quote:
[QUOTE] [QUOTE] >
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




[ Post a follow-up to this message ]



    Re: Root passwd  
Hubert Feyrer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10: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!




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:17 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register