You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getpwuid() requires /etc/nsswitch.conf, NSS libraries and, depending on NSS configuration, real /etc/passwd file available. If forsh is to be run in a chrooted environment, those files needs to be put there and always updated with the latest version. This complicates chroot environment setup and maintenance. On the other hand, getuid() call does not require any files and works fine even if no NSS-related files are available.
Make it configurable if forsh calls getpwuid for name resultion.
The text was updated successfully, but these errors were encountered:
getpwuid()
requires/etc/nsswitch.conf
, NSS libraries and, depending on NSS configuration, real/etc/passwd
file available. Ifforsh
is to be run in a chrooted environment, those files needs to be put there and always updated with the latest version. This complicates chroot environment setup and maintenance. On the other hand,getuid()
call does not require any files and works fine even if no NSS-related files are available.Make it configurable if
forsh
callsgetpwuid
for name resultion.The text was updated successfully, but these errors were encountered: