opnsense-src/usr.sbin/adduser
Kyle Evans b50d2127d9 pw: set the user's home directory mode if it existed
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 6a7238fd7c60f35191eadaa026d3d395c6140c47)
2024-12-10 17:05:51 -06:00
..
adduser.8 pw: set the user's home directory mode if it existed 2024-12-10 17:05:51 -06:00
adduser.conf.5 adduser: Better document ZFS dataset creation. 2024-08-21 12:31:06 +02:00
adduser.sh adduser: create dataset only if home is directly within dataset 2024-05-23 07:52:37 -05:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rmuser.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
rmuser.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00