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
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
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
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
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
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
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
7 matches
Mail list logo