*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> sysadm/modifyUserAccount (1)              
Title
Content
Arch
Section
 

Contents


MODIFYUSERACCOUNT(1M)					 MODIFYUSERACCOUNT(1M)


NAME    [Toc]    [Back]

     modifyUserAccount - modify	an existing user account

SYNOPSIS    [Toc]    [Back]

     /usr/sysadm/privbin/modifyUserAccount -l login-name [-P | -N | -R]	[-F
     <new-full-name>] [-S <new-shell-program>] [-G <new-group-name | new-
     group-ID>]	[-H <new-home-dir> [-C]	[-M] [-D] ] [-U	<new-user-ID>]

DESCRIPTION    [Toc]    [Back]

     Modify an existing	user account and do associated handling	of user	files
     if	needed.

     The modifyUserAccount command has the following required parameter:

     -l	login-name
	  The login name of the	user account to	modify

     The modifyUserAccount command has the following optional parameters:

     -P	  Indicates that the account password is to be replaced	with a new
	  password. The	command	will prompt the	user for the new password.
	  This option may not be used in conjunction with -N or	with -R.

     -N	  Indicates that the account password should be	set to NULL.  The
	  system will still display the	password prompt	when a password	is
	  required, but	no password needs to be	entered.  This option may not
	  be used in conjunction with -P or -R.

     -R	  Indicates that the account password should be	deleted.  The system
	  will not prompt for a	password for this account.  This option	may
	  not be used in conjunction with -P or	-N.

     -F	new-full-name
	  Indicates that the full name associated with the account is to be
	  replaced with	the new	full name.

     -S	new-shell-program
	  Indicates that the shell program associated with this	account	is to
	  be replaced with the new shell program.

     -G	new-group-name or new-group-ID
	  Indicates that the account should be associated with a new Primary
	  group.  All files owned by this user and by the old group will be
	  reassigned to	the new	group.	The primary group of network access
	  accounts can not be changed with this	command.

     -H	new-home-dir
	  Indicates that the home directory associated with this account is to
	  be replaced with the new home	directory.  To create the new home
	  directory, you must also specify the -C option.  To copy the files
	  in the old home directory to the new home directory, specify the -M
	  option.  To delete the old home directory, specify the -D option.



									Page 1






MODIFYUSERACCOUNT(1M)					 MODIFYUSERACCOUNT(1M)



     -U	new-user-ID
	  Indicates that the user ID associated	with this account should be
	  changed to the new user ID.  All files currently owned by this
	  account will be reassigned to	the new	user ID.  The user ID of
	  network access accounts cannot be changed with this command.

FILES    [Toc]    [Back]

     /etc/passwd
	  File which contains list of user accounts

SEE ALSO    [Toc]    [Back]

      
      
     sysmgr(1M), runpriv(1M), UserManager(1M), addUserAccount(1M),
     deleteUserAccount(1M), passwd(4)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
usermod Linux Modify a user account
parmodify HP-UX modify an existing partition
addUserAccount IRIX add a user account to the system
groupmod OpenBSD modify an existing group on the system
deleteUserAccount IRIX delete a user account from the system
useradd Tru64 Adds a new user login account
userdel Linux Delete a user account and related files
userdel Tru64 Deletes a user login account from the system.
rhosts Tru64 Specifies remote users who can use a local user account
shosts Tru64 Specifies remote users who can use a local user account
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service