summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-02-28 11:44:27 -0500
committerRob Crittenden <rcritten@redhat.com>2011-03-01 16:48:35 -0500
commit07ba40f33ea4434f11bd3919ad591d3d6acccf6c (patch)
tree920ba5cf9f5986e31af69e9fdf0c8514d3cb8b61 /ipalib
parent2dd0fb9200421c39a6303f733d56834ffe863483 (diff)
downloadfreeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.tar.gz
freeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.tar.xz
freeipa-07ba40f33ea4434f11bd3919ad591d3d6acccf6c.zip
Use Sudo rather than SUDO as a label.
ticket 1005
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/baseldap.py4
-rw-r--r--ipalib/plugins/internal.py6
-rw-r--r--ipalib/plugins/sudocmd.py2
-rw-r--r--ipalib/plugins/sudocmdgroup.py2
-rw-r--r--ipalib/plugins/sudorule.py6
5 files changed, 10 insertions, 10 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index 02c839cf..ff034c61 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -66,7 +66,7 @@ global_output_params = (
label=_('Roles'),
),
Str('memberof_sudocmdgroup?',
- label=_('SUDO Command Groups'),
+ label=_('Sudo Command Groups'),
),
Str('member_privilege?',
label='Granted to Privilege',
@@ -96,7 +96,7 @@ global_output_params = (
label='Member of HBAC service groups',
),
Str('member_sudocmd?',
- label='Member SUDO commands',
+ label='Member Sudo commands',
),
Str('memberindirect_user?',
label=_('Indirect Member users'),
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index ae8bf3b9..436867ba 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -262,11 +262,11 @@ class i18n_messages(Command):
"unprovision":_("Unprovision"),
},
"sudocmd": {
- "add":_("Add New SUDO Command"),
+ "add":_("Add New Sudo Command"),
"groups":_("Groups"),
},
"sudocmdgroup": {
- "add":_("Add New SUDO Command Group"),
+ "add":_("Add New Sudo Command Group"),
"commands":_("Commands"),
},
"sudorule": {
@@ -361,7 +361,7 @@ class i18n_messages(Command):
"policy":_("Policy"),
"audit": _("Audit"),
"ipaserver":_("IPA Server"),
- "sudo":_("SUDO"),
+ "sudo":_("Sudo"),
"hbac":_("HBAC"),
"role":_("Role Based Access Control")
},
diff --git a/ipalib/plugins/sudocmd.py b/ipalib/plugins/sudocmd.py
index 117865ea..ad9f87d2 100644
--- a/ipalib/plugins/sudocmd.py
+++ b/ipalib/plugins/sudocmd.py
@@ -61,7 +61,7 @@ class sudocmd(LDAPObject):
'memberof': ['sudocmdgroup'],
}
uuid_attribute = 'ipauniqueid'
- label = _('SUDO Commands')
+ label = _('Sudo Commands')
takes_params = (
Str('sudocmd',
diff --git a/ipalib/plugins/sudocmdgroup.py b/ipalib/plugins/sudocmdgroup.py
index 923b3c68..e628a176 100644
--- a/ipalib/plugins/sudocmdgroup.py
+++ b/ipalib/plugins/sudocmdgroup.py
@@ -63,7 +63,7 @@ class sudocmdgroup(LDAPObject):
'member': ['sudocmd'],
}
- label = _('SUDO Command Groups')
+ label = _('Sudo Command Groups')
takes_params = (
Str('cn',
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index 2565cd81..fa114a1f 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']
)