2 # Copyright (C) 2008 OpenWrt.org
4 ps3_db_bin
=/usr
/sbin
/ps3-flash-util
5 ps3_db_owner_petitboot
=3
8 if [ ! -f $ps3_db_bin ] ||
9 [ ! `$ps3_db_bin -P $ps3_db_owner_petitboot $ps3_db_key_telnet` ] ||
10 [ `$ps3_db_bin -P $ps3_db_owner_petitboot $ps3_db_key_telnet` = 0 ]; then
13 === IMPORTANT ==========================
14 Telnet login is disabled for security
15 reasons. Enabling telnet login on the
16 host will allow any user connected to
17 the same network to login to the host.
19 You can enable telnet login with the
20 following command in the host console:
22 # $ps3_db_bin -H $ps3_db_owner_petitboot $ps3_db_key_telnet 1
24 You can disable telnet login with the
25 following command in the host console:
27 # $ps3_db_bin -H $ps3_db_owner_petitboot $ps3_db_key_telnet 0
28 ----------------------------------------
33 grep '^root:[^!]' /etc
/passwd
>&- 2>&-
34 [ "$?" = "0" -a -z "$FAILSAFE" ] &&
40 === IMPORTANT ============================
41 Use 'passwd' to set your login password
42 this will disable telnet and enable SSH
43 ------------------------------------------
This page took 0.04989 seconds and 5 git commands to generate.