1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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.


Share This Page