Re: run perl script to configure remote computer using sudo

2018-11-08 Thread Digimer
On 2018-11-08 9:51 p.m., D&R wrote: > I have tried several ways to connect to remote computer: > > $SERVER = qx{ssh -o ConnectTimeout=2 -o ControlPersist=yes $user\@$server > "sudo hostname| cut -d "." -f1"}; chomp ($SERVER); > > but commands that have metacharacters, especially the single quote,

run perl script to configure remote computer using sudo

2018-11-08 Thread
I have tried several ways to connect to remote computer: $SERVER = qx{ssh -o ConnectTimeout=2 -o ControlPersist=yes $user\@$server "sudo hostname| cut -d "." -f1"}; chomp ($SERVER); but commands that have metacharacters, especially the single quote, I can not get to work. I can run the following

Re: KDE using sudo instead of su

2014-05-08 Thread Emmett Culley
On 05/02/2014 08:42 AM, Rex Dieter wrote: > Emmett Culley wrote: > >> On 04/30/2014 10:27 AM, Joe Zeff wrote: >>> On 04/30/2014 08:25 AM, Emmett Culley wrote: Any ideas how to get apps to require the root password instead of my user password? >>> >>> Take yourself out of wheel. >> I was

Re: KDE using sudo instead of su

2014-05-02 Thread Rex Dieter
Emmett Culley wrote: > On 04/30/2014 10:27 AM, Joe Zeff wrote: >> On 04/30/2014 08:25 AM, Emmett Culley wrote: >>> Any ideas how to get apps to require the root password instead of my >>> user password? >> >> Take yourself out of wheel. > I was in the users group, but not in the wheel group. > >

Re: KDE using sudo instead of su

2014-05-01 Thread Emmett Culley
On 04/30/2014 10:27 AM, Joe Zeff wrote: > On 04/30/2014 08:25 AM, Emmett Culley wrote: >> Any ideas how to get apps to require the root password instead of my user >> password? > > Take yourself out of wheel. I was in the users group, but not in the wheel group. Also, I have all sudoers disabled

Re: KDE using sudo instead of su

2014-04-30 Thread Joe Zeff
On 04/30/2014 08:25 AM, Emmett Culley wrote: Any ideas how to get apps to require the root password instead of my user password? Take yourself out of wheel. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailma

Re: KDE using sudo instead of su

2014-04-30 Thread Tim
On Wed, 2014-04-30 at 08:25 -0700, Emmett Culley wrote: > It is interesting that my other workstation works differently. That > is, yumex doesn't prompt for the root password until it is about to do > something that requires root permissison. But it is asking for the > root password, not my user p

KDE using sudo instead of su

2014-04-30 Thread Emmett Culley
I've noticed recently that when I run yumex, or most any other app that needs root permission, from the launcher menu, I am prompted for my user password, instead of the root password. So I assume sudo is being used instead of su. The "run backend with sudo" is not checked in yumex preferences.

Re: using sudo

2010-05-24 Thread Kevin Fenzi
On Mon, 24 May 2010 16:11:27 -0400 terry wrote: > I've looked through the systems > administation but cannot figure > how to put myself in the file where I can use say sudo yum something > without having to use su , passwd each time I need to be root > thank you. http://fedorasolved.org/post

Re: using sudo

2010-05-24 Thread kalinix
On Mon, 2010-05-24 at 17:35 -0500, Steven Stern wrote: > In reality, the reason for requiring a sudo password challenge is that > you don't want someone who walks up to your computer to have root privs. > At the very least, they have to know your password to use sudo. > > > -- > -- Steve Now,

Re: using sudo

2010-05-24 Thread Steven Stern
On 05/24/2010 05:17 PM, kalinix wrote: > On Mon, 2010-05-24 at 16:07 -0500, Steven Stern wrote: >> Evil foolishness! One should always require a password for sudo. It's >> like an "Are You Sure?" prompt. > > Yeah, and why not put script that ask you hundreds of times, "Are you > sure?" And then,

Re: using sudo

2010-05-24 Thread kalinix
On Mon, 2010-05-24 at 16:07 -0500, Steven Stern wrote: > Evil foolishness! One should always require a password for sudo. It's > like an "Are You Sure?" prompt. Yeah, and why not put script that ask you hundreds of times, "Are you sure?" And then, on one hundred an one time let you do exactly

Re: using sudo

2010-05-24 Thread Richard Shaw
On Mon, May 24, 2010 at 4:07 PM, Steven Stern wrote: > On 05/24/2010 03:48 PM, Richard Shaw wrote: >> On Mon, May 24, 2010 at 3:11 PM, terry wrote: >>> I've looked  through the systems > administation but cannot figure how >>> to put myself in the file where I can use  say sudo yum something >>>

Re: using sudo

2010-05-24 Thread Sam Sharpe
On 24 May 2010 22:07, Steven Stern wrote: > On 05/24/2010 03:48 PM, Richard Shaw wrote: >> Towards the bottom of the file there is a line that is >> commented out that allows all users of the "wheel" group to access all >> commands without a password. > > Evil foolishness!  One should always requi

Re: using sudo

2010-05-24 Thread Steven Stern
On 05/24/2010 03:48 PM, Richard Shaw wrote: > On Mon, May 24, 2010 at 3:11 PM, terry wrote: >> I've looked through the systems > administation but cannot figure how >> to put myself in the file where I can use say sudo yum something >> without having to use su , passwd each time I need to be ro

Re: using sudo

2010-05-24 Thread Peter Larsen
On Mon, 2010-05-24 at 16:11 -0400, terry wrote: > I've looked through the systems > administation but cannot figure how > to put myself in the file where I can use say sudo yum something > without having to use su , passwd each time I need to be root > thank you. alt-f2 su -c visudo Sudo is

Re: using sudo

2010-05-24 Thread Richard Shaw
On Mon, May 24, 2010 at 3:11 PM, terry wrote: > I've looked  through the systems > administation but cannot figure how > to put myself in the file where I can use  say sudo yum something > without having to use su ,  passwd each time I need to be root > thank you. I assume that you would like it

Re: using sudo

2010-05-24 Thread Erik P. Olsen
On 24/05/10 22:11, terry wrote: > I've looked through the systems> administation but cannot figure how > to put myself in the file where I can use say sudo yum something > without having to use su , passwd each time I need to be root > thank you. Look into /etc/sudoers. That's where you enable

Re: using sudo

2010-05-24 Thread David García Granda
Hi Terry, > I've looked  through the systems > administation but cannot figure how > to put myself in the file where I can use  say sudo yum something > without having to use su ,  passwd each time I need to be root You need to edit /etc/sudoers file. Check man sudoers for more information. HTH,

using sudo

2010-05-24 Thread terry
I've looked through the systems > administation but cannot figure how to put myself in the file where I can use say sudo yum something without having to use su , passwd each time I need to be root thank you. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscrip