[DA general] Allow number only usernames ?

Daredevil

Verified User
Joined
Oct 24, 2004
Messages
53
Location
Netherlands
I was wondering if there is _any_ way of hardcoding the username checking out of DA.

We are used to using number-only usernames but DA does not allow that, the reason is obviously that Linux does not allow number-only usernames either, but BSD does.


So, are there any known ways of removing the checks so I CAN create usernames with only numbers ?
 
thoroughfare said:
Why not install DA on a FreeBSD box?
My bet is that's exactly what he's done, but he still can't use all numerical usernames because DA itself is not allowing a username that doesn't start with an alpha character.

The problem, if you'll call it that, is exactly as Daredevil states.

My bet is DA doesn't allow it because if they did they'd have to maintain separate sourcecode for Linux and Unix.

If they maintain separate codebases, then they could do it easily.

Jeff
 
thoroughfare said:
Why not install DA on a FreeBSD box?

Matt :)

I AM running Freebsd on my servers ;). As jlasman hinted it's not allowed by DA ;).

I'll post something in the feature request thread :).
 
Hello,

Ok, I've added a:

#ifndef __FreeBSD__

to the check for the first character so freebsd is exempt. (next release)

John
 
I still don't recommend numbered usernames. I didn't document which OS's were affected, but I recall seeing exim get confused with file ownerhips, thinking that the number is the UID and not the username, thus matching it up with a different user.

John
 
Back
Top