mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 23:32:18 +08:00
25 lines
863 B
Markdown
25 lines
863 B
Markdown
```bash
|
|
cat >> /etc/passwd << "EOF"
|
|
systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false
|
|
systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false
|
|
systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false
|
|
systemd-journal-upload:x:75:75:systemd Journal Upload:/:/bin/false
|
|
systemd-network:x:76:76:systemd Network Management:/:/bin/false
|
|
systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
|
|
systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
|
|
systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false
|
|
systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/bin/false
|
|
EOF
|
|
cat >> /etc/group << "EOF"
|
|
systemd-bus-proxy:x:72:
|
|
systemd-journal-gateway:x:73:
|
|
systemd-journal-remote:x:74:
|
|
systemd-journal-upload:x:75:
|
|
systemd-network:x:76:
|
|
systemd-resolve:x:77:
|
|
systemd-timesync:x:78:
|
|
systemd-coredump:x:79:
|
|
systemd-oom:x:81:81:
|
|
EOF
|
|
```
|