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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2444


Local zone in shutting down state.how to bring state of zone to installed?

2078


Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

3188


What is cachefs?

2300


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2677


In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

2295


How do u know that,what patch can be applicable on the system?

2230


How to create a gateway?

7717


What is the use of Sam utility in solaris

2810


What is the zone in DNS?

2309


how can u give space garentee for volume in netapp storage

3223


hi to all,, i need few real time issues please provide me,, if you have any,,,

2105