auth {/** user: the user@host allowed to connect. Multiple IPv4/IPv6 user
* lines are permitted per auth block.*/user= "*@192.168.1.0/24";
#user= "*test@123D:B567:*";/*password: an optional password that is required to use this block*/#password= "letmein";
password= "";/** encrypted: controls whether the auth password above has been
* encrypted.*/#encrypted=yes;
encrypted=no;/** spoof: fake the users host to this. This is free-form,
* just do everyone a favor and don't abuse it. ('=' prefix on /stats I)*/spoof= "I.still.hate.packets";/*class: the class the user is placed in*/class= "opers";/** need_password: don't allow users who haven't supplied the correct
* password to connect using another auth{} block
* ('&' prefix on /stats I if disabled)
* need_ident: require the user to have identd to connect ('+' prefix on /stats I)
* spoof_notice: enable spoofing notification to admins
* exceed_limit: allow a user to exceed class limits ('>' prefix on /stats I)
* kline_exempt: exempt this user from k/glines ('^' prefix on /stats I)
* gline_exempt: exempt this user from glines ('_' prefix on /stats I)
* resv_exempt: exempt this user from resvs ('$' prefix on /stats I)
* no_tilde: remove ~ from a user with no ident ('-' prefix on /stats I)
* can_flood: allow this user to exceed flood limits ('|' prefix on /stats I)
* can_idle: exempt this user from idle restrictions ('
gline_exempt, resv_exempt, no_tilde, can_flood, can_idle;
};
本文介绍了一个复杂的配置文件示例,详细解析了如何设置用户权限、密码管理及多种控制选项等关键参数。通过本文,读者可以了解到如何精细地控制用户的访问级别、密码验证方式以及其他高级功能。
337

被折叠的 条评论
为什么被折叠?



