Re: Changing UnixID
- From: Steven Mocking <ufo@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 22:23:59 +0200
balreddy.gattu@xxxxxxxxx wrote:
Hello All,
I want to know is there any command exists to change the unixuserid.
Example:
My user id is /home/test
I want to change the id test to dev i.e my home directory will become
/home/dev.
I know we can create new id and copy the files from test to dev and
delete the test id.
Instead of that if we have any shortcut/ command to just change the
loginid in solaris.
You're talking about a user*name*. Make sure you are logged out. Login as root and :
# usermod -l dev test
# mv /home/test /home/dev
That should do it, but there might be braindead applications which depend on your username and require hand-hacking. You'll notice their whining soon enough.
.
- Follow-Ups:
- Re: Changing UnixID
- From: Lew Pitcher
- Re: Changing UnixID
- References:
- Changing UnixID
- From: balreddy . gattu
- Changing UnixID
- Prev by Date: Re: subtotalling identical records
- Next by Date: [newbie] How to copy and paste many command at once ?
- Previous by thread: Re: Changing UnixID
- Next by thread: Re: Changing UnixID
- Index(es):
Relevant Pages
|