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 |
user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it
If you mistype a password, how do you clear it out to retype the password again?
how to know OS release?
how to add swap space?
How to quickly mirror a volume, if the volume is empty?
how can u crete snapshot
u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?
in RAID 5 and RAID 0+1 which u will preffer (Veritas)
How do you create a solaris package?
You can ping servers on the subnet your workstation is on, but not other subnets. Why?
what is the major problem u faced in u r carrier or in u r present company
how to chk who r the users currently ogged in to the system..?