M
maylcc
I'm having problem running my copied script to my server. Can anybody
who is
patient enough to help me with my problem?
I have a chpass.pl which is being executed by a change password web
utility page. This script tries to update a password on my linux
server /etc/shadow with a file permision rw------.
my chpass.pl was set to -rwsr-sr-x , with this file permission, I'm
getting an
error: Can't do setuid, When I chmod 777 the /etc/shadow then
everything
works but I'm sure its not safe to do that.
I cannot figure out how could I make this work with the original file
permission
of the files shadow and chpass.pl. Any help would be very much
appreciated.
Thanks
who is
patient enough to help me with my problem?
I have a chpass.pl which is being executed by a change password web
utility page. This script tries to update a password on my linux
server /etc/shadow with a file permision rw------.
my chpass.pl was set to -rwsr-sr-x , with this file permission, I'm
getting an
error: Can't do setuid, When I chmod 777 the /etc/shadow then
everything
works but I'm sure its not safe to do that.
I cannot figure out how could I make this work with the original file
permission
of the files shadow and chpass.pl. Any help would be very much
appreciated.
Thanks