• 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: Root User
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Root User


  • Subject: Re: Root User
  • From: "koenig.yvan" <email@hidden>
  • Date: Thu, 27 Mar 2014 16:41:43 +0100


Le 27/03/2014 à 16:23, koenig.yvan <email@hidden> a écrit :

I'm not sure but it seems that these instructions may help :

do shell script "whoami"
do shell script "id " & result
--> "uid=501(•••••••) gid=20(staff) groups=20(staff),402(com.apple.sharepoint.group.1),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),398(com.apple.access_screensharing),399(com.apple.access_ssh)"
set isAdmin to result contains "80(admin)"

Yvan KOENIG (VALLAURIS, France) jeudi 27 mars 2014 16:22:31

I ran these instructions in the guest account and got :

do shell script "whoami"
do shell script "id " & result
--> "uid=201(Guest) gid=201(_guest) groups=201(_guest),12(everyone),61(localaccounts),402(com.apple.sharepoint.group.1),100(_lpoperator)"
set isAdmin to result contains "80(admin)"
--> false

Yvan KOENIG (VALLAURIS, France) jeudi 27 mars 2014 16:41:30


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Root User (From: Luther Fuller <email@hidden>)
 >Re: Root User (From: Luther Fuller <email@hidden>)
 >Re: Root User (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: Root User
  • Next by Date: Re: Root User
  • Previous by thread: Re: Root User
  • Next by thread: Re: Root User
  • Index(es):
    • Date
    • Thread