Bug 13826 - Cannot edit passwd file due to readonly filesystem
Summary: Cannot edit passwd file due to readonly filesystem
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.32.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-30 19:37 UTC by David
Modified: 2021-05-30 19:37 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
output.log (1.35 KB, text/plain)
2021-05-30 19:37 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-05-30 19:37:17 UTC
Created attachment 8981 [details]
output.log

I'm trying to change password, file /etc/shadow is "mount --bind" in a writable filesystem so the file can be updated, but busybox will try to create a file in /etc/shadow+ , and since the filesystem is not writable, the command fails.