Displaying 20 results from an estimated 3000 matches similar to: "Wheel and YUM!!"
2008 Sep 18
1
using NOPASSWD in sudoers
Hello Everyone,
I am trying to change our /etc/sudoers (using visudo) to allow 2
commands to be run as root without a password, but it isn't working.
Here is the part of the sudoers file that is in question.
# User alias specification
User_Alias FULLACCESS = doug, scott
# members of the FULLACCESS User_Alias may run chown and chmod without
a password
FULLACCESS ALL = (root) NOPASSWD:
2012 Jan 25
3
Having problems with sudoers
I've got a Cento 6.2 server I'm putting together that will become a
mailserver. It will have on it MailScanner and MailWatch for
MailScanner. I'm using the latest stuff available and have run into a
problem with changes I need to make in the /etc/sudoers file. It doesn't
seem to take affect after I make the changes, so either the syntax
within the file has changed or the way
2008 Jan 07
3
Yum-update error
Dear All,
Quick question: I am currently having issues with "yum", I recently
updated centos 5 server using the command
# yum update
Yum was working fine till, before the update,
When I try to use yum now I am getting the following error,
------------------------------------------------------------------------
---------------------------------------
[root at pet
2008 Sep 24
1
FW: My Contact Details in B'lore
Srinivas sastry contact details
________________________________
From: Srinivas_Manda at sta.nsw.gov.au
[mailto:Srinivas_Manda at sta.nsw.gov.au]
Sent: Wednesday, 24 September 2008 11:44 AM
To: Harry Sukumar
Subject: My Contact Details in B'lore
Home: +90-80-26681118
Mob: +91-9986032562
Regards,
Srinivas Manda
Graduate Engineer
Fleet Systems
State Transit Authority
Lvl 1,
2006 Apr 28
2
Running mount in a script.
I am running CentOS 4 and have the need to run "mount -t cifs ..." from
within a perl or bash script as part of an application. The
application does not run as root. I have been trying to do a chmod +s
on a root owned script but that doesn't seem to work. I still get
permission errors. I also took a look at sudo but that appears to
require a user to periodically enter a password.
2013 Jul 17
3
sudo add user script
Hello list,
I took another stab at finding a way to add a sudo user remotely and it
gets you most of the way there. If you execute the script as root it works
beautifully and does just what you want. Which is add the user to the
group and gives that user group rights to certain commands.
But if you execute it as a user who only has sudo access to the
/etc/sudoers file it errors out.
cloud:~]
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [
2008 Feb 12
4
VMWare Server Install Problem
Good Day All,
I have issues installing VMware Server on CentOS 5, its asking for the
location of c header files, i have installed them all but i am still
unable to install VMWare Server
here is the output
What is the location of the directory of C header files that match your
running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
2010 Nov 19
6
augeas / sudoers
Hello everybody!
How can i create with puppet following sudoers file:
User_Alias CENTREON=apache,nagios
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v *
The problem that augeas create only last line, replacing previous one.
--
You received this message because you are subscribed to
2015 Nov 02
2
use pssh to restart a service
Hey Gordon,
Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!
#pssh -i -h es_list "/bin/sudo /bin/systemctl restart elasticsearch; sleep
10"
[1] 20:31:32 [SUCCESS] bluethundr at es3.jokefire.com
Stderr: sudo: sorry, you must have a tty to run sudo
2011 Jul 25
3
Sudo #includedir function ignored CentOS 6
I am unable to get the #includedir function to work with sudo. This works
just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I
have this line in the file /etc/sudoers.d/zabbix-puppet
zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet
However sudo still requires a password. If I put that same line into
/etc/sudoers file , there is no password prompt. At the end of my
2013 Jul 18
1
if /else in expect script
I took your suggestion and turned my (ill advised) sudoers bash script
into an expect script! It works a lot better this way and is more secure.
Because I'm not trying to store a password in a script (which I recognize
as a bad idea anyway, I I think I've learned my lesson here).
It really works well. But the only thing I'm still trying to figure out is
how to put a if statement in
2008 Jun 10
10
School Server Setup
Hello All!!!
I was wondering if you can help me little bit....
I am trying to help (voluntary service) a country side school
(Aboriginal community) in Northern Queensland Australia setup lab
infrastructure, it's a very remote school and they don't have enough
funds to go commercial
The school has only till grade 6
They have 25 machines that was bought out of the
2008 Sep 11
3
Tomcat with squid username/password
Hi,
I am trying to help my friend on this
------------------------------------------------------------------------
--
Hi,
I have an application deployed on tomcat 5.5 with java 1.6.0_07.
Occasionally the application needs to connect through our proxy to the
outside to collect patches.
I've added the following options to the JAVA_OPTS and restarted tomcat.
-Dhttp.proxyUser
2008 Apr 09
3
Server Shut Down!!!!
Good Day All,
I have a serious problem on one of my servers running CentOS 5!!!
The problem started this way,
I wanted to store some data under /home and I got an error message
saying it is in the read only mode
So I rebooted the machine,
Then I see this serious error messages at boot time (I am unable to
boot)
Here is the Error Message!!!
*** Error occurred during
2009 Oct 28
2
sudoers file
Hi all,
I am planning to edit sudoers files in /etc.
when i open this wiht vim command and change some thing it said "this file
is read only"
Is this okay to change the status of sudoers files. or any implication?
please point
Regards,
Vijay Shanker Dubey
Ph: +91-9818311884
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Jun 10
1
sudoers
My experience with RHEL and CentOS is quite limited, andwould classify me as novice.? I have been running CentOS 6for a little over a year and recently brought up a CentOS 7system as a virtual machine under Windows 7.
One of the first things I usually do after installation isedit the /etc/sudoers file using visudo to give a specificuser or specific users privileges as indicated in the fileexcerpt
2008 Mar 25
1
adding winehq to apt repository
The instructions use the character O or is it 0, you cannot tell by looking at the
screen or a printout.
Another ambiguity is the command (s?):
sudo wget http://wine.budgetdedicated..........
/etc/apt/sources.list.d/winehq.list
Is this one long command continued on two lines, or is it two commands?
I am not in the sudo list on my stock debian/etch installation, and do not wish to take
three
2004 Sep 05
4
Asterisk & sudo from httpd
Hello!
I want to use "asterisk -rx "show version"" from a php script called in
the browser using the local apache, which runs as user "apache".
Asterisk is running as root.
I added the following line to /etc/sudoers using visudo:
apache ALL = NOPASSWD: /usr/sbin/asterisk
When i am on the command line of my linux box it looks like this:
2009 Oct 15
1
CentOS Digest, Vol 57, Issue 14
Thanks for the responses. I think this is what I want to do. I commented out
#Defaults requiretty
in /etc/sudo. But what I really wanted to do was just place it in VPNUSERS:
%vpnusers ALL=NOPASSWD: /sbin/service myciscovpn start, \
/sbin/service myciscovpn stop, \
/sbin/service myciscovpn status, \
/usr/bin/mycisco,