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

Re: Username length inconsistencies.



> > 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.

True. I guess this is the best approach.

Thanks.

Alex Y.
-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


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


Reply to: