There are two unix accounts
B.I want to execute a unix command from account
B such that the command behaves as if it was executed from account
A .How can I do this ?
The problem here is that how can I give privileges to the command so that it runs as an owner of account
A but run from account
B.Can this be done using
sudo ? This is similar to something like
passwd command which when run from any account is able to alter a file
/etc/passwd which has root as owner.