...
|
...
|
@@ -15,7 +15,7 @@ cp sshchat sshchatd /var/local/sshchat/bin
|
15
|
15
|
|
16
|
16
|
# 2. Add user "chat"
|
17
|
17
|
|
18
|
|
-adduser --system --group --gecos -,-,-,-,- --home /var/local/sshchat --shell /var/local/sshchat/bin --disabled-password chat
|
|
18
|
+adduser --system --group --gecos -,-,-,-,- --home /var/local/sshchat --shell /bin/false --disabled-password chat
|
19
|
19
|
|
20
|
20
|
# 3. Add the directory for ssh login and data
|
21
|
21
|
|
...
|
...
|
@@ -62,7 +62,7 @@ case "$1" in
|
62
|
62
|
$0 start
|
63
|
63
|
;;
|
64
|
64
|
*)
|
65
|
|
- echo "Usage: /etc/init.d/swiki {start|stop|restart|force-reload}"
|
|
65
|
+ echo "Usage: /etc/init.d/sshchatd {start|stop|restart|force-reload}"
|
66
|
66
|
exit 1
|
67
|
67
|
;;
|
68
|
68
|
esac
|