The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Is there a way to bind sshd to a particular NIC/IP by romandas2004-10-21 10:07:38
  Check /etc/ssh/sshd_config, by krikkert2004-10-21 10:10:20
    Thanks :) by romandas2004-10-21 10:14:28
      Considering the same myself, by krikkert2004-10-21 10:16:14
        use keys! by sylencer2004-10-21 10:53:57
          In regards to usernames.. is there a maximum.. by romandas2004-10-21 11:50:38
            Dunno about usernames, but there might be on pw's. by bwkaz 2006-11-19 12:55:59

If you still use DES password hashing, the limit is 8 characters. But I don't think any distro by default uses DES anymore; AFAIK they're all MD5 now, which has no such limit.

To find out for sure, you can check whether the "shadow" package is installed (it also has to be compiled with MD5 enabled, but it almost always is). If it is installed, then look in its /etc/login.defs file for the MD5_CRYPT_ENAB directive. It should be YES.

As far as usernames go, I've never heard of a limit. The Linux admin FAQ page seems to confirm:

clicky

In short, it only matters if you need the username in wtmp and utmp to match the actual username (the limit in those files is 32 bytes; everybody uses libc6/glibc2 now).

[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)