Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Ummm... | 26 comments | Create New Account
Click here to return to the 'Ummm...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Ummm...
Authored by: sharumpe on Nov 11, '02 11:47:57AM
Please don't take this the wrong way, but there should be a great big red "DO NOT EVER DO THIS" message above this hint. It's great that you can do this, but locking yourself out of single-user mode is like filling your machine with spray-foam and fusing it shut. Eliminating single-user mode may make your machine a little more tamper-proof, but if something goes wrong, you're screwed. Single-user mode is your last recourse against problems.

Mr. Sharumpe

[ Reply to This | # ]
No worries...
Authored by: robg on Nov 11, '02 12:46:37PM

See my response above -- this only locks out single user mode when you try to boot with Command-S held down. So how do you fix it? Just reboot as normal, login, remove the 'reboot' from rc.boot, and then boot into single user mode.

If the system is so hosed that it won't even boot, then fsck -y probably wouldn't help the problem anyway. Even then, you could boot off an external drive or another internal drive or in OS 9, edit the file, and reboot into single user mode.

In short, this hint is not something that I intend to do to my machine, but I don't think it's quite as bad as others seem to think it is ... but that's just my opinion!

-rob.



[ Reply to This | # ]
No worries...
Authored by: dr_turgeon on Nov 11, '02 02:52:31PM
..for me. I like these kinds hints, too. I don't believe this hint was *all* about security either. What can be done with rc at boot and various of ramifications can be good discussion. People, let's not freak when you can take out the reboot instruction and made this a "run fsck automatically on single-user" hint... and FUD to those who "Wouldn't recommend this to their worst enemies." Smart folks will simply see this hint as a starting point--not a final set of instructions. ():

[ Reply to This | # ]
Re: No worries...
Authored by: sharumpe on Nov 12, '02 06:54:57PM
See my response above -- this only locks out single user mode when you try to boot with Command-S held down. So how do you fix it? Just reboot as normal, login, remove the 'reboot' from rc.boot, and then boot into single user mode.

Unless something goes wrong that won't allow the normal startup process to complete.

If the system is so hosed that it won't even boot, then fsck -y probably wouldn't help the problem anyway. Even then, you could boot off an external drive or another internal drive or in OS 9, edit the file, and reboot into single user mode.

No, but there are other things you can do in single-user mode, like fixing config files that you have hosed, copying files if your system software is irreparably damaged, etc.

In short, this hint is not something that I intend to do to my machine, but I don't think it's quite as bad as others seem to think it is ... but that's just my opinion!

I don't really think it is anything to overreact about, either. I certainly didn't intend my message to proclaim that the "sky is falling" or anything of the sort. I just know a few people that would take something like this, try to implement it, and hose their rc.boot file in the process. Natural selection, I guess. :)

Perhaps a good idea for a new icon, though? In addition to the "Unix" icon, maybe a "Advanced Unix" icon for hints like these, to give the extra indicator that the hint is potentially damaging to your system setup?

Mr. Sharumpe

[ Reply to This | # ]