Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How RPC will work..?

1 Answers  


Whats the boot process of VxVM?

1 Answers   Wipro,


What is process id of init daemon?

3 Answers  


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

1 Answers   IBM,


how to create nis master,slave,client

2 Answers   IBM,


What is VTS?

8 Answers   Bharti, Sun Microsystems, Suncore Microsystems,


Are kernel parameters tunable during runtime?

2 Answers  


If fsck is running, one thind u should not do.. what's that?

3 Answers  


NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?

4 Answers  


How to check number of disks added to system

4 Answers  


how to install multiple patches

5 Answers   HCL, HP, IBM,


How to merge solaris partition

2 Answers   TCS,


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)