[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uid -1

Neal H Walfield wrote:
> Hi all,
> Since many funtions return -1 for unsuccessful uid lookups,
> it would seem to me to be a good idea to make a user corrosponding
> to this.  Such as in sush etc:
> neal@hurd:~ $ sush
> bash-2.03$ whoami
> whoami: cannot find username for UID 4294967295
> bash-2.03$
> Comments?

-1 is not a valid uid anymore, as it is also used as "do not change" in
chown() calls.

I am not sure what to do with the above error message, though.


Reply to: