11-05-2001
user creation problem
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 by giving the below command in linux
$ useradd test
----------------------
it is giving the message the below message
useradd: unable to lock the Password file
-----------------------------------------------------
what may be the reason and how to solve the problem...
with regards
varma
10 More Discussions You Might Find Interesting
1. Solaris
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)
Discussion started by: lbreddy
7 Replies
2. AIX
Dear All,
I'd like to know is there any way to determine when a user id created in AIX?
Thanks,
Istvan (2 Replies)
Discussion started by: istvan.banai
2 Replies
3. Solaris
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)
Discussion started by: raynu.sharma
4 Replies
4. Solaris
I created a user in my Solaris box , but after creating am not able to login with that user name . Can anyone tell me that i have to change any files for enabling the login. (2 Replies)
Discussion started by: rogerben
2 Replies
5. Red Hat
Hi
Thanks in advance.
How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies
6. Solaris
Hello guys,
i have a problem where i cant create a user and here some problem that i encounter.
1. /etc/passwd seems locked.
2. getting this error UX: useradd: ERROR: Cannot update system files - login cannot be created.
# useradd -u 47367 -g 1084 -c "user123" -d /local/home/user123 -s... (2 Replies)
Discussion started by: brew
2 Replies
7. AIX
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)
Discussion started by: senmak
6 Replies
8. AIX
Hi,
I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers.
where i have to put script and how to run the script.
Waiting for your reply.
Thanks in advance (5 Replies)
Discussion started by: udtyuvaraj
5 Replies
9. Solaris
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)
Discussion started by: Revathi@1
4 Replies
10. UNIX for Dummies Questions & Answers
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)
Discussion started by: suresh3566
2 Replies
LEARN ABOUT SUNOS
create-custom-resource
asadmin-create-custom-resource(1AS) User Commands asadmin-create-custom-resource(1AS)
NAME
asadmin-create-custom-resource, create-custom-resource - registers the custom resource
SYNOPSIS
create-custom-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name ] [--terse=false] [--echo=false] [--interactive=true] --restype resource_type --factoryclass classname [--enabled=true] [--description
text] [--property (name=value)[:name=value]*] jndi_name
Registers the custom resource. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--restype type of custom resource to be created.
--factoryclass class that creates the custom resource.
--enabled determines whether the resource is enabled at runtime.
--description text description of the custom resource.
--property optional attribute name/value pairs for configuring the custom resource.
OPERANDS
jndi_name JNDI name of the custom resource to be created.
Example 1: Using create-custom-resources
asadmin> create-custom-resource --user admin1 --password adminadmin1
--host pigeon --port 5001 --restype customType factoryclass "com.custom.class" --description
"this is a sample of creating a custom resource" sample_custom_resource
Command create-custom-resource executed successfully
Where sample_custom_resource is the custom resource created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-custom-resource(1AS), asadmin-list-custom-resources(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-custom-resource(1AS)