Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2015 14:44:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196514] bsdconfig usermgt: selected user for edit always not found
Message-ID:  <bug-196514-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196514

            Bug ID: 196514
           Summary: bsdconfig usermgt: selected user for edit always not
                    found
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: olevole@olevole.ru

Created attachment 151358
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151358&action=edit
work arond for login not found in bsdconfig usermgmt

I tried to use bsdconfig usermgm to edit an existing entry on FreeBSD-current
and when select a user received: XXX: Login not found.

It seems this line in user.subr not quite right:

f_quietly pw usershow -n "$input" -u -1

pw with negative number for -u return error:

% pw usershow -n "oleg" -u -1
pw: -u expects a number
% echo $?
64

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196514-8>