ypcat passwd not able to list if the user has 3 digit user id

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running.



If my /etc/passwd is e.g.:



james:x:554:101::/users/james:/bin/bash
kevin:x:723:103::/users/kevin:/usr/bin/bash
jerry:x:1130032140:101::/users/jerry:/usr/bin/bash
jose:x:1130032178:103::/users/jose:/usr/bin/bash


These are my NIS users but if I do ypcat passwd I am able to see only jerry and jose. james and kevin are not listed.



If I change the user id to 4 digit (e.g., 5544) after make I am able to see the user.



The thing is if the user id is 3 digit ypcat passwd does not list that user.










share|improve this question



















  • 2




    There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
    – Kusalananda
    Sep 27 at 17:18











  • thanks, please let me know where i need to change the minimal number as 100
    – user45898
    Sep 27 at 17:55







  • 1




    That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
    – Kusalananda
    Sep 27 at 17:59











  • it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
    – thrig
    Sep 27 at 18:45






  • 1




    I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
    – Mark Plotnick
    Sep 27 at 22:12














up vote
1
down vote

favorite












I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running.



If my /etc/passwd is e.g.:



james:x:554:101::/users/james:/bin/bash
kevin:x:723:103::/users/kevin:/usr/bin/bash
jerry:x:1130032140:101::/users/jerry:/usr/bin/bash
jose:x:1130032178:103::/users/jose:/usr/bin/bash


These are my NIS users but if I do ypcat passwd I am able to see only jerry and jose. james and kevin are not listed.



If I change the user id to 4 digit (e.g., 5544) after make I am able to see the user.



The thing is if the user id is 3 digit ypcat passwd does not list that user.










share|improve this question



















  • 2




    There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
    – Kusalananda
    Sep 27 at 17:18











  • thanks, please let me know where i need to change the minimal number as 100
    – user45898
    Sep 27 at 17:55







  • 1




    That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
    – Kusalananda
    Sep 27 at 17:59











  • it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
    – thrig
    Sep 27 at 18:45






  • 1




    I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
    – Mark Plotnick
    Sep 27 at 22:12












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running.



If my /etc/passwd is e.g.:



james:x:554:101::/users/james:/bin/bash
kevin:x:723:103::/users/kevin:/usr/bin/bash
jerry:x:1130032140:101::/users/jerry:/usr/bin/bash
jose:x:1130032178:103::/users/jose:/usr/bin/bash


These are my NIS users but if I do ypcat passwd I am able to see only jerry and jose. james and kevin are not listed.



If I change the user id to 4 digit (e.g., 5544) after make I am able to see the user.



The thing is if the user id is 3 digit ypcat passwd does not list that user.










share|improve this question















I am trying to migrate nis server from solaris to redhat(7.5), as per the doc I have exported /etc/passwd and /etc/group from solaris to redhat and made NIS up and running.



If my /etc/passwd is e.g.:



james:x:554:101::/users/james:/bin/bash
kevin:x:723:103::/users/kevin:/usr/bin/bash
jerry:x:1130032140:101::/users/jerry:/usr/bin/bash
jose:x:1130032178:103::/users/jose:/usr/bin/bash


These are my NIS users but if I do ypcat passwd I am able to see only jerry and jose. james and kevin are not listed.



If I change the user id to 4 digit (e.g., 5544) after make I am able to see the user.



The thing is if the user id is 3 digit ypcat passwd does not list that user.







linux rhel users solaris nis






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 27 at 17:16









Eric Renouf

13k42949




13k42949










asked Sep 27 at 17:13









user45898

212




212







  • 2




    There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
    – Kusalananda
    Sep 27 at 17:18











  • thanks, please let me know where i need to change the minimal number as 100
    – user45898
    Sep 27 at 17:55







  • 1




    That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
    – Kusalananda
    Sep 27 at 17:59











  • it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
    – thrig
    Sep 27 at 18:45






  • 1




    I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
    – Mark Plotnick
    Sep 27 at 22:12












  • 2




    There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
    – Kusalananda
    Sep 27 at 17:18











  • thanks, please let me know where i need to change the minimal number as 100
    – user45898
    Sep 27 at 17:55







  • 1




    That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
    – Kusalananda
    Sep 27 at 17:59











  • it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
    – thrig
    Sep 27 at 18:45






  • 1




    I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
    – Mark Plotnick
    Sep 27 at 22:12







2




2




There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
– Kusalananda
Sep 27 at 17:18





There is often a configuration setting somewhere that sets the smallest (and possibly largest) UID that NIS/YP should serve. This is so that system user accounts (such as root and others) are not included in the list. The minimal number may well be 1000 (this is the default minimum on OpenBSD at least).
– Kusalananda
Sep 27 at 17:18













thanks, please let me know where i need to change the minimal number as 100
– user45898
Sep 27 at 17:55





thanks, please let me know where i need to change the minimal number as 100
– user45898
Sep 27 at 17:55





1




1




That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
– Kusalananda
Sep 27 at 17:59





That's exactly why I didn't write this as an answer. I've only ever used NIS on OpenBSD and NetBSD, never on Solaris or Linux. I don't know where you would configure it on those systems, and I don't know if changing the minimum UID to 100 would be the right (or secure) thing to do.
– Kusalananda
Sep 27 at 17:59













it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
– thrig
Sep 27 at 18:45




it may be configured via something under /etc/pam.d, though I've never run NIS so don't know if there's something specific for it under that dir or if that hides somewhere else
– thrig
Sep 27 at 18:45




1




1




I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
– Mark Plotnick
Sep 27 at 22:12




I don't have RHEL, but look for MINUID and MINGID lines in /var/yp/Makefile .
– Mark Plotnick
Sep 27 at 22:12















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471891%2fypcat-passwd-not-able-to-list-if-the-user-has-3-digit-user-id%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471891%2fypcat-passwd-not-able-to-list-if-the-user-has-3-digit-user-id%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay