tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Login not reading /etc/login.conf.db



Perhaps the behavior is correct but I can't see why.  I have my
login.conf checked into my local SVN repo.  I tried to symlink it
into /etc but that doesn't seem to work, probably for good reason.  So
I tried compiling it from my repo with cap_mkdb outputting to /etc.

# cap_mkdb -f /etc/login.conf /...my_repo/login.conf

This creates /etc/login.conf.db but when I log in I get basic
defaults.  I then did "touch /etc/login.conf" and logged in again.
This time I got the correct settings.  It seems that /etc/login.conf
needs to exist before it will read /etc/login.conf.db even if it is
empty.  Does this seem like correct behavior or should I open a PR?

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index