1

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 ?

Nati
  • 1,034
  • 5
  • 19
  • 46

1 Answers1

1

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

  passwd:     files nis
kofemann
  • 4,217
  • 1
  • 34
  • 39