|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
Username longer than 16 characters
Is there any way to enable usernames with more than 16 characters. I need to send mail using the mail MUA that has more than 16 chars and I tried to create a user with that much chars, but pw doesnt allow more than 16.
|
|
||||
The maximum login name seems to be defined in sys/param.h (MAXLOGNAME) and utmp.h.
It should be possible to increase this and recompile, but it doesn't seem to be recommended, see: adduser(8) (RESTRICTIONS section) http://markmail.org/message/nzaqc2zab5dvttol As suggested in the above link, you can use mail aliases for mail adresses with >16 characters
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
I simply can't make it to work.
This is what i usually do, just add a user and send mail. Lets say username is "lessthan16" and my domain is "me.org". I would just add a user, type "mail test@test.org" and type the mail, then send it. Now lets say a username should be "thisismorethan16charlong" and my domain is "me.org". This username cannot be created so lets say i create a user "lessthan16". When I log in with "lessthan16" and type "mail test@test.org" ( type the message ), I want that the recived mail by test@test.org has the From field like this: "thisismorethan16charlong@me.org". Can anyone please tell me how this should be done. If you can write the example for this username I would be very grateful. Thank You in advance. With regards, _hmp_ Doesn't matter, I'm stupid, SOLVED! Thank you all. Last edited by _hmp_; 12th January 2009 at 11:16 PM. |
|
|||
Well the problem is I didn't really fix it. I just spoofed the mail using sendmail so my username looks like it is longer than 16 chars. Using aliases i redirected the longer then 16 char mail to my user (less then 16 char) mail.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Input foreign characters under X11 | Beastie | General software and network | 5 | 30th August 2009 11:51 AM |
my radeon hd card is no longer working | iacbsd | OpenBSD General | 8 | 17th July 2009 10:14 AM |
sorting special characters | gosha | Programming | 15 | 9th April 2009 02:29 AM |
Username Change | ninjatux | Off-Topic | 3 | 24th March 2009 06:45 PM |