[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: heartbeat by
alan from 24.221.212.80
Alan Robertson
alanr at unix.sh
Fri Sep 10 15:26:15 MDT 2004
Lars Marowsky-Bree wrote:
> On 2004-09-10T01:12:23,
> linux-ha-cvs at lists.community.tummy.com said:
>
> This doesn't introduce a new bug, but if we have this check, we probably
> should verify that the whole string is all digits. Yes, there are
> broken setups out there which have usernames in the form of '5dd', we
> should at least cl_log(LOG_WARN,...) about that and proceed to call
> getpwnam.
Login names may not begin with digits. This is a UNIX convention, perhaps
even a standard. I'm not going to go out of my way to help someone do the
wrong thing.
Otherwise you could have *real* ambiguity with serious consequences
What about a login name of "0" whose real user id is 500, but some code
mistakes for root - because there is inherent ambiguity when allow this.
Give me a break ;-)
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA-Dev
mailing list