Hi,
I'm new to this site and fairly new to Macs and UNIX commands, etc. Over the past year I have been responsible for imaging and configuring several public access Macs and a Mac Server to control them all.
Just some background info: the Macs are running a combination of Mavericks and Leopard (no funds to pay the £285 cost to upgrade 19 Macs to Snow Leopard and subsequent free updates all the way up to Yosemite).
The Mac Server is Open Directory and connected to Active Directory. All Macs log on using AD credentials, and use a different account for each Mac.
We use RealVNC Enterprise for remote support, and I need to change its configuration. To do this, you create policy files (done) which are in a folder. I now need to copy this to 80+ Macs. I don't want to "push it out" from the Mac server, as this would mean doing it when all of the Macs are switched on and having to monitor which Macs have the files required.
Ideally, I need to be able to set up a login script which will cause each Mac to pull the files down from our Mac Server when they log in. The only way I've been able to perform a file copy using Terminal is using the "scp" command. However, it prompts for a password.
I don't want to put any passwords in a script for obvious reasons. Here's what I've tried so far:
1. Created a test "Sharing Only" account without a password, and specified that account in the "scp" command. I was still prompted for a password, but just pressing Enter didn't work.
2. Tried using the "cp" command, but this doesn't seem to work in the same way as "scp".
3. Looked through the Mac Server software (Workgroup Manager - Preferences, etc) to see if there is a way of deploying files, but I can't find anything.
4. It has been suggested that I try FTP, but I'm not sure how I could do this.
Ideally, I'd like to avoid doing anything with "Automate" if I can help it! I don't think the management would be too pleased with the idea of a script - compiled or otherwise - which contains the password.
Any advice would be appreciated!
Thanks,
Gary
I'm new to this site and fairly new to Macs and UNIX commands, etc. Over the past year I have been responsible for imaging and configuring several public access Macs and a Mac Server to control them all.
Just some background info: the Macs are running a combination of Mavericks and Leopard (no funds to pay the £285 cost to upgrade 19 Macs to Snow Leopard and subsequent free updates all the way up to Yosemite).
The Mac Server is Open Directory and connected to Active Directory. All Macs log on using AD credentials, and use a different account for each Mac.
We use RealVNC Enterprise for remote support, and I need to change its configuration. To do this, you create policy files (done) which are in a folder. I now need to copy this to 80+ Macs. I don't want to "push it out" from the Mac server, as this would mean doing it when all of the Macs are switched on and having to monitor which Macs have the files required.
Ideally, I need to be able to set up a login script which will cause each Mac to pull the files down from our Mac Server when they log in. The only way I've been able to perform a file copy using Terminal is using the "scp" command. However, it prompts for a password.
I don't want to put any passwords in a script for obvious reasons. Here's what I've tried so far:
1. Created a test "Sharing Only" account without a password, and specified that account in the "scp" command. I was still prompted for a password, but just pressing Enter didn't work.
2. Tried using the "cp" command, but this doesn't seem to work in the same way as "scp".
3. Looked through the Mac Server software (Workgroup Manager - Preferences, etc) to see if there is a way of deploying files, but I can't find anything.
4. It has been suggested that I try FTP, but I'm not sure how I could do this.
Ideally, I'd like to avoid doing anything with "Automate" if I can help it! I don't think the management would be too pleased with the idea of a script - compiled or otherwise - which contains the password.
Any advice would be appreciated!
Thanks,
Gary