Displaying 2 results from an estimated 2 matches for "warewolf".
Did you mean:
carewolf
2018 Sep 04
2
Change password and add user on RO filesystem
Hi everyone
I'm trying to create system with RO root filesystem, so i'm using
/etc/sysconfig/readonly-root along wih /etc/rwtab and /etc/statetab.
Apart of numerous problems with services running on RO filesystem (which
i'm constantly resolving adding entries to /etc/statetab) one thing
popped up. I'm unable to add user or change his password. Error is
'cannot lock
2018 Sep 05
0
Change password and add user on RO filesystem
...n
> CentOS) some files being created in /etc. For example /etc/shadow.<pid>,
> and some others with PID in name. Obviously it's impossible on RO
> filesystem...
>
> Is there any workaround (apart of remounting whole filesystem RW)?
Have you looked at this article?
https://warewolf.github.io/blog/2013/10/12/setting-up-a-read-only-rootfs-fedora-box/
Unfortunately it doesn't really provide a local workaround, but if you
have something like LDAP available already that might be a way to go.
If not (and assuming you've added /etc/passwd and friends to
/etc/statetab*), on...