When doing an ls -l in a directory with Unix Enabled QAS users, the UIDs and GIDs are not being resolved into names.
e.g.
bash# /sbin/ls -l
drwx------ 2 1001 1000 8192 Dec 17 2009 vasuser
However, running a # /usr/bin/ls -l does resolve the IDs into names.
bash# /usr/bin/ls -l
drwx------ 2 vasuser vasgroup1 8192 Dec 17 2009 vasuser
This issue also occurs with other binaries such as chown.
The ls version in /sbin/ls is statically linked, this means it is not able to call shared libraries such as NSS (Name Service Switch). This means the /sbin/ls version will only resolve users that exist in /etc/passwd.
bash# ldd /sbin/ls
ldd: "/sbin/ls" is not a shared executable.
bash# ldd /usr/bin/ls
libxcurses.so.1 => /usr/lib/hpux32/libxcurses.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
Change the default PATH variable for your users so that /usr/bin is before /sbin.
Note, if you are using QAS mapped users in /etc/passwd these users will be resolved by /sbin/ls.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center