An interesting (if useless) note is that under 10.3, the password hash
in id -P is converted to asterisks.
[tjones at g4mac ~]$ id -P
tjones:********:501:501::0:0:Tim Jones:/Users/tjones:/bin/bash
Also, as Maury stated, the Carbon declare method is also available and
doesn't require a shell (and provides lots of other goodies).
Tim
On Feb 27, 2004, at 12:17 PM, Aaron Ballman wrote:
Huh?!? It is the other way round here (OS X 10.3.2), whoami only
gives me
the short name, while id -P has full service:
---------------------------------------------------------------
[AlBook-KL:~] kl% whoami
kl
[AlBook-KL:~] kl% id -P
kl:Csq9hr8Kkmthg:501:20::0:0:Knut Lorenzen:/Users/kl/:/bin/tcsh
Ack! I spoke too soon. Sorry about that. I forgot that a little
while back I changed my long name to be the same as my short name. :-P
You're absolutely right. id -P is the way to go, not whoami.
~Aaron
--
To me, hockey is like boxing, except there's no bell, no ropes, and
the boxers carry sticks.
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|