문제

I have a linux with a configured NIS domain, and both a local user and a NIS user with the name johndoe (but different UIDs).

When applying 'chown johndoe:johndoegrp somefile.txt' - which john doe will become the owner ? I know I can see for myself with 'ls -n', but some end users told me that they got inconsistent outcomes.

Is it possible ?

도움이 되었습니까?

해결책

you have to check the order in /etc/nsswitch.conf. On Machine I have

  passwd:     files nis
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top