Re: moving location of passwd, master.passwd and group file

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Mackinnon <jmackinnon@...>
Cc: <misc@...>
Date: Thursday, September 13, 2007 - 2:41 pm

On Thu, 13 Sep 2007, James Mackinnon wrote:

> I am trying to read-only the system but having a seperate location rw

Also /etc/pwd.db and /etc/spwd.db. The paths are defined in
/usr/include/pwd.h:

#define _PATH_PASSWD "/etc/passwd"
#define _PATH_MASTERPASSWD "/etc/master.passwd"
#define _PATH_MASTERPASSWD_LOCK "/etc/ptmp"
#define _PATH_MP_DB "/etc/pwd.db"
#define _PATH_SMP_DB "/etc/spwd.db"

What is the exact error message you are receiving?

Use ktrace if your error message is vague to get more details.

Jeremy C. Reed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
moving location of passwd, master.passwd and group file, James Mackinnon, (Thu Sep 13, 9:12 am)
Re: moving location of passwd, master.passwd and group file, Jeremy C. Reed, (Thu Sep 13, 2:41 pm)