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
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
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
.
-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
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
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
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
-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
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
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
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
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
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
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
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
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
, 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
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
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 (!)
--
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
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
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
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
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
-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
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
-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.
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
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
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
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
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
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
-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
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
-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
: 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
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.
]
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
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
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
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
-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
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
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
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
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
Warning
Could not process message with given Content-Type:
multipart/mixed ;boundary===_Exmh_7853259500
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
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'
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
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
* 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
: 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
- 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
--
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
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
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
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
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
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
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
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
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
64 matches
Mail list logo