SDK behavior of getpwnam()

Discussion in 'Tomato Firmware' started by rhester72, Apr 12, 2010.

  1. rhester72

    rhester72 Network Guru Member

    Any idea why getpwnam() on Tomato uses /etc/passwd as its datasource, even though /etc/shadow is clearly where the password is stored? Is this a difference between BusyBox-based authentication (I'm assuming used by everything including sshd) and the kernel's view of the world?

    This has repercussions for password-based srelay.

    Rodney
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice