From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97932390708260.tru64-unix-managers.marc@archive.invalid> From: =?ISO-8859-1?Q?Jean-Fran=E7ois=20Blanchet?= Date: Fri, 12 Jan 2001 18:23:04 +0000 To: tru64-unix-managers Subject: SUMMARY: Renaming a user X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97932390708260 Thanks to : Coleman Cathy =20 "John J. Francini" =20 "Elizabeth Harvey-Forsythe" =20 John Venier =20 "Smith, David L." =20 Jim Lola =20 Colin Walters=20 Gabriele Pozzo =20 Jeff Borah =20 My question: ---------------------------------------------------------------------------= ------------------------------------ Hi admin, Is it possible to rename a user other way that editing the password file, renaming the cron file, the mail file? It is correct to do what I have done? - renaming user in passwd - renaming cron file - renaming mail file Did I forget something to rename? ---------------------------------------------------------------------------= ------------------------------------------ The answer from Colin Walters was what I want: We do not recommend manual edits to modify user accounts. Use the CDE dxaccounts utility to select the user account and then edit the username. All required system files are updated automatically. Or see: SysMan Accounts usermod command ---------------------------------------------------------------------------= ---------------------------------- But if you want to do manualy don't forget - renaming user in /etc/passwd - renaming cron file - renaming mail file - renaming the user in /etc/group - renaming user home directory if apply - and all scripts that have reference with that user or user home = directory. ---------------------------------------------------------------------------= ------------------------------------ In my case that was a unix user for running batch job, there is no reel = person affected by the rename. Thanks again. _____________________________ Jean-Francois Blanchet jfblanchet@dgeq.qc.ca Direction de l'informatique Service de la Technologie. Le Directeur g=E9n=E9ral des =E9lections du Qu=E9bec 3460, rue de La P=E9rade Sainte-Foy (Qu=E9bec) CANADA G1X 3Y5 T=E9l=E9phone : (418) 644-9339 Fax : (418) 643-7291 _____________________________