[CentOS] why would ls, while or ci use NIS?

Dave Burns tburns at hawaii.edu
Wed Jun 21 20:58:55 UTC 2017


Thanks, that makes sense.
Dave

On Wed, Jun 21, 2017 at 10:27 AM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:

> If you have NIS configured, it'll be used by anything that needs to map a
> uid or gid number to a name, or anything that needs a list of groups for
> users, among other things.
>
> That means (IIRC) that having a crontab implies a NIS lookup, because
> creating a new session for your user needs to fetch supplementary groups
> from NIS (even for root).
>
> 'ls -l' might also do lookups to resolve the uid/gid of your local files.
> "local files" does not imply that there is no need for YP.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
This email is:    [ ] request action  [ ] request info   [x] fyi        [ ]
social
Response needed:  [ ] yes          [x] up to you  [ ] no
Time-sensitive:   [ ] immediate    [ ] soon       [x] none
http://www.43folders.com/2005/09/19/writing-sensible-email-messages



More information about the CentOS mailing list