Re: Want to set custom locations for passwd/shadow.
Thorsten Kukuk <[email protected]> Wed, 9 Oct 2013 06:11:58 +0200
| Newsgroups | gmane.linux.pam |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 08, Lance Fredrickson wrote: > I'm using Linux-Pam on an embedded linux device, where most the root > directory is read-only. I compile Linux-Pam and other software with > --prefix=/opt where addition libraries and applications can be stored and > run from usb. It seems that the default location for 'passwd', 'shadow', > and pam.d conf file locations is very much hard-coded to /etc. Yes, it is hardcoded in the complete system, which includes libc and other tools/libraries. You need to patch them all. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)