how will u create user with out asking a password?

Answers were Sorted based on User's Feedback



how will u create user with out asking a password?..

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

how will u create user with out asking a password?..

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

how will u create user with out asking a password?..

Answer / lawrance

Create a user & passwd -u user

Is This Answer Correct ?    2 Yes 2 No

how will u create user with out asking a password?..

Answer / dhawal

echo "newuser::0:0::/:/bin/bash" >> /etc/passwd

Is This Answer Correct ?    2 Yes 3 No

how will u create user with out asking a password?..

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 will u create user with out asking a password?..

Answer / pavani

useradd -u 345 user1.

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More Solaris AllOther Interview Questions

when new Luns are added to server ,how to brought them under veritas control?

1 Answers   Thomson Reuters,


what is the diff between Sol9 and Sol10 Booting procedure

3 Answers   IBM,


what is df -kh i/o error ?How to Troubleshoot ?

2 Answers   Siemens,


What is cachefs?

0 Answers  


What does init 0 do?

9 Answers   HCL,






how to add a disk group in veritas from one system to another system?

2 Answers   TCS,


what are the various layouts that are available in VxVM?

3 Answers   IBM,


how to kill the process

6 Answers   Lehman Brothers,


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

1 Answers  


What is the procedure to do kernel patching?

4 Answers   IBM,


how to freeze nodes in vcs?tell me step by step?

3 Answers   Mphasis,


what r the packages for intel machine when u install

1 Answers   IBM,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)