Re: Changing UnixID



In comp.unix.shell balreddy.gattu@xxxxxxxxx:
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.

man usermod

NAME

usermod - modify a user's login information on the system

Good luck

BTW
This isn't really a shell question, cua (comp.unix.admin) would
have been a better choice.


--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 52: Smell from unhygienic janitorial staff wrecked
the tape heads
.



Relevant Pages

  • Re: Changing UnixID
    ... I want to know is there any command exists to change the unixuserid. ... I want to change the id test to dev i.e my home directory will become ... Even easier is to add the -m and -d options and let usermod do the move ...
    (comp.unix.shell)
  • Re: Changing UnixID
    ... I want to know is there any command exists to change the unixuserid. ... I want to change the id test to dev i.e my home directory will become ... You'll notice their whining soon enough. ...
    (comp.unix.shell)
  • Changing UnixID
    ... I want to know is there any command exists to change the unixuserid. ... I want to change the id test to dev i.e my home directory will become ... loginid in solaris. ...
    (comp.unix.shell)
  • Re: [Info-Ingres] Question on usermod command
    ... I have tested patch P12814 for Solaris and Ingres 2.6. ... bug 101117: ... "If a usermod fails because of a lock timeout the temporary files (in ... Question on usermod command ...
    (comp.databases.ingres)
  • [PATCH][v4][11/24] Add Mellanox HCA low-level driver (FW commands)
    ... Add firmware command processing code for Mellanox HCA driver. ... * licenses. ... +static int mthca_cmd_post(struct mthca_dev *dev, ...
    (Linux-Kernel)