If you want to stay with UNIX, you can use the "smbcacls" program that is part of the Samba suite. That allows you to set Windows permissions from a UNIX client.
Mark
-----Original Message----- From: ken middleton [mailto:ken.middleton@durham.ac.uk] Sent: Friday, September 10, 2004 7:49 AM To: toasters@mathworks.com Subject: [Fwd: More than one Admin machine for Netapps ???]
Anyone got any ideas about this one?
I have a need to write a script to create qtrees on a Netapps Server. I have a UNIX Bourne shell script which does the job, however I need to set up windows permissions on them, specifically
administrator = Full Access everyone = Read Access
The default permissions are not appropriate when looked at from a Windows environment, so ideally I'd like to rewrite the script (it's not rocket science) to run from a windows environment and for it to carry on and do cacls operations on the qtree created.
We've got Services for UNIX installed and have installed the Unix Tools but when I try to do an rsh to the Netapps, I get "permission denied" and "can't establish connection" messages.
Anyone know how I can get around this? Can I somehow specify a second admin machine which is allowed to rsh? At the moment, the admin machine is a UNIX box.
Ken Middleton
Senior System Programmer Information Technology Service University of Durham