Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-02-14T19:49:50Z by SystemAdmin
SystemAdmin
SystemAdmin
6902 Posts
ACCEPTED ANSWER

Pinned topic getpwent error

‏2013-02-14T19:45:52Z |
I am trying to use getpwent to get password entries for all users. However, it is returning the following error: "No such process".
There is no mention of this error anywhere in the man page. Can somebody kindly explain what might be the cause of problem?
TIA
Updated on 2013-02-14T19:49:50Z at 2013-02-14T19:49:50Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6902 Posts
    ACCEPTED ANSWER

    Re: getpwent error

    ‏2013-02-14T19:49:50Z  in response to SystemAdmin
    Just to clarify, there are close to 1500 users on the box (determined by lsuser), and getpwent() works for some users.