|
James Rich wrote: > Perhaps the first page of the man page for getpwuid would be helpful. > Apparently SCO has a non standard getpwuid() function. Or a non-standard getuid() function, as noted at the bottom of the Linux man page, where getuid() could be returning something like 257000 instead of 1000. In this case, I think the best solution would be to use the $HOME and $LOGNAME (or $USER) environment variables rather than the password database.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.