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 merge solaris partition
how to add swap space?
how to test and Failover services to every node in vcs tell me step by step?
how u can perform security to users?
difference between terminal & console?
What is the profile file for ordinary user, when those will execute..?
What is LOM and how ur going to access it?
what is RBac and how to create a role?
What is the difference between initialization & encapsulation in VXVM?
What does init 5 do?
I AM MR SAGAR HAVING SUN SOLARIS 10, I AM NOT ABLE TO BROWSE THE INTERNET... I AM NOT HAVING NETWORK DRIVER WHICH SUPPORT SUN SOLARIS 10. I AM HAVING RTL 8111B GB LAN .BUT I AM HAVING RT8111B GB LAN DRIVERS WHICH SUPPORT XP,VISTA,UNIX,LINUX ...BUT IT NOT SUPPORTING FOR SUN SOLARIS 10 ...PLEASE GIVE A DETAILS FOR HAVING DRIVER AND HOW TO ACTIVATE THE NETWORK TO BROWSE THE INTERNET THROUGH SUN SOLARIS 10 THROUGH MOZILLA FIRE FOX ....MY E_MAIL ADDRESS IS \r\nsagar_nithin@yahoo.com
what is the 3rd field of /etc/inittab file..? what are the possible values of that field...?