Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, i'm a newbe dns 313 user
i have a question...my telnet (i have installed fun_plug 0.5) ask me the password, i know that in dns 323 i can login without password.
is it possible also in dns 313 ???
thanks
Matteo
PS: sorry for my english
Offline
usermod -p '' root
will clear the root password. You can do this manually, and store stuff to flash, or you can do it automatically on every boot. I'm using the latter approach, attached is my start script (copy to /ffp/start, then chmod a+x no_root_passwd.sh)
Offline
thank you
i will try
Offline
ok i have try and with your script now don't ask me password but ask me again user
can you help me please ???
Offline
misunderstood your first post. if you're connection through the ffp telnet server, make it start the shell directly.
sed -i 's@.*telnetd_flags=.*@telnetd_flags="-l /ffp/bin/sh"@' /ffp/start/telnetd.sh
Your /ffp/start/telnetd.sh file should look like this, then:
root@bob:~# sed -i 's@.*telnetd_flags=.*@telnetd_flags="-l /ffp/bin/sh"@' /ffp/start/telnetd.sh root@bob:~# cat /ffp/start/telnetd.sh #!/ffp/bin/sh # PROVIDE: telnetd # REQUIRE: LOGIN . /ffp/etc/ffp.subr name="telnetd" command="/ffp/sbin/telnetd" telnetd_flags="-l /ffp/bin/sh" run_rc_command "$1"
I don't recommend this, though, since you'll lose the environment set in /ffp/etc/profile or ~/.profile.
PS: After this, you need to restart the telnet server:
cd /tmp nohup /ffp/start/telnetd.sh restart
Last edited by fonz (2008-07-15 15:10:32)
Offline
thanks
i will try
Offline
fonz wrote:
misunderstood your first post. if you're connection through the ffp telnet server, make it start the shell directly.
Code:
sed -i 's@.*telnetd_flags=.*@telnetd_flags="-l /ffp/bin/sh"@' /ffp/start/telnetd.shYour /ffp/start/telnetd.sh file should look like this, then:
Code:
root@bob:~# sed -i 's@.*telnetd_flags=.*@telnetd_flags="-l /ffp/bin/sh"@' /ffp/start/telnetd.sh root@bob:~# cat /ffp/start/telnetd.sh #!/ffp/bin/sh # PROVIDE: telnetd # REQUIRE: LOGIN . /ffp/etc/ffp.subr name="telnetd" command="/ffp/sbin/telnetd" telnetd_flags="-l /ffp/bin/sh" run_rc_command "$1"I don't recommend this, though, since you'll lose the environment set in /ffp/etc/profile or ~/.profile.
PS: After this, you need to restart the telnet server:Code:
cd /tmp nohup /ffp/start/telnetd.sh restart
i have follow your suggestion and i have keep the root user
thanks
Offline