how will u create user with out asking a password?
Answers were Sorted based on User's Feedback
Answer / ksr
root@guestws # useradd -c "test user" -d
/export/home/test123 -m -s /bin/ksh test123
64 blocks
This is the entry from /etc/passwd file
test123:x:14006:1:test user:/export/home/test123:/bin/ksh
root@guestws # tail /etc/shadow
test123:*LK*:::::::
root@guestws # passwd -u test123
passwd: password information changed for test123
root@guestws # tail /etc/shadow
test123::14642::::::
Here you can login to "test123", but it won't ask you any
password.
root@guestws # su - test123
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ pwd
/export/home/test123
$ id -a
uid=14006(test123) gid=1(other) groups=1(other)
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / r
Generate SSH keys for the user and update it under user
home directory/.ssh/authrization_keys.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / neelakanteswara reddy
Create user first and use the below command
# passwd -u user1
The above command will make the password null for user.
| Is This Answer Correct ? | 0 Yes | 2 No |
How to add a patch on multiple servers(400) at a time.
how to chk who r the users currently ogged in to the system..?
what is the use of TCP wrappers
The NIC is failed in Cluster configuration. what is state of service group.whether NIC resource probed,if so how many times probed?
NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?
What is meant by jumpstart?
what is use of boot -a
When would you want to reconfigure the kernel and how would you do it?
what is the main difference between windows , unix ,linux, operating syatems? And why the companies in the industry prefer to use solaris os ? why may be the reason?
how to create 30 gb of volume using raid 0 concatination on three different disk
how many servers are maintaining and what is your 'user base' in the organization?------friends please tell me in what way the answer should be?
what is SMF service? And what it does in Solaris 10