Re: To run a program under another user.

2009-12-01 Thread Bob McGowan
Sthu Deus wrote: > Thank You for Your time and answer, Nicholas: > >> /etc/sudoers >> user ALL = NOPASSWD:ALL > > But I want security (password). > > See 'man sudoers' for details: Defaults authenticate This is in /etc/sudoers, you will need root privilege to run visudo command. Requ

Re: To run a program under another user.

2009-12-01 Thread Sthu Deus
Thank You for Your time and so extended answer, Bob: > You could use 'su', but you must know the user password: > > (you)$ su user -c 'the command to run with arguments' > Password: > possible 'the command' input, with output I did work for me. - I do not remember now why - but it did not

Re: To run a program under another user.

2009-12-01 Thread Sthu Deus
Thank You for Your time and answer, Nicholas: > /etc/sudoers > user ALL = NOPASSWD:ALL But I want security (password). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: To run a program under another user.

2009-11-30 Thread Dirk Neumann
On Tue, 1 Dec 2009 00:09:33 +0700 Sthu Deus wrote: > Good day. > > > I need to run a console program under another user - if I try to do so with > the help of sudo - ut tells me that I'm out of the sudoers list. If I try to > run it w/ the help of gksu (though weird it is) - it does so, but h

Re: To run a program under another user.

2009-11-30 Thread Bob McGowan
Sthu Deus wrote: > Good day. > > > I need to run a console program under another user - if I try to do so with > the help of sudo - ut tells me that I'm out of the sudoers list. If I try to > run it w/ the help of gksu (though weird it is) - it does so, but having > started - the program soon

Re: To run a program under another user.

2009-11-30 Thread Tyler MacDonald
Sthu, Have you tried: "su - username", or "su -c command - username"? Cheers, Tyler Sthu Deus wrote: > Good day. > > > I need to run a console program under another user - if I try to do so with > the help of sudo - ut tells me that I'm out of the sudoers lis

Re: To run a program under another user.

2009-11-30 Thread Nicholas
Sthu Deus wrote: Good day. I need to run a console program under another user - if I try to do so with the help of sudo - ut tells me that I'm out of the sudoers list. /etc/sudoers user ALL = NOPASSWD:ALL -- Sincerely, Nicholas -- To UNSUBSCRIBE, email to debian-user-requ...@lists

To run a program under another user.

2009-11-30 Thread Sthu Deus
Good day. I need to run a console program under another user - if I try to do so with the help of sudo - ut tells me that I'm out of the sudoers list. If I try to run it w/ the help of gksu (though weird it is) - it does so, but having started - the program soon is finished - as if the user ha