git: nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users

Aaron LI aly at crater.dragonflybsd.org
Fri May 15 23:51:16 PDT 2020


commit 04e94b32b029cd25e4d519cb800fbd623421da9a
Author: Aaron LI <aly at aaronly.me>
Date:   Sat May 16 12:45:42 2020 +0800

    nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users
    
    Use pw(8) to add the 'installer' user and use chpass(1) to disable
    passwords for the 'installer' and 'root' users.  So we can drop the
    customized 'master.passwd' file and be in sync with the one in
    usr/src/etc.

Summary of changes:
 nrelease/Makefile               |  6 ++++++
 nrelease/gui/etc/master.passwd  | 25 -------------------------
 nrelease/gui/etc/passwd         | 25 -------------------------
 nrelease/root/etc/master.passwd | 25 -------------------------
 4 files changed, 6 insertions(+), 75 deletions(-)
 delete mode 100644 nrelease/gui/etc/master.passwd
 delete mode 100644 nrelease/gui/etc/passwd
 delete mode 100644 nrelease/root/etc/master.passwd

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04e94b32b029cd25e4d519cb800fbd623421da9a


-- 
DragonFly BSD source repository



More information about the Commits mailing list