• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Owner/User Name in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Owner/User Name in OSX


  • Subject: Re: Owner/User Name in OSX
  • From: John W Baxter <email@hidden>
  • Date: Thu, 25 Apr 2002 18:13:18 -0700

At 11:15 +0800 4/25/2002, bill wrote:
>-- below code in one line
>set longName to words 4 thru -1 of paragraph 1 of (do shell script ("finger
>" & (system attribute "USER")))
>-- above code in one line
> etc


Very nice, Bill.

Watch out in the case of multiple accounts on the machine...I have several,
three of which matched that finger (as it happened, the right one matched
first).

And...good grief, we're running finger. This utility really shouldn't be
run these days...it goes back to the friendly days of the Internet. It
gives away far too much information.

Fortunately, on my machine it is not available from outside (I'll have to
try that again next time I have the machine dial in for some reason, as
opposed to sitting behind a NATting router).

--John
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Owner/User Name in OSX (From: bill <email@hidden>)

  • Prev by Date: Classic mode Desktop Printers on Mac OS X
  • Next by Date: Re: "mylist" vs "a reference to" - speed difference
  • Previous by thread: Re: Owner/User Name in OSX
  • Next by thread: Re: Owner/User Name in OSX
  • Index(es):
    • Date
    • Thread