diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-02-28 11:44:27 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-03-01 16:48:35 -0500 |
commit | 07ba40f33ea4434f11bd3919ad591d3d6acccf6c (patch) | |
tree | 920ba5cf9f5986e31af69e9fdf0c8514d3cb8b61 /ipalib/plugins/sudorule.py | |
parent | 2dd0fb9200421c39a6303f733d56834ffe863483 (diff) | |
download | freeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.tar.gz freeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.tar.xz freeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.zip |
Use Sudo rather than SUDO as a label.
ticket 1005
Diffstat (limited to 'ipalib/plugins/sudorule.py')
-rw-r--r-- | ipalib/plugins/sudorule.py | 6 |
1 files changed, 3 insertions, 3 deletions
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'] ) |