Re: scripting inherited commands user rights

2013-02-07 Thread Muhammad Yousuf Khan
Thanks Alex and linux-Fan, this worked for me :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAGWVfMnbgxHar3OzNrE=piqDCfbCTZr3=jhl43regwepnoe...@mail.gmail.com

Re: scripting inherited commands user rights

2013-02-07 Thread Alex Mestiashvili
On 02/07/2013 03:54 PM, Muhammad Yousuf Khan wrote: > Thanks for the hint i have been going through couple of howtos but it > is still not working same error i put this line at the bottom of the > VISUDO still no luck > > %ykhan ALL = NOPASSWD: /usr/bin/myscript > btw %ykhan -means members of g

Re: scripting inherited commands user rights

2013-02-07 Thread Linux-Fan
On 02/07/2013 03:54 PM, Muhammad Yousuf Khan wrote: > Thanks for the hint i have been going through couple of howtos but it > is still not working same error i put this line at the bottom of the > VISUDO still no luck > > %ykhan ALL = NOPASSWD: /usr/bin/myscript > > when i run the script with use

Re: scripting inherited commands user rights

2013-02-07 Thread Alex Mestiashvili
On 02/07/2013 03:54 PM, Muhammad Yousuf Khan wrote: > Thanks for the hint i have been going through couple of howtos but it > is still not working same error i put this line at the bottom of the > VISUDO still no luck > > %ykhan ALL = NOPASSWD: /usr/bin/myscript > > when i run the script with user

Re: scripting inherited commands user rights

2013-02-07 Thread Muhammad Yousuf Khan
Thanks for the hint i have been going through couple of howtos but it is still not working same error i put this line at the bottom of the VISUDO still no luck %ykhan ALL = NOPASSWD: /usr/bin/myscript when i run the script with user ykhan still give me the same error. would you please be kind en

Re: scripting inherited commands user rights

2013-02-07 Thread Alex Mestiashvili
On 02/07/2013 02:10 PM, Muhammad Yousuf Khan wrote: > i have got a /data folder where no one has rights accept user "root". > and for some reasons or reducing my dependency i have created a script > which include > "mkdir" command > > like this > > mkdir /data/example > > the script own by the u

scripting inherited commands user rights

2013-02-07 Thread Muhammad Yousuf Khan
i have got a /data folder where no one has rights accept user "root". and for some reasons or reducing my dependency i have created a script which include "mkdir" command like this mkdir /data/example the script own by the user and have got rights 700 on the script file so that only that specifi