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

Re: Username length inconsistencies.



In article <87ogwd4q25.fsf@psyche.evansnet> you wrote:
> <aqy6633@acf5.nyu.edu>(Alex Yukhimets) writes:

>> Sure, this would work, but I was talking about _shell_script_  way of doing 
>> that...

> #!/bin/bash

> test $UID -eq 0

Don't do that.  This is Debian and we already have something that can work in
all POSIX shells, it's called id.

-- 
Debian GNU/Linux 1.3 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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


Reply to: