SUDO Utility

2003-02-04 Thread rahul b jain cs student
Hi, I was trying to make use of the sudo utility, which in my understanding allows the root to give certains users the privelege the execute a set of commands. I configured the file sudoers making use of the command visudo. My sudoers file looks like this # User alias specification User_Alias

Re: SUDO Utility

2003-02-04 Thread Bret Hughes
On Tue, 2003-02-04 at 12:37, rahul b jain cs student wrote: Hi, I was trying to make use of the sudo utility, which in my understanding allows the root to give certains users the privelege the execute a set of commands. I configured the file sudoers making use of the command visudo. My

RE: running remote window through sudo and ssh

2002-10-11 Thread Bret Hughes
the client on my laptop [bhughes@bretsony bhughes]$ ssh -V OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f sudo on one of the servers (RHL 7.2): [bhughes@zenon bhughes]$ sudo -V Sudo version 1.6.3p7 is the DISPLAY variable set in the sudo environment? -- redhat-list mailing

RE: running remote window through sudo and ssh

2002-10-11 Thread Chad Skinner
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bret Hughes Sent: Thursday, October 10, 2002 10:56 PM To: [EMAIL PROTECTED] Subject: Re: running remote window through sudo and ssh On Thu, 2002-10-10 at 17:54, Chad Skinner wrote: I have ssh

running remote window through sudo and ssh

2002-10-10 Thread Chad Skinner
I have ssh setup on the server and can run a remote xwindows application on the local machine, but I am trying to setup the system so some of our users can run a few of the utilities as root using sudo. The problem is that when the user issues the sudo command the xserver drops the connection

Re: running remote window through sudo and ssh

2002-10-10 Thread Bret Hughes
On Thu, 2002-10-10 at 17:54, Chad Skinner wrote: I have ssh setup on the server and can run a remote xwindows application on the local machine, but I am trying to setup the system so some of our users can run a few of the utilities as root using sudo. The problem is that when the user issues

Re: Small problem with sudo and Roaring Penguin

2002-08-14 Thread Kevin Myers
Just a little update to this problem: it's nothing to do with sudo, it's the fact that I'm using a script as the login shell for these users. If I use /bin/bash as the shell, everything works. (Thanks to Anthony for putting me onto this) On Fri, 09 Aug 2002 18:29:32 +0700, you wrote: I have

Re: Small problem with sudo and Roaring Penguin

2002-08-14 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14-Aug-2002/15:23 +0700, Kevin Myers [EMAIL PROTECTED] wrote: Just a little update to this problem: it's nothing to do with sudo, it's the fact that I'm using a script as the login shell for these users. If I use /bin/bash as the shell, everything

Re: Small problem with sudo and Roaring Penguin

2002-08-14 Thread Kevin Myers
On Wed, 14 Aug 2002 09:11:35 -0400, you wrote: man nohup Thanks. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list

[Solution?] Re: sudo adsl-start only after root did adsl-start

2002-08-14 Thread Wolfgang Pfeiffer
On Aug 9, 2002, 17:43 (+0200) Wolfgang Pfeiffer wrote: Hi all Redhat 6.2, rp-pppoe-3.5-1, sudo-1.6.5p2-1.6x.1, single-user machine here ... After booting the machine I try to start an adsl-connection as a non-root by entering a sudo adsl-start And it does not work: Excerpt from /var

Re: [Solution?] Re: sudo adsl-start only after root did adsl-start

