Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Guest on March 19, 2004, 07:53:46 PM
-
In my environment a user have to do small admin steps.
The user was created inside the Webpanel and was not manually added to other groups.
For this case i have written a script that contains following:
---- /opt/stuff/script1 ----
#!/bin/sh
/sbin/e-smith/expand-template $1 >> $2 2>>$2
# here some other stuff
-----------------------------
The rights of this file are: -rwsr-xr-x 1 root root
If this user runs following
/opt/stuff/script1 /etc/dhcpd.conf /var/tmp/temp1
The temp.file contains:
./processtemplate: /sbin/e-smith/expand-template: /usr/bin/perl: bad interpreter: Permission denied
How can I fix this?
sincerly
Guenter