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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.