7 lines
174 B
Bash
7 lines
174 B
Bash
#!/bin/sh
|
|
|
|
getent group squid || /usr/sbin/groupadd -r squid
|
|
getent passwd squid || /usr/sbin/useradd -g squid -r -d /var/squid -s /bin/false squid
|
|
/usr/bin/passwd -l squid
|
|
|