.. sounds like something to solve with Linux ownership of files, being part
of groups, and permissions.  Perhaps start here? -
https://www.linux.com/learn/understanding-linux-file-permissions

On Mon, Jul 11, 2016 at 10:13 AM, bruce <badoug...@gmail.com> wrote:

> Hi.
>
> I have two (2) users cat - dog
>
> user cat has access to all files in /cat, and the ability to run the apps
> (*.php)
>
> i want to allow user dog to be able to run as user cat, and therefore run
> the *.php in /cat
>
> As far as I can tell, this is a sudo/sudoers issue, where I should be able
> to set up a user/group to run the apps with no passwd...
>
> so... I jumped into visudo, made the change to the sudo/sudoer file (not
> sure what the file is actually called!).
>
> the change I made
> cat ALL=(ALL) NOPASSWD: /cat/*.*
>
>
> I then did a #su dog
>  whoami -- dog
>
> and as user dog...
>   sudo -u cat /cat/aa.php
>
> and got a passwd prompt for dog....
>
> so what did I miss/screw up....
>
> Thanks...
>
>
>
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to