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

Re: User Permissions


  • Subject: Re: User Permissions
  • From: Graff <email@hidden>
  • Date: Wed, 14 Jul 2004 10:21:32 -0400

80 is the usual group number for the admin group

To see it in a more human-readable format type this in the terminal and hit return:
id

You'll see something like:
uid=501(username) gid=20(staff) groups=20(staff), 0(wheel), 80(admin)

501 is usually the first user account on your system, 20 is usually staff group, 0 is usually wheel group, 80 is usually admin. This is all Mac OS X-specific of course, other systems may have similar defaults or they may be a bit different.

- Ken

On Jul 14, 2004, at 9:20 AM, Ronald Hofmann wrote:

works great, what does "80" stand for?

Am 14.07.2004 um 14:35 schrieb Axel Luttgens:

Ronald Hofmann wrote:

Hi everybody,
is there a way to find out if the current user has administrator permissions?

Perhaps something like this:

"80" is in words of (do shell script "id -G")

could be of some help.
_______________________________________________
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.


  • Follow-Ups:
    • Re: User Permissions
      • From: "John W. Baxter" <email@hidden>
References: 
 >User Permissions (From: Ronald Hofmann <email@hidden>)
 >Re: User Permissions (From: Axel Luttgens <email@hidden>)
 >Re: User Permissions (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: Counting & trashing
  • Next by Date: Re: Counting & trashing
  • Previous by thread: Re: User Permissions
  • Next by thread: Re: User Permissions
  • Index(es):
    • Date
    • Thread