2002-08-14 Thread Wolfgang Pfeiffer
On Aug 14, 2002, 23:45 (+0200) Wolfgang Pfeiffer wrote: On Aug 9, 2002, 17:43 (+0200) Wolfgang Pfeiffer wrote: ( .. and sorry about not putting my answer into the thread I started: it seems I deleted my own posting as it appeared on this list; [ ... ] ^^ ...as I had

Small problem with sudo and Roaring Penguin

2002-08-09 Thread Kevin Myers
I have a user that is allowed to login to a shell script and use it to bring the DSL connection up/down. I am using sudo to allow him to run adsl-start, which he does by selecting an item on a menu which runs: sudo /usr/sbin/adsl-start This is the contents of the sudoers file: # sudoers file

sudo adsl-start only after root did adsl-start

2002-08-09 Thread Wolfgang Pfeiffer
Hi all Redhat 6.2, rp-pppoe-3.5-1, sudo-1.6.5p2-1.6x.1, single-user machine here ... After booting the machine I try to start an adsl-connection as a non-root by entering a sudo adsl-start And it does not work: Excerpt from /var/log/messages regarding this connection-attempt

Re: SUDO

2002-08-01 Thread Gordon Messmer
It doesn't work with PHP, but you might be able to set up a CGI to run as a user, and offer to execute predefined commands. Use suEXEC: http://httpd.apache.org/docs/suexec.html On Sun, 2002-07-28 at 14:41, Jesse Angell wrote: Hello everyone, I need to setup a php control panel that allows

SUDO

2002-07-28 Thread Jesse Angell
Hello everyone, I need to setup a php control panel that allows clients to execute commands in their home directory.. The only way I can think of doing this would be to install it's own apache for the control panel, and have that run under a username that has permission to use su $username -c

Re: Sudo

2002-06-14 Thread Joe Nestlerode
Actually, the first quote below was from the original poster, not me. I had offered a solution to their query. And I like your solution better, Renzo. Quoting Joe Nestlerode [EMAIL PROTECTED]: I want the user to be able to use the su command to switch to any user without requring

Re: Sudo

2002-06-14 Thread Renzo Alejandro Granados
, foobar :\ HPPA = boa, nag, python Wich means: the boxes with hostname widget, thalamus, foobar can be used by john to use sudo su from them. -- - | Renzo Alejandro Granados | | Gerente Técnico

Re: Sudo

2002-06-14 Thread Jesse Angell
7:53 AM Subject: Re: Sudo Jesse Angell wrote: What does that ALPHA mean.. I put that all in and it gave me an error about a host or something? [EMAIL PROTECTED] wrote: from the sudoers man page: john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root* On the ALPHA

Re: Sudo

2002-06-14 Thread Renzo Alejandro Granados
Jesse Angell wrote: That asks andrew to enter a password to switch users, I don't want him to have to enter their password? alejo ALL = (ALL) NOPASSWD: /bin/su [!-]*, !/bin/su *root* I`m using this line, without using a password, it`s also mentioned in the man page (!) --

Re: Sudo

2002-06-13 Thread Nicolas Bock
On Wed, 12 Jun 2002, Jesse Angell wrote: I know that would work.. But is there another way.. I'd personally prefer if I could just give him privs to be able to su into any account and thats it.. If you use the sudoers file that you posted then all andrew has to do is sudo su superdoodle

Re: Sudo

2002-06-13 Thread Sam Guercio
Well since he already has sudo access then just have him do a sudo su - ~sjg On Wed, 2002-06-12 at 21:46, Jesse Angell wrote: I know that would work.. But is there another way.. I'd personally prefer if I could just give him privs to be able to su into any account and thats

Re: Sudo

2002-06-13 Thread Joe Nestlerode
I want the user to be able to use the su command to switch to any user without requring a password, like root? How do I do this?? Sudo will do this. Are you invoking it correctly? Try sudo su username. Similarly, sudo su will put a user directly into a root shell. (Assuming that user has

Re: Sudo

2002-06-13 Thread Kent Borg
On Thu, Jun 13, 2002 at 07:50:58AM -0400, Sam Guercio wrote: Well since he already has sudo access then just have him do a sudo su - Don't give the techs direct sudo access to su, but to a new shell script that does the su, but only after verifying that the requested UID isn't root. -kb

Re: Sudo

2002-06-13 Thread Jesse Angell
That sounds perfect! How would I write a script like that?? -- Jesse Angell PalaceUnlimited.com #1 Palace Host - Original Message - From: Kent Borg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 1:46 PM Subject: Re: Sudo On Thu, Jun 13, 2002 at 07

Re: Sudo

2002-06-13 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent Borg wrote: Don't give the techs direct sudo access to su, but to a new shell script that does the su, but only after verifying that the requested UID isn't root. We have an in-house C wrapper for sudo that does this. Email me offlist

Re: Sudo

2002-06-13 Thread renzo
Quoting Joe Nestlerode [EMAIL PROTECTED]: I want the user to be able to use the su command to switch to any user without requring a password, like root? How do I do this?? from the sudoers man page: john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root* On the

Re: Sudo

2002-06-13 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: from the sudoers man page: john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root* On the ALPHA machines, user john may su to anyone except root but he is not allowed to give su(1) any flags.

Re: Sudo

2002-06-13 Thread Jesse Angell
What does that ALPHA mean.. I put that all in and it gave me an error about a host or something? - Original Message - From: David Talkington [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 6:27 PM Subject: Re: Sudo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Sudo

2002-06-12 Thread Jesse Angell
I edited the sudo config to give a user root privs. But its not working.. How do i make it go active and work? --Jesse AngellPalaceUnlimited.com#1 Palace Host

Re: Sudo

2002-06-12 Thread Nicolas Bock
On Wed, 12 Jun 2002, Jesse Angell wrote: I edited the sudo config to give a user root privs. But its not working.. How do i make it go active and work? It should go active without your intervention. Were you using visudo to modify the sudoers file? Maybe you have a typo

Re: Sudo

2002-06-12 Thread Werner Puschitz
On Wed, 12 Jun 2002, Nicolas Bock wrote: On Wed, 12 Jun 2002, Jesse Angell wrote: I edited the sudo config to give a user root privs. But its not working.. How do i make it go active and work? It should go active without your intervention. Were you using visudo to modify

Re: Sudo

2002-06-12 Thread Jesse Angell
Yes.. I was using that... I dont know how sudo works I assume you edit the conf and just try to run the command like normal? - Original Message - From: Nicolas Bock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 6:28 PM Subject: Re: Sudo On Wed, 12 Jun 2002

Re: Sudo

2002-06-12 Thread Jesse Angell
thats what I want.. He is my tech support, I want him to have a root shell. But I want him to have his own account|? - Original Message - From: Werner Puschitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 6:36 PM Subject: Re: Sudo On Wed, 12 Jun 2002, Nicolas

Re: Sudo

2002-06-12 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Angell wrote: I edited the sudo config to give a user root privs. But its not working.. How do i make it go active and work? Post the contents of /etc/sudoers. - -d - -- David Talkington PGP key: http://www.prairienet.org/~dtalk

Re: Sudo

2002-06-12 Thread Jesse Angell
privs. - Original Message - From: David Talkington [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 6:49 PM Subject: Re: Sudo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Angell wrote: I edited the sudo config to give a user root privs. But its

Re: Sudo

2002-06-12 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Angell wrote: andrew ALL=(ALL) ALL andrew is the account I want to have root privs. That should be fine. So perhaps you're not invoking it correctly? $ sudo vi /etc/hosts would edit /etc/hosts as root, after prompting for your

Re: Sudo

2002-06-12 Thread Jesse Angell
: Wednesday, June 12, 2002 7:21 PM Subject: Re: Sudo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Angell wrote: andrew ALL=(ALL) ALL andrew is the account I want to have root privs. That should be fine. So perhaps you're not invoking it correctly? $ sudo vi /etc/hosts would edit

Re: Sudo

2002-06-12 Thread Blake C. Thornton
I want the user to be able to use the su command to switch to any user without requring a password, like root? How do I do this?? Give the user the root password. It seems you trust this person and would allow him/her to change root's password, so give him/her the password.

Re: Sudo

2002-06-12 Thread Jesse Angell
] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 8:28 PM Subject: Re: Sudo I want the user to be able to use the su command to switch to any user without requring a password, like root? How do I do this?? Give the user the root password. It seems you trust this person and would allow him

OpenBSD string in sudo binary

2002-01-21 Thread Matthew Boedicker
I came across this recently on my Redhat 7.1 box: [root@bindlestiff mboedick]# rpm -q sudo sudo-1.6.4-0.7x.2 [root@bindlestiff mboedick]# strings /usr/bin/sudo | tail -1 $OpenBSD: skeleton.c,v 1.18 2001/11/19 19:02:18 mpech Exp $ [root@bindlestiff mboedick]# I'm kind of curious about

Re: OpenBSD string in sudo binary

2002-01-21 Thread Brian Ashe
Matthew, On Monday 21 January 2002 09:49, you said something about: I came across this recently on my Redhat 7.1 box: [root@bindlestiff mboedick]# rpm -q sudo sudo-1.6.4-0.7x.2 [root@bindlestiff mboedick]# strings /usr/bin/sudo | tail -1 $OpenBSD: skeleton.c,v 1.18 2001/11/19 19:02:18

Re: OpenBSD string in sudo binary

2002-01-21 Thread Matthew Boedicker
I was aware that entire packages of theirs (like OpenSSH) were widely used in other systems, but I hadn't realized that patches of theirs to things like telnet and sudo made it into Linux distributions. I am thankful though that their security auditing efforts and solid code are benefitting

licq, slrn, sudo, samba vulnerabilities

2001-04-23 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- G'day - just a quick note to pass along a few more things to worry about. =) The FreeBSD folks were very busy today, and have posted several vulnerabilities, some of which are of interest to Red Hat users. The versions of licq, slrn, sudo, and samba shipped

sudo

2001-03-01 Thread Steve Lee
how do you setup the sudo file so that a particular user can mount drives. i looked in the sudoers file in /etc/sudoers and man but looks criptic in the man. that is. mount -t smb //Windows /mnt/Windows -o username=someuser ___ Redhat-list

Re: sudo

2001-03-01 Thread Darryl Harvey
At 10:09 AM 2/03/2001, you wrote: how do you setup the sudo file so that a particular user can mount drives. i looked in the sudoers file in /etc/sudoers and man but looks criptic in the man. that is. mount -t smb //Windows /mnt/Windows -o username=someuser From the MAN page, I get

Re: sudo

2001-03-01 Thread Steve Lee
Thanks On Fri, 2 Mar 2001, Darryl Harvey wrote: At 10:09 AM 2/03/2001, you wrote: how do you setup the sudo file so that a particular user can mount drives. i looked in the sudoers file in /etc/sudoers and man but looks criptic in the man. that is. mount -t smb //Windows /mnt

Re: sudo

2001-03-01 Thread RaghuNath L
Hi, Go to following url www.linux4biz.net and there is howto on it . Steve Lee wrote: Thanks On Fri, 2 Mar 2001, Darryl Harvey wrote: At 10:09 AM 2/03/2001, you wrote: how do you setup the sudo file so that a particular user can mount drives. i looked in the sudoers file

Problem building sudo-1.6.1

2000-07-17 Thread John Summerfield
Warning Could not process message with given Content-Type: multipart/mixed ;boundary===_Exmh_7853259500

Sudo and Su commands could not be found

2000-06-27 Thread Stephen Liu
e-2614.tar.gz 3. cd /usr/src/wine-2614 4. ./configure 5. make depend make (all went through without problem) 6. sudo make install bash: command could not be found su -c make install (same result) cd / # make install (WINE could not be installed from root) # cd /us

Re: Sudo cofiguration Problem

2000-01-26 Thread tom minchin
On Thu, Jan 27, 2000 at 08:30:34AM +1100, [EMAIL PROTECTED] wrote: Hello Need to configure sudo properly for the project Question 1) can someone send me a copy of there "sudoers" file so I can get an idea of how to configure it properly? Look in /usr/doc/sudo*, there'

Still no solution for sudo --help

2000-01-24 Thread Danny
Hwo exactly can I get sudi to work. I have tried getting the sudo.##.##.tar.gz I have tried to use ./configure and it doesn't work. I have tried getting the rpms it doesn't work Do I need to install a C compiler to get it to work. I need to deploy sudo on Linux RH6 with minmal downtime , less

Re: Still no solution for sudo --help

2000-01-24 Thread tom minchin
On Mon, Jan 24, 2000 at 07:51:55PM +1100, Danny wrote: Hwo exactly can I get sudi to work. I have tried getting the sudo.##.##.tar.gz I have tried to use ./configure and it doesn't work. I have tried getting the rpms it doesn't work Do I need to install a C compiler to get it to work

Re: Still no solution for sudo --help

2000-01-24 Thread Merell L. Matlock, Jr.
* Danny ([EMAIL PROTECTED]) [000124 05:54]: Hwo exactly can I get sudi to work. I have tried getting the sudo.##.##.tar.gz I have tried to use ./configure and it doesn't work. I have tried getting the rpms it doesn't work Do I need to install a C compiler to get it to work. I need

Re: Redhat Sudo Problem

2000-01-24 Thread linda hanigan
: Saturday, January 10, 1998 3:07 AM Subject: Re: Redhat Sudo Problem Sorry I can't seem to find anything in /usr/bin/cc Also tried locate, whereis - what else do I have to do to get it to work? Looking forward to your feedback. On Mon, 24 Jan 2000, Hal Burgiss wrote: On Sat, Jan 10

Re: Redhat Sudo Problem (solved)

2000-01-24 Thread Danny
- Original Message - From: Danny [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, January 10, 1998 3:07 AM Subject: Re: Redhat Sudo Problem Sorry I can't seem to find anything in /usr/bin/cc Also tried locate, whereis - what else do I have to do to get

Redhat Sudo Problem

2000-01-23 Thread Danny
-- Hello, I downloaded sudo-XX.XX.tar.gz (the latest from the web site) I did gunzip sudo-xx.xx.tar.gz tar xvf sudo-xx.xx.tar cd /somewhere/sudo-XX.XX/ ./configure Why do I get the following error message configure:error no aceptable cc found in $path Looking forward to your feedback

Re: Redhat Sudo Problem

2000-01-23 Thread Hal Burgiss
On Sat, Jan 10, 1998 at 09:31:35PM +1100, Danny wrote: I downloaded sudo-XX.XX.tar.gz (the latest from the web site) I did gunzip sudo-xx.xx.tar.gz tar xvf sudo-xx.xx.tar cd /somewhere/sudo-XX.XX/ ./configure Why do I get the following error message configure:error no aceptable

Re: Redhat Sudo Problem

2000-01-23 Thread Danny
Sorry I can't seem to find anything in /usr/bin/cc Also tried locate, whereis - what else do I have to do to get it to work? Looking forward to your feedback. On Mon, 24 Jan 2000, Hal Burgiss wrote: On Sat, Jan 10, 1998 at 09:31:35PM +1100, Danny wrote: I downloaded sudo-XX.XX.tar.gz

Re: Redhat Sudo Problem

2000-01-23 Thread Hugo Bouckaert
Hi Why don't you get the rpm for sudo? You can find it from: http://rufus.w3.org/linux/RPM/SByName.html (search for sudo) That installed for me without problems. Cheers Hugo Hal Burgiss wrote: On Sat, Jan 10, 1998 at 09:31:35PM +1100, Danny wrote: I downloaded sudo-XX.XX.tar.gz

sudo

1999-11-08 Thread Andy Brown
I'm still working on altering/adding user accounts from scripts initiated via rsh/ssh. For those of you who have offered some assistance, thanks. I'm experimenting with every possible solution. However, I have found a 'SUDO' command under BSD which seems to offer exactly the functionality I

Re: sudo

1999-11-08 Thread Hal Burgiss
On Mon, Nov 08, 1999 at 11:16:24AM -0500, Andy Brown wrote: I'm still working on altering/adding user accounts from scripts initiated via rsh/ssh. For those of you who have offered some assistance, thanks. I'm experimenting with every possible solution. However, I have found a 'SUDO

Re: sudo

1999-11-08 Thread Piet Barber
I'm still working on altering/adding user accounts from scripts initiated via rsh/ssh. For those of you who have offered some assistance, thanks. I'm experimenting with every possible solution. However, I have found a 'SUDO' command under BSD which seems to offer exactly

Re: sudo

1999-11-08 Thread tom minchin
a 'SUDO' command under BSD which seems to offer exactly the functionality I need. It effectively allows a non-root account to issue a command as root - sort of a 'DO as SU'. Does anyone know of a linux port/rpm of SUDO, and where to find it? I've never had this 'splained to me in detail

Re: sudo

1999-11-08 Thread jfesler
What exactly is the difference between SUDO and : su - -c 'command' username sudo requires the user's password to run the command as root. (sudo can limit the scope of who can do what commands) su - -c 'command' username (and other variants of that) require the main system root password