Re: Root User
Re: Root User
- Subject: Re: Root User
- From: Ron Hunsinger <email@hidden>
- Date: Thu, 27 Mar 2014 11:27:18 -0700
On Mar 27, 2014, at 7:39 AM, Luther Fuller <email@hidden> wrote:
> Thanks for the responses.
> After reviewing the possibilities, I have decided that my script should only run for:
> 1. A Mac user, that is, a user whose home folder is in the startupDisk:Users: folder.
> and
> 2. The user must have Admin (not Standard) privileges.
These requirements have a very bad smell to them. What are you trying to accomplish?
It is neither unreasonable nor particularly uncommon for a "Mac user" to move their home folder elsewhere. For just one example, after installing a smallish SSD to use as your boot volume, you might need to move some or all user home folders to a larger rotating disk where you have more room. For another example, many users have their home folders on a network volume.
If you need to do something that requires admin privileges, just do it. If the user doesn't have admin privileges, the operation will fail.
-Ron Hunsinger
_______________________________________________
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>) |