26 Oct
2012
26 Oct
'12
8:40 a.m.
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.