Date: Sat, 8 Jul 2000 23:20:07 -0700 (PDT) From: Kelly Yancey <kbyanc@posi.net> To: freebsd-current@freebsd.org Cc: sef@kithrup.com, davidn@blaze.net.au Subject: teaching libutil about home directories Message-ID: <Pine.BSF.4.21.0007082301520.29826-100000@gateway.posi.net>
next in thread | raw e-mail | index | archive | help
PR 19755 seeks to teach nologin(8) to look for .nologin files in a user's home directory. However, I feel that such knowledge is better obtained via the nologin capability in login.conf. Basically, file and program capabilities should perform tilde expansion. Libutil already does tilde-expansion for path capabilities, although the implemention would certainly be different for files/programs. The problem is that the libutil interface does not differentiate between strings, files, and programs. User-land utilities call login_getcapstr() to get capabilitiy values for any of these types. What would be needed is a separate interface, login_getcapfile, specifically for files/programs. Unfortunately, this would then require modifying all user-land utilities to use the new interface. Is this acceptable? Is so, I'll have patches together for review shortly. Kelly -- Kelly Yancey - kbyanc@posi.net - Belmont, CA System Administrator, eGroups.com http://www.egroups.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007082301520.29826-100000>