Use Sudo rather than SUDO as a label.

ticket 1005
This commit is contained in:
Rob Crittenden
2011-02-28 11:44:27 -05:00
parent 2dd0fb9200
commit 07ba40f33e
9 changed files with 54 additions and 54 deletions

View File

@@ -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'),

View File

@@ -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")
},

View File

@@ -61,7 +61,7 @@ class sudocmd(LDAPObject):
'memberof': ['sudocmdgroup'],
}
uuid_attribute = 'ipauniqueid'
label = _('SUDO Commands')
label = _('Sudo Commands')
takes_params = (
Str('sudocmd',

View File

@@ -63,7 +63,7 @@ class sudocmdgroup(LDAPObject):
'member': ['sudocmd'],
}
label = _('SUDO Command Groups')
label = _('Sudo Command Groups')
takes_params = (
Str('cn',

View File

@@ -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']
)