Date: Wed, 18 Jan 2017 11:24:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216224] [regression] `pw usermod $username -m` doesn't work after r286196 Message-ID: <bug-216224-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216224 Bug ID: 216224 Summary: [regression] `pw usermod $username -m` doesn't work after r286196 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ae@FreeBSD.org Keywords: regression pw usermod -m doesn't work after r286196. Now it requires directory name. An old FreeBSD 9: # pw user show btr btr:*:6666:20::0:0:Andrey Elsukov:/home/btr:/bin/csh # rm -rf /home/btr # pw usermod btr -m # ls -l /home/btr total 10 -rw-r--r-- 1 btr staff 898 Jan 18 14:02 .cshrc -rw-r--r-- 1 btr staff 186 Jan 18 14:02 .login -rw-r--r-- 1 btr staff 91 Jan 18 14:02 .login_conf -rw------- 1 btr staff 301 Jan 18 14:02 .mail_aliases -rw-r--r-- 1 btr staff 267 Jan 18 14:02 .mailrc -rw-r--r-- 1 btr staff 680 Jan 18 14:02 .profile -rw------- 1 btr staff 212 Jan 18 14:02 .rhosts -rw-r--r-- 1 btr staff 909 Jan 18 14:02 .shrc Recent FreeBSD 12 (stable/11 too): # pw user show btr btr:*:6666:0:russian:0:0:Andrey V. Elsukov:/home/btr:/bin/csh # rm -rf /home/btr # pw usermod btr -m # ls -l /home/btr ls: /home/btr: No such file or directory # pw usermod btr -d /home/btr -m # ls -l /home/btr ls: /home/btr: No such file or directory # pw usermod btr -d /home/btr/../btr -m # pw user show btr btr:*:6666:0:russian:0:0:Andrey V. Elsukov:/home/btr/../btr:/bin/csh # ls -l /home/btr total 10 -rw-r--r-- 1 btr wheel 983 18 =D1=8F=D0=BD=D0=B2. 14:22 .cshrc -rw-r--r-- 1 btr wheel 182 18 =D1=8F=D0=BD=D0=B2. 14:22 .login -rw-r--r-- 1 btr wheel 91 18 =D1=8F=D0=BD=D0=B2. 14:22 .login_conf -rw------- 1 btr wheel 301 18 =D1=8F=D0=BD=D0=B2. 14:22 .mail_aliases -rw-r--r-- 1 btr wheel 267 18 =D1=8F=D0=BD=D0=B2. 14:22 .mailrc -rw-r--r-- 1 btr wheel 728 18 =D1=8F=D0=BD=D0=B2. 14:22 .profile -rw------- 1 btr wheel 212 18 =D1=8F=D0=BD=D0=B2. 14:22 .rhosts -rw-r--r-- 1 btr wheel 909 18 =D1=8F=D0=BD=D0=B2. 14:22 .shrc --=20 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-216224-8>