Results 1 to 4 of 4

Thread: SSH login problems after installing 1.0.4.6_kc_02a

  1. #1

    SSH login problems after installing 1.0.4.6_kc_02a

    Hi All,

    I'm new to this forum. Yesterday I installed 1.0.4.6_kc_02a and everything went very smooth.

    However, after all the packages installed I rebooted the router and tried to login using ssh and the user created with the web interface, and it failed with "access denied" message.

    Another two strange things:
    1 - I can't find the "passwd" command
    2 - during installation of the dropbear package, although it terminated successfully, there was an error by mkdir saying that it coudn't make /root.

    Are this related with my login problem?

    Thank you for your help,

    P.V.

  2. #2
    1) wrong forum

    2) do you have modified the etc/passwd opt/etc/sudoers and etc/shells?

    then dropbear should work

    there is no passwd command... root logins are with the packages not allowed and you have to use the users you have added in the web interface.

    grat182

  3. #3
    Thanks gratitude182.

    Yes, sorry but I only noticed that after starting the thread.

    I've modified the /etc/passwd to add the /opt/home/pjv directory (home) and /opt/bin/bash as the shell (as per instructions). I've also modified the /etc/sudoers file to add the line

    pjv ALL=(ALL) ALL

    so that user pjv as all permissions. Is this ok?

    However, I've not edited the /etc/shells file. What should be on it?

    Thanks again.

    P.V.

    Edit: Thank you, fixed. The problem was with the /etc/shells file being empty. I've add /opt/bin/bash to it and I can now login using SSH.
    Last edited by pvarela; 11-07-2007 at 21:56.

  4. #4
    fine :-)

    grat182

Similar Threads

  1. Login problem via ssh
    By sivan_ms in forum WL-500gP Q&A
    Replies: 2
    Last Post: 03-01-2008, 18:53
  2. problems installing samba on my router
    By a-beck in forum WL-500g Q&A
    Replies: 1
    Last Post: 28-11-2006, 16:29
  3. Newbie Questions and problems.
    By tokyoturnip in forum WL-500g Q&A
    Replies: 2
    Last Post: 08-02-2006, 10:13
  4. Allow users FTP access but not SSH login
    By jonolumb in forum WL-500g Q&A
    Replies: 0
    Last Post: 20-12-2005, 20:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •