You should be root to do this.
Use the useradd like this and see
/local/home dire should be present, there should be no conflicting uid 47367 in the /etc/passwd file.you can grep to check. group 18 should be a valid group too. Whats your OS version, showrev ?
SEEMS like this file /etc/user_attr is missing or been deleted. Restore it and try
This User Gave Thanks to incredible For This Post:
hello,
Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux).
I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Hi all,
I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin.
Name for the user Tivoli
Thanks & Regards
Babu (7 Replies)
i am trying to create a user on solaris 10. it is not taking user name with more than ten characters. which file i need to edit to do this setting. (4 Replies)
hi seniors
i want to create the users like when the user try to login it should not
should not promt for passwd is it possible to create users like this
please help me (6 Replies)
Hi Gems..
I am working out on project of creating a mass user on 100 server. Please help me with script where i can create an user id of new 80 user using shell script
Thanks in advance.
Indrajit Bhagat (1 Reply)
Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility?
Please do the needful................................ (4 Replies)
Hi,
I want to create a user using useradd -m test. How can I restric the user not to change his directory from his home dir?
Thanks,
Suresh (2 Replies)
Hello everybody,
I'm new to sh scripting and relatively new to linux in general which is why I've come here for assistance.
I have been attempting to make a shell script which automatically creates user accounts from a file list and further creating directories and moving files into it etc.... (3 Replies)
Discussion started by: charlieabee
3 Replies
LEARN ABOUT REDHAT
newusers
NEWUSERS(8) System Manager's Manual NEWUSERS(8)NAME
newusers - update and create new users in batch
SYNOPSIS
newusers [new_users]
DESCRIPTION
newusers reads a file of user name and cleartext password pairs and uses this information to update a group of existing users or to create
new users. Each line is in the same format as the standard password file (see passwd(5)) with the following exceptions.
pw_passwd This field will be encrypted and used as the new value of the encrypted password.
pw_age This field will be ignored for shadow passwords if the user already exists.
pw_gid This field may be the name of an existing group, in which case the named user will be added as a member. If a non-existent
numerical group is given, a new group will be created having this number.
pw_dir This field will be checked for existence as a directory and a new directory with the same name will be created if it does not
already exist. The ownership of the directory will be set to be that of the user being created or updated.
This command is intended to be used in a large system environment where many accounts are updated at a single time.
CAVEATS
The input file must be protected since it contains unencrypted passwords.
SEE ALSO passwd(1), useradd(8)AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
NEWUSERS(8)