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...


If a User Account is locked,which file you need to check and
how do you get to know at what time it has been locked.

Answers were Sorted based on User's Feedback



If a User Account is locked,which file you need to check and how do you get to know at what time it..

Answer / swamy naidu kollu

By default User account information is stored
in /etc/passwd & /etc/shadow file. So have to
edit /etc/shadow file and delete the *LK* for that
particular user password mapped in /etc/shadow.

or

unlock it using

#passwd -u <user name>

or

#passwd <user name>
Newpasswd:*******
Re-enter:*******
==================================================
With regards to logs depends on what naming service you are
using ( NIS or LDAP). You can check them in the log files
at what time the user account was locked.

Is This Answer Correct ?    8 Yes 1 No

If a User Account is locked,which file you need to check and how do you get to know at what time it..

Answer / arun

You can try the above solution...

And one more command is last command will help you find user
information...

Is This Answer Correct ?    1 Yes 0 No

If a User Account is locked,which file you need to check and how do you get to know at what time it..

Answer / icha

For NIS, you may try the directory /var/yp/ypfile, yp is an
acronym for yellow page/s

Is This Answer Correct ?    0 Yes 0 No

If a User Account is locked,which file you need to check and how do you get to know at what time it..

Answer / sudas

Thank you Swamy.
Can you please share the log file location,if it is NIS or
LADAP.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Solaris Commands Interview Questions

What are printer daemon

2 Answers  


how do u configure the disk

5 Answers  


I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.

3 Answers  


How to find & replace bad disks in solaris & VXVM?plz explain step by step?

4 Answers  


How to add a new LUN in exit disksets (metasets) in solaris please answer me step by step procedure?

0 Answers   IBM,


where we find bp.conf file? which path?

11 Answers   IBM, Symphony,


what is the back up software we r using in solaris 8,9,10

2 Answers  


What are the protocols in VCS

3 Answers  


how to now the network speed, whether it is a full duplex or half duplex? and what is full duplex and half duplex

3 Answers   Thomson Reuters,


What are the Patch Management Issues you have faced and how did you resolve them?

1 Answers   IBM,


how to find out the how many disks attached in the server?

13 Answers   Accel, HP,


how to recover root passwd ?

11 Answers   HP,


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)