Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    2

    Post Unanswered: Solarais Commands to Delete particular lines from a file

    Hi,
    How to delete lines which are having **'s in a shadow file. In solaris OS.




    Thanks & Regards,
    Sunil :-)

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    Why?
    pwconv - updates /etc/shadow with information from /etc/passwd

  3. #3
    Join Date
    Nov 2007
    Posts
    2
    Thank you for the Reply PDreyer.
    Actually my requirement is like this. I Need to delete login accounts which are not used for longtime, i.e accounts which are having **.
    How to list the login accounts with the expirey date comment wise, so that i can delete the expired accounts.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •