Bug 60635

Summary: Enhanced adduser script allowing different homedir create permissions.
Product: Base System Reporter: SIUE non-NIS acct. <unix>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
adduser.sh.diff
none
file.diff none

Description SIUE non-NIS acct. 2003-12-27 21:30:16 UTC
	Before, when using adduser, I became frustrated with the fact that
	home directories were created with mode 0755 when I wanted 0751.  I
	kept forgetting to set permissions and decided to fix adduser to do
	this for me.  I figured it could help others as well.

Fix: You could either let users write their own script in addition to
	adduser so that it changes the permissions after adding a user, or
	this patch could be applied, letting a user choose home directory
	permissions on-the-fly (in case they're forgetful like me).

	Patches for adduser.sh and adduser.8 are included here.
How-To-Repeat: 	Run the current adduser utility and then view the permissions to the
	newly created home directory.  Currently, they're 0755.
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2003-12-27 21:45:44 UTC
State Changed
From-To: open->closed

Duplicate of bin/60636.