Log in

Bekijk de volledige versie : sudo, bash problem



gratitude182
25-08-2007, 17:24
i have got my router back from repair and now i installed again the custom firmware from kfurge. i followed the steps but when i login via telnet and i wanna get root with "sudo bash" i can write the password but then there is following error:


[~]$ sudo bash

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
[~]$ mypassword
-bash: mypassword: command not found
[~]$


the root login via telnet is also not disabled. and so i can login with root and follow the steps in kfurge tutorial (Step #3, Installing optware packages).

i have reinstalled the sudo package without success (-force-overwrite -force-reinstall)
i have found out that the /opt/etc/ipkg.conf the "src optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable"
is missing. but i have saved it now the second time and now, after restart it is not there anymore...

maybe somebody could help...

grat182

kOOcHiMaN
29-08-2007, 05:12
I have the same problem :( , any ideas?

gratitude182
01-09-2007, 18:24
the new version of sudo won't work anymore -> see the error above.

now i tried to install an older sudo package (sudo_1.6.8p12-6_mipsel.ipk) then it worked.

what could be the problem that it won't work anymore?

grat182