[UniMacTech] need command to add new mounts via command line in
ARD
Sherry Proferes
sherry.proferes at adelaide.edu.au
Wed Jul 2 19:01:24 EST 2008
Thsnks Andrew. I know I can use the Directory Utility for each Mac.
But I want to be able to send a unix command from Apple remote desktop
to the all Macs in the lab to change their mounts without having to
log into each workstation. I used to be able to do this with the
niload command with Netinfo database in Tiger.
Anyone have any ideas?
Thanks
Sherry
On 02/07/2008, at 5:04 PM, Andrew Wellington wrote:
> Sherry,
>
> This information is written to the local Directory Services store on
> Mac OS X 10.5.
>
> You can create the appropriate configuration by opening /
> Applications/Utilities/Directory Utility.app and entering the mount
> in the "Mounts" tab (you might have to click "Show Advanced
> Settings" to see the mounts section).
>
> This will create a plist in /var/db/dslocal/nodes/Default/mounts
> with your configuration. Note however that you shouldn't edit the
> files in here directly, you can use tools like dscl to edit this as
> appropriate.
>
> Regards,
> Andrew
>
> On 02/07/2008, at 5:20 PM, Sherry Proferes wrote:
>> We have to change some mounts in one of our labs and we are now
>> using 10.5. They are NFS mounts from a server, not mac, which I
>> have no access to. Can anyone tell me how to translate the command
>> we used for 10.4 to 10.5?
>>
>> Last year when we had 10.4 we used the niload command to add new
>> mounts via ARD as netinfo database was the way to go. This
>> obviously no longer works as Netinfo is no longer there.
>> I cannot figure out how to do this with DS Utilities and need help.
>> The old command was:
>> Echo “servername.adelaide.du.au:/Whateverfiles/staff/users/home /
>> staff/home nfs resvport,rw,0 0” |niload fstab /
>
> =======================================
> Andrew Wellington
> Mac OS X Systems Administrator
> Systems & Desktop Services
> Division of Information
> R.G Menzies Building (Bldg #2)
> The Australian National University
> Canberra ACT 0200 Australia
>
> T: +61 2 6125 7805
> W: http://information.anu.edu.au/
>
> CRICOS Provider #00120C
>
>
More information about the unimactech
mailing list