[arch-releng] [PATCH 2/3] [configs/releng] Set a default passwd for root and arch users
Thomas Bächler
thomas at archlinux.org
Fri Oct 26 04:40:16 EDT 2012
Am 26.10.2012 04:32, schrieb Gerardo Exequiel Pozzi:
> usermod -s /bin/zsh root
> cp -aT /etc/skel/ /root/
> +echo "root:root" | chpasswd
>
> useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh arch
> +echo "arch:arch" | chpasswd
>
> chmod 750 /etc/sudoers.d
> chmod 440 /etc/sudoers.d/g_wheel
I'd rather have PermitEmptyPasswords in sshd_config. A default password
will be more confusing on the console.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20121026/96b31164/attachment.asc>
More information about the arch-releng
mailing list