tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: C2 command-line user rename
@ 2000-01-06  7:21 Jon Wright
  0 siblings, 0 replies; only message in thread
From: Jon Wright @ 2000-01-06  7:21 UTC (permalink / raw)
  To: tru64-unix-managers

Original question:

> I'm trying to rename a user on a system with enhanced security enabled
> from the command line.

The answer was surprising simple:

   usermod -l <newname> <oldname>

That modified /etc/passwd and created an enhanced security record for
the new user.

I did have to use edauth to enable the newly-renamed user and I also
needed to do an edauth -r <oldname> to tidy up and remove the enhanced
security record for the original username.

Thanks so much to...

Ryan Gray mailto:tool@sniper.org
and 
Robert Mulley mailto:genius@one.net.au 

...for the help!

Cheers,
Jon

-- 
Jon Wright
Unified Information, Inc.
voice: 425-814-4019
fax: 425-814-4001
mailto:jon.wright@ui.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-06  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-06  7:21 SUMMARY: C2 command-line user rename Jon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox