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


Click here to return to the 'Not necessarily 501' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not necessarily 501
Authored by: vogunaescht on Dec 17, '02 10:12:29AM

Just be careful with the user id 501. It's the default user id of the first user on a freshly installed mac. If you have more than one user, they have different user ids.
You can check your user id with /Applications/Utilities/Netinfo Manager. In Netinfo Manager, choose your domain ("/" is your local domain), go to "users", select your username and look at the entry "uid". That's the value you're looking for.
Or just type "ls -ln" in the shell in your home directory to see your uid (third column).



[ Reply to This | # ]
Not necessarily 501
Authored by: Elektron on Dec 19, '02 06:04:03AM

Or, of course, "id".

/tmp/`id -n`/blah...



[ Reply to This | # ]