On Thu, 13 Sep 2007, James Mackinnon wrote:

> I am trying to read-only the system but having a seperate location rw
> 
> In order to do this, I want to re-locate the user account files so accounts
> can still be added when in read-only mode.
> 
> I have tried doing ln -s /confs/passwd /etc/passwd etc.. but when I try to
> create an account it fails with PAM or something.
> 
> Any suggestions on what I require to do this?
> 
> I've been looking but hadn't found an answer to this, likely because i'm crazy
> for trying but thats the point.

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

Reply via email to