Results 1 to 3 of 3

Thread: /etc/passwd problem!!!

  1. #1

    /etc/passwd problem!!!

    I almost have everything working without enabling USBA modus.

    I took kfurge advice to make a /opt/home/root. I added a .profile file (trough nano, "ipkg install nano"). This solves the problem below:

    export PATH=/opt/bin:${PATH}
    export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

    I changed /etc/passwd (nano /etc/passwd), now i use:

    root:blabla:0:4200:root:/opt/home/root:/opt/bin/bash
    guest::35000:42000:guest:/:/bin/sh
    MYSHARE1:blabla:35007:42000:MYSHARE1:/dev/null:/bin/false

    This all works perfectly. I can use ctorrent etc.

    Now my last problem, when i reboot the router the new /etc/passwd is gone. i can only find the default one. So i have to edit /etc/passwd again.

    Is there a way to fix this???

    Sollie.

    PS: i love this project, hehe

  2. #2
    perhaps in rc.local you could copy the proper passwd over the original so each time you boot passwd is being overwritten...

    /regards
    Henrik

  3. #3
    http://wl700g.info/showthread.php?t=7778

    Here is the answer.

    Thanks for all.
    Last edited by sollie; 06-01-2007 at 18:18.

Similar Threads

  1. Problem with Berkeley db utilities at execution
    By Rodion in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-12-2006, 16:23
  2. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59
  3. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 12:04

Posting Permissions

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