ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamv_5.4.0.1/rzamvrenameuserprof.htm

85 lines
5.2 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Rename a user profile" />
<meta name="abstract" content="This article describes how to rename a user profile, explains why it is important, and provides step-by-step instructions." />
<meta name="description" content="This article describes how to rename a user profile, explains why it is important, and provides step-by-step instructions." />
<meta name="DC.Relation" scheme="URI" content="rzamvmanagesecinfo.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="renameuserprof" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Rename a user profile</title>
</head>
<body id="renameuserprof"><a name="renameuserprof"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Rename a user profile</h1>
<div><p>This article describes how to rename a user profile, explains why
it is important, and provides step-by-step instructions.</p>
<p>The system does not provide a direct method for renaming a user profile. </p>
<div class="p">A new profile can be created with the same authorities for a user with
a new name. Some information, however, cannot be transferred to the new profile.
The following are examples of information that cannot be transferred: <ul><li>Spool files.</li>
<li>Internal objects containing user preferences and other information about
the user will be lost.</li>
<li>Digital certificates that contain the user name will be invalidated.</li>
<li>The uid and gid information retained by the integrated file system cannot
be changed.</li>
<li>You may not be able to change the information that is stored by applications
that contain the user name.</li>
</ul>
</div>
<p>Applications that are run by the user can have <span class="q">"application profiles."</span> Creating
a new system user profile to rename a user does not rename any application
profiles the user may have. A Lotus Notes<sup>®</sup> profile is one example
of an application profile. </p>
<div class="p">The following example shows how to create a new profile for a user with
a new name and the same authorities. The old profile name is SMITHM. The new
user profile name is JONESM: <ol><li>Copy the old profile (SMITHM) to a new profile (JONESM) using the copy
option from the Work with User Enrollment display.</li>
<li>Give JONESM all the private authorities of SMITHM using the Grant User
Authority (GRTUSRAUT) command: <pre>GRTUSRAUT JONESM REFUSER(SMITHM)</pre>
</li>
<li>Change the primary group of all objects that SMITHM is the primary group
of using the Work with Objects by Primary Group (WRKOBJPGP) command: <pre>WRKOBJPGP PGP(SMITHM)</pre>
<p>Enter
option <kbd class="userinput">9</kbd> on all objects that need their primary group
changed and enter NEWPGP (JONESM) on the command line.</p>
<div class="note"><span class="notetitle">Note:</span> JONESM
must have a gid assigned using the GID parameter on the Create or Change User
Profile (CRTUSRPRF or CHGUSRPRF) command. </div>
</li>
<li>Display the SMITHM user profile using the Display User Profile (DSPUSRPRF)
command: DSPUSRPRF USRPRF(SMITHM) Write down the uid and gid for SMITHM.</li>
<li>Transfer ownership of all other owned objects to JONESM and remove the
SMITHM user profile, using option <kbd class="userinput">4</kbd> (Remove) from the
Work with User Enrollment display.</li>
<li>Change the uid and the gid of JONESM to the uid and gid that belonged
to SMITHM by using the Change User Profile (CHGUSRPRF) command: <pre>CHGUSRPRF USRPRF(JONESM) UID(<var class="varname">uid from</var> SMITHM) GID(<var class="varname">gid from</var> SMITHM)</pre>
If JONESM owns objects in a directory,
the CHGUSRPRF command cannot be used to change the uid and gid. Use the QSYCHGID
API to change the uid and gid of user profile JONESM.</li>
</ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzamvmanagesecinfo.htm" title="This article describes the tasks for managing security information.">Manage security information</a></div>
</div>
</div>
</body>
</html>