To: tru64-unix-managers
Subject: SUMMARY: Renaming a user
Date: Fri, 12 Jan 2001 18:23:04 +0000 [thread overview]
Message-ID: <97932390708260.tru64-unix-managers.marc@archive.invalid> (raw)
Thanks to :
Coleman Cathy <CaColeman@hq.row.com>=20
"John J. Francini" <francini@zk3.dec.com>=20
"Elizabeth Harvey-Forsythe" <ehf@media.mit.edu>=20
John Venier <venier@odin.mdacc.tmc.edu>=20
"Smith, David L." <David.Smith@Celera.com>=20
Jim Lola <lola@gene.com>=20
Colin Walters<walters@zk3.dec.com>=20
Gabriele Pozzo <gabriele.pozzo@dierre.it>=20
Jeff Borah <jeff@snyfarvg.cc.farmingdale.edu>=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
_____________________________
reply other threads:[~2001-01-12 18:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox