Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177641249
D52464.1794924511.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
793 B
Referenced Files
None
Subscribers
None
D52464.1794924511.diff
View Options
diff --git a/usr.sbin/adduser/rmuser.sh b/usr.sbin/adduser/rmuser.sh
--- a/usr.sbin/adduser/rmuser.sh
+++ b/usr.sbin/adduser/rmuser.sh
@@ -303,7 +303,7 @@
show_usage
exit 1
else
- echo -n "Please enter one or more usernames: "
+ echo -n "Please enter one or more usernames, or press enter to exit: "
read userlist
fi
fi
@@ -333,11 +333,11 @@
echo
echo $userrec
echo
- if ! prompt_yesno "Is this the entry you wish to remove? " ; then
+ if ! prompt_yesno "Is this the entry you wish to remove? (yes/no): " ; then
continue
fi
_homedir=`echo $userrec | awk -F: '{print $9}'`
- if prompt_yesno "Remove user's home directory ($_homedir)? "; then
+ if prompt_yesno "Remove user's home directory? [$_homedir] (yes/no): "; then
pw_rswitch="-r"
fi
else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 17, 2:08 PM (10 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41801272
Default Alt Text
D52464.1794924511.diff (793 B)
Attached To
Mode
D52464: rmuser.sh: Improve prompt consistency with adduser
Attached
Detach File
Event Timeline