need script for locked and unused user accounts in /export/home directory

Hi all,

i have to need one script:

  1. it will capture the unused user accounts in /export/home directory.
  2. it will capture the locked user accounts in /export/home directory.

Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false)
the script should be in korn shell.

anybody hand idea regarding this script please help me. i would great thankful to them.

regards
krishna

Sorry. I don't speak for others however I don't believe this is a script-for-hire site. If you want to take a shot at writing a script, we'll help you write it by pointing you in the right direction or helping with correcting errors. But generally you have to show some effort other than asking a bunch of questions :slight_smile:

Carl