![]() |
|
|
|
|
|||||||
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Root admin info | deedaz | UNIX for Dummies Questions & Answers | 2 | 01-20-2008 03:38 AM |
| root/admin commands in LINUX | naina | UNIX for Dummies Questions & Answers | 6 | 12-26-2005 01:24 AM |
| Assigning Authorization to a user | kayode | Linux | 5 | 04-27-2005 08:43 AM |
| shh authorization problem | progressdll | UNIX for Advanced & Expert Users | 1 | 04-09-2004 04:32 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
||||
|
root/admin authorization and PackageMaker
I am building an installable package (.pkg) with PackageMaker 1.1.11 (that's the one that comes with Panther).
The package is for installing things both to /Applications and to some folders in /Library (/Library/StartupItems and a new folder that I'm putting in /Library). I do (obviously) not choose Overwrite (directory) permissions. I am putting the whole stuff together as recommended, mirroring the actual directory structure in the folder I am building my package from, choosing a Default Location of /, making it non-relocatable. I am permissioning my "source" folder in the exact way that I want the files to be later -- mostly root:admin with rwxrwxr-x and rw-rw-r--. (Admins should be allowed to muck around with it, but no one else.) Now I have two choices: I can either select Admin Authorization or Root Authorization as the Authorization Action. (No Authorization Required obviously wouldn't do what I want.) I am unsure which one of the two to choose, and what the effective difference is between them (if any). Now, no jumping to conclusions here, please folks. I do know the difference between an admin and the root account. HOWEVER:The Developer documentation states (under "Authorization, File Ownership, and Permissions"): Quote:
It further says: Quote:
Quote:
Now, maybe I am getting this wrong, but it seems to me that this means that there is virtually no effective difference between asking for root or admin authorization in this scenario (the only difference being that according to Table 12-1 in the said documentation, requiring Root Authorization will promt an admin user to enter their password, whereas requiring just Admin Authorization would not prompt an admin user. Am I right? Is that the only difference? Is it otherwise inconsequential whether I ask for Root or Admin authorization in this scenario? Help on this is MUCH appreciated. rop |
| Forum Sponsor | ||
|
|
|
|||
|
If you have no test machine and/or test boot volume to attempt installation and running the installed software on, then you might want to see about enlisting the support of someone that does (not volunteering
In reality, safety first. If you do not need to provide root privileges to run your app, the Admin authorization is probably what you should use. Escalation to root should only be used when required. I would think that the difference would be akin to the ramifications of "su -" vs. "sudo". Sorry I don't have definitive (or maybe even correct) answer to your question. I believe that this installation privileges issue is applicable to any of the Unix threads here, so you may want to try the programming and advanced forums if you don't get a better response than mine. |
|
|||
|
Quote:
(though, that begs the musical question, if root being enabled or not could cause an installation to go belly up, how does Apple manage updates? i'd guess from the melodious query that root is not a requirement for nearly every install...) |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| "inappropriate ioctl for device" 421 service not available, remote server has closed connection ascii eof autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive grep unique inaddr_any inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix com unix forum unix forums unix interview questions unix mtime unix simulator unix.com vi tab size vi+substitute+end+of+line+character while loop within while loop shell script |