![tron](/assets/img/avatar_default.png)
- The pw_setprefix() function defines the root directory used for passwd file updates. If the prefix is set to /newroot pw_lock() will operate on /newroot/etc/ptmp afterwards. The default prefix is an empty string. - The pw_getprefix() function returns the root directory which is currently used for passwd file updates.