>> Hi Folks,
>> Here is the problem.
>> I have user A and user B (non-root users)
>> I need for user A to initiate a job as user B. How can this be done?
>> As you know, I can do this as root. I can start a process from root as
>> another user in the system (cron jobs come to my mind!) Is there a way
>> to do this for non-root users? I believe I need to be able to do
>> something like as user A
>> "su - B" without being prompted for password.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> No point in having passwords then.
With sudo, you can specify specific commands which can be executed
by a specific user (or users) without requiring a password. You
only give password-free access to those users (or groups) you want
for only those commands you want them to be able to use.
Sudo is available from <http://www.courtesan.com/sudo/>.
--
Chris F.A. Johnson http://cfaj.freeshell.org
===================================================================
My code (if any) in this post is copyright 2002, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License