parent
10bf4d6224
commit
1c190b5588
1 changed files with 15 additions and 0 deletions
@ -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…
Reference in new issue