FreeBSD Bugzilla – Attachment 174664 Details for
Bug 208774
bsdconfig bug when editing users
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
strip appended group name from _user_gid before using it with the pw command
user.subr.patch (text/plain), 412 bytes, created by
Martin Waschbüsch
on 2016-09-11 20:29:02 UTC
(
hide
)
Description:
strip appended group name from _user_gid before using it with the pw command
Filename:
MIME Type:
Creator:
Martin Waschbüsch
Created:
2016-09-11 20:29:02 UTC
Size:
412 bytes
patch
obsolete
>--- user.subr.orig 2016-03-25 02:10:01.000000000 +0100 >+++ user.subr 2016-09-11 22:14:39.121211000 +0200 >@@ -1013,6 +1013,8 @@ > eval f_shell_escape \"\$user_$var\" _user_$var > done > >+ user_gid=$( echo $user_gid | awk '{print $1}' ) >+ > local cmd="pw usermod -n '$_user_name'" > [ "$user_gid" ] && cmd="$cmd -g '$_user_gid'" > [ "$user_shell" ] && cmd="$cmd -s '$_user_shell'"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208774
: 174664