cap_mkdb & login.conf.db

Kelly D. Grills kdgrills at the-grills.com
Tue Nov 14 00:13:52 UTC 2006


On Mon, Nov 13, 2006 at 03:01:17PM -0800, T. Fields wrote:
> 
> So sorry to bother. But I have been looking through the extensive 
> documentation provided with freeBSD and can't find the answer, so I thought 
> I would ask for help.
> 
> I am trying to set the path variable upon boot-up. I have altered the 
> /etc/login.conf  as well as the global /etc/profile but the path is being 
> set via /etc/login.conf.db so my question.
> 
> When the system is installed and the installation scripts are run what is 
> the command line for
> 
> cap_mkdb ?
> 
> I would like to alter /etc/login.conf.db but I don't know which files other 
> than /etc/login.conf to include in the invocation of the command and I 
> don't want to muck the works.

See section 13.7 of the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-limiting.html

Also the man pages for login.conf and cap_mkdb:
LOGIN.CONF(5), CAP_MKDB(1)

The short answer is: cap_mkdb /etc/login.conf

-- 
Kelly D. Grills
kdgrills at the-grills.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 243 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061114/f20941cc/attachment.pgp


More information about the freebsd-questions mailing list