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

Click here to return to the '10.4: How to prevent single user mode logins' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: How to prevent single user mode logins
Authored by: thogard on Feb 11, '06 03:53:24AM

There be dragons hiding here.

Long ago in a Unix far far away one could do this:
login: TERM=adm3 joecool
password: snoopyrules

Welcome to system foo2u
% echo $term

I tired this on OS X 10.4.4 and it didn't work by running /bin/login directly but that doesn't mean the code isn't still in there in hiding and waiting. It will take looking at the source to know for sure and I'm not going to do that.

My take on it is that you should check the run level if you care about the run level.

[ Reply to This | # ]