Create setup

master
呓喵酱 2 years ago committed by GitHub
parent 10bf4d6224
commit 1c190b5588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      setup

15
setup

@ -0,0 +1,15 @@
$ vi /etc/systemd/logind.conf
$ systemctl restart systemd-logind
#passwd
iotcat:x:1000:1000::/home/iotcat:/bin/bash
ushio:x:1001:1001::/home/ushio:/sbin/nologin
#visudo
Defaults rootpw
Defaults:ushio !rootpw
iotcat ALL=(ALL) ALL
ushio ALL=(ushio) ALL
$ passwd -d ushio
Loading…
Cancel
Save