Just did the 10.4.9 update on some machines — noticed a few surprising changes on the command line (well, at least to me).
First up is that apparently nslookup is no longer deprecated. I can’t remember an OS X release where using nslookup didn’t say the following:
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig’ or `host’ programs instead. Run nslookup with
the `-sil[ent]’ option to prevent this message from appearing.
I always just ignored it, thinking that it would be silly for Apple to remove something like nslookup. I’m sure that they don’t spend that much time keeping it around. And think of all the scripts that would be broken if Apple removed it. Bravo, Apple — nice that you are acknowledging reality 🙂
The second surprise is that they changed the first time sudo warning. Under pre 10.4.9, it was the same as it is on pretty much every other OS:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type “man sudo” for more information.
To proceed, enter your password, or type Ctrl-C to abort.
While I can understand the importance of warning the user, I think the old message was better suited to sudo. It makes you think about the fact that you are not just affecting your own account, but possibly affecting all of the users on the entire machine. Of course, with the non-server version of OS X, it’s quite possible that it’s only you on the machine. But, OS X is increasingly being used in multi-user setups all the time.
On another note, the Intel version of dmesg still requires root privileges, while the PowerPC version does not. I can certainly understand requiring root if it adds to security, but why the inconsistency between the two versions? Either make both require root or both not require root.
Anyone else notice any surprising changes with the latest 10.4.9 update?
About this entry
You’re currently reading “10.4.9 Changes,” an entry on 0x626C6F67
- March 14, 2007 / 5:11 pm
- MacOS X