The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixing this long username thing...

Discussion in 'General Discussion' started by Afro Boy, Jan 8, 2004.

  1. Afro Boy

    Afro Boy Member

    Oct 14, 2003
    Likes Received:
    Trophy Points:
    I've been reading the threads about lifting the username limit from 8 characters. Seem to be two solutions around.

    1. Edit /scripts/wwwacct to either remove the 'if' check or add an $ENV{'LONGUSERS'}=1 to the top of the script. Here

    2. Add "env LONGUSERS=1" to the rc.local script. Here

    I'm having some troubles implementing this and hope someone out there can help me.

    When I add the $ENV to the top of wwwacct, it works fine for creating new users, but now when I'm trying to change their account names. Also, the hack to check the diff when updates to the file are done feel a bit messy to me.

    Therefore, I looked at the rc.local idea. It doesn't seem to work for me. Being a little new to linux, I have 2 rc.local files and neither do the job (/etc/rc.d/rc.local & /etc/rc.local)

    Any ideas anyone out there can give me?


Share This Page