search for: user_alias

Displaying 10 results from an estimated 10 matches for "user_alias".

2014 Oct 25
1
Dynamic tags in email address
...l server I'm setting up, however it only works as long as it's sent to the main user and not to aliases. virtual-alias-maps query: SELECT get_email_alias_dyn('%s') virtual-mailbox-domains query: SELECT 1 FROM domain WHERE name='%s' virtual-mailbox-maps query: SELECT 1 FROM user_alias INNER JOIN domain ON user_alias.domainID = domain.id WHERE user_alias.primary = 1 AND CONCAT(user_alias.name, '@', domain.name)='%s' "get_email_alias_dyn()" is a stored function which returns the destination email, so alias+tag at example.com returns user at example.co...
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: /bin/chown, /bin/chmod # members of the FULLACCESS User_Alias may run anything but need a password FULLACCESS ALL=(root) ALL The part for requiring a...
1999 Nov 13
0
Retraction: security hole in sudo allows users full access
...in, the value of an item may be ......... Cmnd_List ::= Cmnd | Cmnd ',' Cmnd_List ....... The reserved word ALL is a a built in alias that always causes a match to succeed. It can be used wherever one might otherwise use a Cmnd_Alias, User_Alias, Runas_Alias, or Host_Alias. You should not try to define your own alias called ALL as the built in alias will be used in preference to your own. I assumed the built in alias ALL had to do with the commands defined in the sudoers file. Assuming definitely made an ass out o...
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 yo...
2008 Jan 19
1
mixing templates and other methods for a file''s content
...s = a[5] if a.length >= 8 susers = a[7] end break end end %> Cmnd_Alias INST = /usr/sbin/synaptic, /usr/bin/cpan, /usr/bin/apt- get root ALL=(ALL) ALL %adm ALL=(ALL) ALL #### These users can install and deinstall stuff <% if musers.length > 0 -%> User_Alias MAINUSERS = <%= musers %> MAINUSERS ALL = (ALL) PASSWD: INST <% end -%> ### These users can ''su'' to root <% if susers.length > 0 -%> User_Alias SUDOERS = <%= susers %> SUDOERS ALL = (ALL) PASSWD: /bin/su <% end -%> ======== end sudoers.erb In...
2007 Dec 27
0
Silent Validation Failures
...orked because the private methods throw NoMethodErrors when the user doesn''t enter something. Here''s an example: validates_acceptance_of :terms_of_service, :on => :create, :allow_nil => false validates_length_of :email, :within => 6..100 validates_uniqueness_of :user_alias, :email, :case_sensitive => false validates_inclusion_of :gender, :in => %w( m f ), :message => '': So what are you then?'' after_validation_on_create :make_new_alias ... protected def make_new_alias self.user_alias = "#{get_random_word(:gender =&g...
2008 Jun 27
5
Wheel and YUM!!
Dear All I am trying to allow a local user on the centos machine to be able to run yum What I have done is added him to the wheel group so that he can run software, basically it's his own machine if he breaks it it's his problem But even after adding him to wheel, sys and adm group he is unable to install using yum I am sure I must be missing something or I must be doing
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.
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
2010 May 20
10
Question about templates from variables
I''m running into an issue trying to do something like the following: class test { file {"test": content => template(''mytemplate1'',''mytemplate2''), } } class test::test2 inherits test { File["test"] { content +> template(''mytemplate3''), } } So, basically I want the inherited class to tack on another