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).
我有一个配置了NIS域的linux,一个本地用户和名为johndoe的NIS用户(但是不同的UID)。
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.
当应用'chown johndoe:johndoegrp somefile.txt'时 - 哪个john doe会成为所有者?我知道我可以用'ls -n'看到自己,但是一些最终用户告诉我他们的结果不一致。
Is it possible ?
可能吗 ?
1 个解决方案
#1
1
you have to check the order in /etc/nsswitch.conf. On Machine I have
你必须检查/etc/nsswitch.conf中的顺序。我有机器
passwd: files nis
#1
1
you have to check the order in /etc/nsswitch.conf. On Machine I have
你必须检查/etc/nsswitch.conf中的顺序。我有机器
passwd: files nis