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

Re: Username length inconsistencies.

Alex Yukhimets <aqy6633@acf5.nyu.edu> wrote:
> Again, the above solution is OK for debhelper (as well as "id -u" one),
> but assuming that perl is present on the system is still non-portable.
> Most (if not all) commercial unices got shipped without perl... 

If you want that kind of portability, you don't want to be checking for
root anyways.  Nowadays there's this concept of "capabilities" which means
that uid 0 can be an unpriviledged account.

The most portable thing is to simply check your results, and issue an error
report if something seems wrong.


To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: