Re: Root User
Re: Root User
- Subject: Re: Root User
- From: "koenig.yvan" <email@hidden>
- Date: Thu, 27 Mar 2014 16:41:43 +0100
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