mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
The adduser(8) prompt allows one to set the mode of a new home
directory, but pw(8) doesn't honor the -M mode if the home directory
already exists at creation time. It doesn't seem to make sense to
ignore the mode (which may lead to a security issue on the system being
configured) when we'll happily chown an existing directory, so fix the
inconsistency.
PR: 280099
Reviewed by: des, jlduran (previous version)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| adduser.8 | ||
| adduser.conf.5 | ||
| adduser.sh | ||
| Makefile | ||
| Makefile.depend | ||
| rmuser.8 | ||
| rmuser.sh | ||