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 |
What is OBP and how u r going to access it?
what is split brain? if it happens, what are the solutions need to be applicable?
what is milestone and what is use of it in Solaris
Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.
What is LOM and how ur going to access it?
If you can ping a server, but can't telnet or ssh to it, what could be the problem?
which hardware u using present
what is the use of TCP wrappers
Is there any difference b/w dhcp and jumpstart..?
what are soft links and hard links, and differentiate them.
what are the questions that will be asked for a 3yrs experienced candidate in solaris system admin. how to face first hr round if one puts fake experience of 2or 3 yrs in solaris system admin. please respond with an opt answer. thank you in advance...
how u can push the user details in NIS