From 07ba40f33ea4434f11bd3919ad591d3d6acccf6c Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 28 Feb 2011 11:44:27 -0500 Subject: Use Sudo rather than SUDO as a label. ticket 1005 --- ipalib/plugins/sudorule.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/plugins/sudorule.py') diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py index 2565cd818..fa114a1f3 100644 --- a/ipalib/plugins/sudorule.py +++ b/ipalib/plugins/sudorule.py @@ -22,7 +22,7 @@ give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments. -FreeIPA provides a designated binddn to use with SUDO located at: +FreeIPA provides a designated binddn to use with Sudo located at: uid=sudo,cn=sysaccounts,cn=etc,dc=example,dc=com To enable the binddn run the following command to set the password: @@ -65,7 +65,7 @@ class sudorule(LDAPObject): 'ipasudorunasgroup': ['group'], } - label = _('SUDO') + label = _('Sudo') takes_params = ( Str('cn', @@ -607,7 +607,7 @@ class sudorule_add_option(LDAPQuery): dn = self.obj.get_dn(cn) (dn, entry_attrs) = ldap.get_entry(dn, ['ipasudoopt']) - + entry_attrs.setdefault('ipasudoopt', []).append( options['ipasudoopt'] ) -- cgit