Re: forgot root password on head- and keyboardless machine *blush*
On Wed, Aug 22, 2001 at 08:57:25AM +0200, Sebastiaan wrote: | But it is surely preferable that you have a keyboard attached. When | situations like this happens, you need to safely reboot the computer, NOT | just hit reset. Actually I think it depends on the mobo/BIOS. Newer machines (ok, this probably doesn't apply here) route the reset button through the mobo and will alert the OS that reset has been pressed. This allows the OS to shutdown cleanly. -D
Re: forgot root password on head- and keyboardless machine *blush*
High, On Tue, 21 Aug 2001, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). But it is surely preferable that you have a keyboard attached. When situations like this happens, you need to safely reboot the computer, NOT just hit reset. Greetz, Sebastiaan
Re: Killing your keyb.controller... was: Re: forgot root password on head- and keyboardless machine *blush*
[EMAIL PROTECTED] wrote: On Tue, Aug 21, 2001 at 10:24:34PM +0200, Emil Pedersen wrote: Just to add some more noice to the list ;-) [statement] Hot-plugging keyboards works _MOST_ of the time. It is true for at least PS/2-keyboard, since the only machine I've managed to destroy this way is an Digital Celebris 590. My other machines with PS/2 have survived, so for ps2 types the statement is true. When it comes to DIN-keyboards, I have NOT been able to kill any machine this way. Finaly, since I have one more Celebris 590 I _could_ verify that these machines DO die when keyboard is hot-swapped, but I think it might be a waste of computers if I succeed... ;-) Erk. I must be lucky, since mine hasn't died the few times I've hotswapped ps2 stuff on it. Hrmm. Need to get it netbooting one of these days, or find a disk for it, and have spare CPU cycles. What do you run for disk on yours? These appear unable to correctly resolve anything over 8GB for booting. Hehe, I don't actually run anything on the machine yet. The disk in it is an 600-650MB, so it's recognized. I intenden to shit in two smaller disks and use it as a firewall, but I think now it's going to be tough informing the bios that the new disks should be accepted. Perhaps I'll use it as webserver or some other silly task. Hmm, just got an idea; gott'a go look for a VNC server for OS2... // Emil
Re: forgot root password on head- and keyboardless machine *blush*
* Sebastiaan [EMAIL PROTECTED] spake thus: High, On Tue, 21 Aug 2001, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). But it is surely preferable that you have a keyboard attached. When situations like this happens, you need to safely reboot the computer, NOT just hit reset. Of course :) but I had to take it with me on a plane, and didn't want to lug around on a lot of stuff I didn't need. I set it up before I left so that it booted up and accepted connections via ssh, and planned to do shutdowns via the network. I wasn't actuallly *planning* to forget the password you know :P Regards, Stig -- www.brautaset.org
Re: Killing your keyb.controller... was: Re: forgot root password on head- and keyboardless machine *blush*
On Tue, Aug 21, 2001 at 10:24:34PM +0200, Emil Pedersen wrote: Just to add some more noice to the list ;-) [statement] Hot-plugging keyboards works _MOST_ of the time. It is true for at least PS/2-keyboard, since the only machine I've managed to destroy this way is an Digital Celebris 590. My other machines with PS/2 have survived, so for ps2 types the statement is true. When it comes to DIN-keyboards, I have NOT been able to kill any machine this way. Finaly, since I have one more Celebris 590 I _could_ verify that these machines DO die when keyboard is hot-swapped, but I think it might be a waste of computers if I succeed... ;-) Erk. I must be lucky, since mine hasn't died the few times I've hotswapped ps2 stuff on it. Hrmm. Need to get it netbooting one of these days, or find a disk for it, and have spare CPU cycles. What do you run for disk on yours? These appear unable to correctly resolve anything over 8GB for booting. -- Ferret I will be switching my email addresses from @ferret.dyndns.org to @mail.aom.geek on or after September 1, 2001, but not until after Debian's servers include support. 'geek' is an OpenNIC TLD. See http://www.opennic.unrated.net for details about adding OpenNIC support to your computer, or ask your provider to add support to their name servers. pgpKcqI3cdeKU.pgp Description: PGP signature
forgot root password on head- and keyboardless machine *blush*
I have a head- and keyboardless machine running debian potato that I used to log into with ssh. Now I have forgotten the password. *blush* What I want to do, is either; a) make a bootdisk with a script that automaticly starts running that disables the root password, then halts the machine. I can then log in via ssh and change/enable the password again. b) make a bootdisk that boot the machine and starts a telnet or ssh server so I can log in and mount the disk and disable the password. I think a) is preferrable to b). I can probably write the script myselfi (pointers appreciated though), but I need some info on how to assemble a bootdisk that will run this script automatically. Any input is appreciated. The machine holds no important data, so if it were not for the problem of the missing keyboard (and cdrom) I would not hesitate to reinstall it. PS: the nic in the machine requires a custum kernel, but if it is possible to boot from floppy, log in via the net via telnet or something, and do a fresh install over the network, controlled from my regular machine, then I only need to be able to make such a bootdisk. That might be simpler, as I have seen howto's on customising the kernel for the rescue disk. Regards, Stig (who is very ashamed) -- www.brautaset.org
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... Are you running the old BIND? You could use it to get root ;-). Actually, ALT-CTRL-DEL should work to reboot nicely from the console. -D
Re: forgot root password on head- and keyboardless machine *blush*
* dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Regards, Stig -- www.brautaset.org
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, Aug 21, 2001 at 08:36:08PM +0200, Ralf G. R. Bergs wrote: On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) No...I do this all the time whenever I need to boot my firewall or my server, both of which run without keyboards most of the time. -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/The Choice /V\ of a GNU /( )\ Generation ^^-^^ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: forgot root password on head- and keyboardless machine *blush*
Heh... got screwed by the AT/PS2 keyboard problem huh? Happens here at work all the time. Got a few trusty old AT-style machines and a few newer ATX cases with PS2 keyboards and mice. I'd either bite the bullet and buy a keyboard (they're not that expensive...and yours is probably looking kinda beat up now isn't it?) or I'd buy an adaptor for the AT to PS2 style. You should be able to find an adaptor at Radio Shack, Circuit City, etc. Or, raid a PC boneyard at a computer store or large business around you. They should be overflowing with junky keyboards. You probably won't care if the spacebar needs to be hit a few times, just as long as it's somewhat functional. --Rich Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Regards, Stig -- www.brautaset.org _ Rich Puhek ETN Systems Inc. _
Re: forgot root password on head- and keyboardless machine *blush*
Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Regards, Stig If you have the correct cables and another computer, you could use something like Tom's Root Boot disk (www.toms.net/rb/) to start a serial console and change the password that way. You won't even need to be concerned with the NIC driver. I don't know if Tom's RBD supports serial login by default but it should be very easy to add. LNX-BBC (www.lnx-bbc.org) supports serial login but you'd need to be able to burn a CD and it might be overkill for this purpose (though it's always handy to have around). I can send you a tom's disk image with serial login support if this is an option for you. p.s. - This is just one example why it's a good idea to enable serial console support for any headless machine. :-)
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, 21 Aug 2001 11:45:14 -0700, Jason Majors wrote: [...] Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) No...I do this all the time whenever I need to boot my firewall or my server, both of which run without keyboards most of the time. Then you have probably just been lucky all the time. :-) Seriously, I've seen LOTS of fuses blow by just hot-plugging the keyboard. I don't know whether modern boards are more robust with this respect, but I doubt it. -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/The Choice /V\ of a GNU /( )\ Generation ^^-^^
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Even if you HAD a keyboard that fits you would SURELY kill your machine by hot-plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) This is a valid concern with PS/2 keyboards, but I think it may not be as much of an issue with the 'old-style' AT connections. Hall
Re: forgot root password on head- and keyboardless machine *blush*
Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) Sorry but thats BS. I've been doing that with all type of controllers and all types of keyboards since forever and not a single one blew up till today. It won't even hang/kill the machine, linux can actually handle it very well - windows is another story. thomas
Re: forgot root password on head- and keyboardless machine *blush*
A long time ago, in a galaxy far, far way, someone said... Seriously, I've seen LOTS of fuses blow by just hot-plugging the keyboard. I don't know whether modern boards are more robust with this respect, but I doubt it. I find that it's heavily dependent on the quality of the motherboard in question. My home server (file, mail, web, ldap, what ever the hell I want it to do today :) doesn't care - it's got a Asus P2B. tux.creighton.edu (with some no-name SMP motherboard from Taiwan - I swear it's the last time I buy one of *those*), OTOH, raises holy hell when I try to try to hotplug a PS/2 keyboard. All hail USB! Phil
Re: forgot root password on head- and keyboardless machine *blush*
On Tuesday 21 August 2001 20:36, Ralf G. R. Bergs wrote: On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) This is dis-information ! No such thing would happen ! I have done this a squillion times... Cliff
Re: forgot root password on head- and keyboardless machine *blush*
On Tuesday 21 August 2001 20:19, Stig Brautaset wrote: * dman [EMAIL PROTECTED] spake thus: On Tue, Aug 21, 2001 at 06:02:07PM +0100, Stig Brautaset wrote: | I have a head- and keyboardless machine running debian potato that I | used to log into with ssh. Now I have forgotten the password. *blush* The easiest way is to borrow a head and keyboard from somewhere and boot into single user mode. Hmm, now if you had a way to reboot ... I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). You could always buy a ps/2--din adapter..! Cliff Regards, Stig
Re: forgot root password on head- and keyboardless machine *blush*
On Tuesday 21 August 2001 21:05, Hall Stevenson wrote: On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: I know that this is a solution but I don't have a keyboard. I have a screen I could use, but I really don't want to buy a new keyboard just to do this... (my friends all have ps/2 keyboards, whilst my machine uses the old din-style). Even if you HAD a keyboard that fits you would SURELY kill your machine by hot-plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) This is a valid concern with PS/2 keyboards, but I think it may not be as much of an issue with the 'old-style' AT connections. Hall Well, I must have been living on the knife-edge of disaster all those years I spent as a system manager..merrily (un)plugging keyboards like there was no tomorrow.. lol Cliff
Killing your keyb.controller... was: Re: forgot root password on head- and keyboardless machine *blush*
Just to add some more noice to the list ;-) [statement] Hot-plugging keyboards works _MOST_ of the time. It is true for at least PS/2-keyboard, since the only machine I've managed to destroy this way is an Digital Celebris 590. My other machines with PS/2 have survived, so for ps2 types the statement is true. When it comes to DIN-keyboards, I have NOT been able to kill any machine this way. Finaly, since I have one more Celebris 590 I _could_ verify that these machines DO die when keyboard is hot-swapped, but I think it might be a waste of computers if I succeed... ;-) Regards, Emil Btw. Have anyone mantioned those adapters for some dollar or two?
Re: forgot root password on head- and keyboardless machine *blush*
What keyboard fuse? DIN isn't powered. What keyboard controller? DIN-style has the controller on the computer side: the only way you can kill a DIN is to short data and ground, and that'll only kill it until the short's removed. On Tue, 21 Aug 2001, Ralf G. R. Bergs wrote: Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) -- There is an old saying that if a million monkeys typed on a million keyboards for a million years, eventually all the works of Shakespeare would be produced. Now, thanks to Usenet, we know this is not true. Who is John Galt? [EMAIL PROTECTED], that's who!
Re: forgot root password on head- and keyboardless machine *blush*
On Tue, Aug 21, 2001 at 03:05:27PM -0400, Hall Stevenson wrote: | On Tue, 21 Aug 2001 19:19:34 +0100, Stig Brautaset wrote: | I know that this is a solution but I don't have a | keyboard. I have a screen I could use, but I really don't | want to buy a new keyboard just to do this... (my | friends all have ps/2 keyboards, whilst my machine | uses the old din-style). | | Even if you HAD a keyboard that fits you would SURELY | kill your machine by hot-plugging it in (smash the | keyboard-controller's fuse, if it has one, or even blow the | controller itself.) | | This is a valid concern with PS/2 keyboards, but I think it | may not be as much of an issue with the 'old-style' AT | connections. The only problem I've seen so far is Windows not recognizing the keyboard when it is plugged back in. It totally screwed up my system when I was dual booting with loadlin from config.sys but had no default selected. I'm pretty sure Linux can see keyboards and mice if they are plugged in after they get bumped out of the socket. -D
Re: forgot root password on head- and keyboardless machine *blush*
* Ralf G. R. Bergs ([EMAIL PROTECTED]) spake thusly: On Tue, 21 Aug 2001 11:45:14 -0700, Jason Majors wrote: [...] Even if you HAD a keyboard that fits you would SURELY kill your machine by hot- plugging it in (smash the keyboard-controller's fuse, if it has one, or even blow the controller itself.) No...I do this all the time whenever I need to boot my firewall or my server, both of which run without keyboards most of the time. Then you have probably just been lucky all the time. :-) Seriously, I've seen LOTS of fuses blow by just hot-plugging the keyboard. I don't know whether modern boards are more robust with this respect, but I doubt it. *boggle* That must have been an etherkiller reborn as a keyboard... Dima (no, I have _never_ seen a blown keyboard fuse) -- E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home) http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key Well, lusers are technically human. -- Red Drag Diva
Re: Killing your keyb.controller... was: Re: forgot root password on head- and keyboardless machine *blush*
Emil Pedersen wrote: Just to add some more noice to the list ;-) [statement] Hot-plugging keyboards works _MOST_ of the time. It is true for at least PS/2-keyboard, since the only machine I've managed to destroy this way is an Digital Celebris 590. My other machines with PS/2 have survived, so for ps2 types the statement is true. When it comes to DIN-keyboards, I have NOT been able to kill any machine this way. Finaly, since I have one more Celebris 590 I _could_ verify that these machines DO die when keyboard is hot-swapped, but I think it might be a waste of computers if I succeed... ;-) Regards, Emil Btw. Have anyone mantioned those adapters for some dollar or two? I'm sure it's possible to physically damage a machine if: a) you managed to short some wires together (Mac types have been warned not to plug/unplug ADB devices since circa 1984 for this reason). b) in the process of fumbling around, you managed to send a stout jolt of electrostatic discharge into the keyboard port. Physical damage should not be confused with an OS (or BIOS?) that gets confused by the sudden absense/presence of a keyboard (back to Mac, ADB addresses the devices semi-dynamically at startup IIRC, hence a potential ID conflict if you add a device later). BTW: yes, a couple of people (including myself) have mentioned the adapters. --Rich _ Rich Puhek ETN Systems Inc. _