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

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: running remote window through sudo and ssh

2002-10-11 Thread Chad Skinner
eling. > -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

RE: running remote window through sudo and ssh

2002-10-11 Thread Bret Hughes
ument -- V sshd version OpenSSH_3.1p1 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?

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 &

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: [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

[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 do

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

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

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 wr

"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

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

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 allow

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 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-14 Thread Jesse Angell
]> Sent: Friday, June 14, 2002 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 pag

Re: Sudo

2002-06-14 Thread Renzo Alejandro Granados
et, anchor :\ SGI = grolsch, dandelion, black :\ ALPHA = widget, thalamus, 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. --

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 > > > withou

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 S

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 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

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.

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

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'

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 ". Similarly, "sudo su" will put a user directly into a root sh

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 tha

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

Re: Sudo

2002-06-12 Thread Jesse Angell
AIL PROTECTED]> 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

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
IL PROTECTED]> Sent: 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 perha

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 y

Re: Sudo

2002-06-12 Thread Jesse Angell
I want to have root 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: &g

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: h

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 &

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: S

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 you

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 yo

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: 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 benefi

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.1

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 abo

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 sh

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 > >

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 th

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

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

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) #

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? > >

Sudo cofiguration Problem

2000-01-26 Thread dannyh
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? Looking forward to your feedback danny ([EMAIL PROTECTED]) -- To unsubscribe: mail [EMAIL PROTE

Re: Redhat Sudo Problem (solved)

2000-01-24 Thread Danny
;Linda > - Original Message - > From: Danny <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, January 10, 1998 3:07 AM > Subject: Re: Redhat Sudo Problem > > > > > > > >

Re: Redhat Sudo Problem

2000-01-24 Thread linda hanigan
<[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 it to work? > > Looking forward to your

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 compil

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 insta

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 downt

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: > >

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 sud

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 e

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: 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

Re: sudo

1999-11-08 Thread tom minchin
ible solution. > > > > > > However, I have found 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

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'

Re: sudo

1999-11-08 Thread Michael J. McGillick
ftp://ftp.cdrom.com/pub/linux/redhat/powertools/6.1/i386/sudo-1.5.9p2-1.i386.rpm rpmfind is your friend :) - Mike On Mon, 8 Nov 1999, Andy Brown wrote: > I'm still working on altering/adding user accounts from scripts > initiated via rsh/ssh. For those of you who have o

Re: sudo

1999-11-08 Thread Brad 'GreyBear' Davis
PROTECTED]> To: 'redhat' <[EMAIL PROTECTED]> Sent: Monday, November 08, 1999 9:16 AM Subject: sudo > 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 e

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. > > Howe

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