* Re: Lost Root Password... (Ahhhhhhh!!!!) [not found] <473fnm$96b@nuclear.verity.com> @ 1995-10-31 5:00 ` Dan Pop 1995-11-01 5:00 ` PAUL D. CHAPIN [not found] ` <476gkp$f6b@nuclear.verity.com> 1995-10-31 5:00 ` Andrew Sheaff 1 sibling, 2 replies; 5+ messages in thread From: Dan Pop @ 1995-10-31 5:00 UTC (permalink / raw) In <473fnm$96b@nuclear.verity.com> klister@verity.com (Kevin Lister) writes: >I have just started at Verity as UNIX sysadmin, and guess what. >No-one has the root passwd on our DEC alpha XP, running OSF1 >version 2.1. > >The question is, how do I break in and change the root passwd? The same way any Unix sysadmin does it: boot in single-user mode and type "passwd". Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lost Root Password... (Ahhhhhhh!!!!) 1995-10-31 5:00 ` Lost Root Password... (Ahhhhhhh!!!!) Dan Pop @ 1995-11-01 5:00 ` PAUL D. CHAPIN 1995-11-02 5:00 ` Uwe Leinberger GSI Darmstadt [not found] ` <476gkp$f6b@nuclear.verity.com> 1 sibling, 1 reply; 5+ messages in thread From: PAUL D. CHAPIN @ 1995-11-01 5:00 UTC (permalink / raw) Dan Pop (Dan.Pop@mail.cern.ch) wrote: : In <473fnm$96b@nuclear.verity.com> klister@verity.com (Kevin Lister) writes: : >I have just started at Verity as UNIX sysadmin, and guess what. : >No-one has the root passwd on our DEC alpha XP, running OSF1 : >version 2.1. : > : >The question is, how do I break in and change the root passwd? : The same way any Unix sysadmin does it: boot in single-user mode and : type "passwd". Depending on how you're set up, you may have to manually mount the disks for this to work. If, for some reason, passwd doesn't want to run in single-user mode there is the real quick and dirty solution. Just remove the root password from the passwd file in single user, switch to multiuser, log on as root and then run passwd. This is a security abomination, but the odds of anybody just happening to try logging on as root in the first thirty seconds after coming up to multi-user is pretty low. -- Paul Chapin Unix Systems Manager Amherst College ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lost Root Password... (Ahhhhhhh!!!!) 1995-11-01 5:00 ` PAUL D. CHAPIN @ 1995-11-02 5:00 ` Uwe Leinberger GSI Darmstadt 0 siblings, 0 replies; 5+ messages in thread From: Uwe Leinberger GSI Darmstadt @ 1995-11-02 5:00 UTC (permalink / raw) In article <4784ug$qjt@amhux3.amherst.edu>, pdchapin@unix.amherst.edu (PAUL D. CHAPIN) writes: >Dan Pop (Dan.Pop@mail.cern.ch) wrote: >If, for some reason, passwd doesn't want to run in single-user mode >there is the real quick and dirty solution. Just remove the root password >from the passwd file in single user, switch to multiuser, log on as >root and then run passwd. This is a security abomination, but the >odds of anybody just happening to try logging on as root in the first >thirty seconds after coming up to multi-user is pretty low. > >-- > >Paul Chapin >Unix Systems Manager >Amherst College > > And to close this hole, just take the box from the net..... UWe ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <476gkp$f6b@nuclear.verity.com>]
* Re: Lost Root Password... (Ahhhhhhh!!!!) [not found] ` <476gkp$f6b@nuclear.verity.com> @ 1995-11-02 5:00 ` Dan Pop 0 siblings, 0 replies; 5+ messages in thread From: Dan Pop @ 1995-11-02 5:00 UTC (permalink / raw) In <476gkp$f6b@nuclear.verity.com> klister@verity.com (Kevin Lister) writes: >Gee Dan, thats brilliant, boot in single user mode. :) The question is, are you aware >that every flavor of UNIX has its own syntax on exactly how to do it? Yes, I am. And I expect every sysadmin to be able to boot the machines he's responsible for in single user mode. If you didn't know how to do this, you should have asked "How do I boot in single user mode?" instead of "How do I change the root password?". Don't be surprised if you get the answer to the question you asked and not to the question you should have asked. We're reading your text, not your mind. Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lost Root Password... (Ahhhhhhh!!!!) [not found] <473fnm$96b@nuclear.verity.com> 1995-10-31 5:00 ` Lost Root Password... (Ahhhhhhh!!!!) Dan Pop @ 1995-10-31 5:00 ` Andrew Sheaff 1 sibling, 0 replies; 5+ messages in thread From: Andrew Sheaff @ 1995-10-31 5:00 UTC (permalink / raw) To: klister Kevin, You can try this: at the console prompt >> type boot -fl 0,1 to get to single user mode. If you get a prompt then your root and can do anything (ie change the passwd file.) If you can get to the passwd file copy it and run crack on it. Remove all other passwds so crack only has to deal that just that one. Oh and you might want to get that crack lib too. check the file /.rhosts and see if you can come in as root from another machine. (rlogin no.root.passwd.com as root from the remote host). Check /etc/exports and see if you can mount the root filesystem on another host and edit that passwd file as root on the remote host. Check to see if sudo has been installed (/usr/local/bin/sudo - typcally). If it has become a user that can use sudo and create a root shell from there. Or start a program using sudo that can have subshells. Get you installation disks out. If you want a hand give me a yell. Andy -- Andy Sheaff - sheaff@eece.maine.edu http://www.eece.maine.edu/Faculty/Sheaff.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1995-11-02 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <473fnm$96b@nuclear.verity.com>
1995-10-31 5:00 ` Lost Root Password... (Ahhhhhhh!!!!) Dan Pop
1995-11-01 5:00 ` PAUL D. CHAPIN
1995-11-02 5:00 ` Uwe Leinberger GSI Darmstadt
[not found] ` <476gkp$f6b@nuclear.verity.com>
1995-11-02 5:00 ` Dan Pop
1995-10-31 5:00 ` Andrew Sheaff
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox