Displaying 20 results from an estimated 20000 matches similar to: "Specify auth service for protocols"
2015 Aug 07
4
Using a separate passdb per service
Situation: one front-facing server running Dovecot as IMAP/POP3/
ManageSieve proxy, a mixture of IMAP servers (Dovecot, Exchange, ...)
in the back-end. Dovecot's passdb does lookups against MySQL which
contains a simple user/host mapping, the actual authentication happens
on the back-end IMAP servers. The configuration is more or less as
described here:
2010 Jun 30
7
augeas and sudo woes
The following function is based on code I found here in an earlier
thread.
define sudoer() {
augeas { "sudo${name}":
context => "/files/etc/sudoers",
changes => [
"set spec[last() + 1]/user ${name}",
"set spec[last()]/host_group/host ALL",
"set spec[last()]/host_group/command NOPASSWD: ALL",
"set
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 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 Jul 09
2
sudoers
Hi,
I need to run /bin/mount and /sbin/mount.cifs commands as nobody user
(it has (bin/bash shell).
So, I've edited /etc/sudoers and added:
Cmnd_Alias CMD_MOUNT = /bin/mount
Cmnd_Alias CMD_CIFS ) = /sbin/mount.cifs
nobody ALL = NOPASSWD: CMD_MOUNT
nobody ALL = NOPASSWD: CMD_CIFS
But when I run the command as nobody (in the shell), I get the error:
"mount
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:
2009 Mar 13
4
running yum from userid
I added via visudo my userid for authorization of
me ALL(ALL) NOPASSWD: ALL
and I still cannot run yum as me. Is this just not possible?
2007 Nov 19
7
asterisk as non-root/best practices
Hi,
I have set up asterisk to run as non root, and allow admin users to log
in to the server as asterisk, which gives them privileges to edit
configs in the asterisk home directory.
As for connecting to the console with 'asterisk -r' - this by default
does not work as asterisk is owned stored in /usr/sbin/asterisk
I am reading that the best way to solve this is to use 'visudo' -
2015 Oct 31
1
use pssh to restart a service
>
> Have you tried running the command from a conventional login?
> sudo -S
> expects a password from stdin, where is that being supplied?
Yep! That works fine.
#ssh -qt bluethundr at es1.example.com "/bin/sudo -S /bin/systemctl restart
elasticsearch"
#ssh -qt bluethundr at es1.example.com "/bin/echo $?"
0
And the user has 'NOPASSWD' access.
Any
2006 Nov 02
4
Running asterisk with 'sudo'
Hi guys,
I'm using RedHat and am trying to configure my sudo to enable user
'testuser' to run Asterisk. However whenever I try to run 'sudo
asterisk' as 'testuser' I get prompted for password.
This is the line in my sudoers configuration file that I thought should
do the trick, but it doesn't:
testuser ALL=NOPASSWD: /usr/sbin/asterisk
Does anyone know how to
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,
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
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
2018 Aug 10
1
dying on osx
OSX 10.13.6 High Sierra, dovecot 2.3.2.1
dovecot starts up and runs but dies as soon as my mail client makes a
request with log and config below.
And advice appreciated.
Thanks
Mike
20180810-083730 auth: Debug: auth client connected (pid=77432)
20180810-083730 auth: Debug: client in: AUTH??? 1??? PLAIN
service=imap??? secured??? session=xo1p2BRzZNd/AAAB lip=127.0.0.1???
rip=127.0.0.1???
2015 Oct 31
3
use pssh to restart a service
>
> What does the sudo log say?
This is all the secure logs say about the ssh session:
[root at logs:~] #tail -f /var/log/secure
Oct 31 19:15:20 logs sshd[24407]: Accepted publickey for bluethundr from
47.18.111.100 port 47469 ssh2: RSA
ae:62:1f:de:54:89:af:2c:10:16:0e:fd:8d:7e:81:06
Oct 31 19:15:21 logs sshd[24407]: pam_unix(sshd:session): session opened
for user bluethundr by (uid=0)
2013 Jul 08
2
change sudoers remotely
hello list,
I've been asked to give someone sudo rights across an entire environment
without the benefit of something like puppet or chef or cfengine et al.
What I've come up with so far is this:
ssh -t miaprbicsra04v sudo -S /bin/echo "rsherman ALL=\(ALL\) NOPASSWD:
/sbin/service /bin/rm /usr/bin/du /bin/df" >> sudo tee /etc/sudoers
Right now that's just to one
2018 Aug 10
1
dying on osx
Maybe an old problem that has resurfaced???
https://bugzilla.samba.org/show_bug.cgi?id=8773
Mike
On 8/10/18 10:54, Aki Tuomi wrote:
> I have to see if this is reproducible outside mac.
>
>
>
> ---
> Aki Tuomi
> Dovecot oy
>
> -------- Original message --------
> From: Mike Makuch <1mikemakuch at gmail.com>
> Date: 10/08/2018 18:46 (GMT+02:00)
> To:
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:
2015 Nov 02
0
use pssh to restart a service
On 10/31/2015 04:16 PM, Tim Dunphy wrote:
> Got the same exact message!
>
> Anything else I can try?
I think you need to double-check your sudoers file. Use the '-i'
argument to pssh to get more information.
# cat /etc/sudoers.d/gordon
gordon ALL=(ALL) NOPASSWD: ALL
$ pssh -h t -i sudo echo true
[1] 16:02:12 [FAILURE] MYHOST Exited with error code 1
Stderr: sudo: sorry,
2015 Aug 10
0
Using a separate passdb per service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 7 Aug 2015, Gerry wrote:
> The problem is that Dovecot is operating in proxy mode, which means
> that the password_query returns NULL as the password and explicitly
> returns a field "nopasswd" containing "Y". Thus, users can not
> authenticate against the UNIX socket.
> What I think I want to do is