看板 FreeBSD 關於我們 聯絡資訊
※ 引述《"cindy" <[email protected]>, 看板: FreeBSD》之銘言: : 如何更改設定, 才能讓 adduser username 超過 16 個字元呢? : 因為如果直接 #vipw 去更改帳號 , 更改 /etc/group 的帳號, 以及 /home/帳號. : 但使用 passwd 帳號 , 就沒法更改密碼. : thank you. man adduser username Login name. The user name is restricted to whatever pw(8) will accept. Generally this means it may contain only lowercase char- acters or digits. Maximum length is 16 characters. The reasons for this limit are historical. Given that people have tradition- ally wanted to break this limit for aesthetic reasons, it has never been of great importance to break such a basic fundamental parameter in UNIX. You can change UT_NAMESIZE in <utmp.h> and recompile the world; people have done this and it works, but you will have problems with any precompiled programs, or source that assumes the 8-character name limit and NIS. The NIS protocol mandates an 8-character username. If you need a longer login name for e-mail addresses, you can define an alias in /etc/mail/aliases. -- 未來最舊小棧 Oldest Future Object ▇█˙通訊頻率 OfO.twbbs.org ◢▉◤ ◆來源座標 61.64.64.181