Want to set custom locations for passwd/shadow.

Thorsten Kukuk kukuk at suse.de
Wed Oct 9 04:11:58 UTC 2013


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)




More information about the Pam-list mailing list