Weblog entry #5 for tong
Newsgroups: gmane.linux.debian.user
Date: Tue, 18 Jul 2006 11:21:17 +0200
]
hi
whenever I add a user in grml (Debian LiveCD, http://grml.org/), I get the following error:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
refused
The respond that I got is that
- the Debian's "useradd" tried to run userauth via NIS by default, which
will make rpc calls/connections.
- The reason that I didn't notice this before is because Debian runs
portmapper by default - which grml doesn't.
Although I get the reason, I wasn't able to get the answer to my question
-- is there any way to disable Debian's useradd from using NIS and making
rpc calls/connections?
Please help
thanks
Comments on this Entry
[ Send Message | View dkg's Scratchpad | View Weblogs ]
I don't run grml, so i'm not sure how they have the system configured by default.
can you post the contents of /etc/nsswitch.conf?
man useradd states:
Similarly, if the username already exists in an external user database such as NIS, useradd will deny the user account creation request.But i would think that useradd would only know about the NIS accounts via the name service switch, which should be in /etc/nsswitch.conf.
[ Parent | Reply to this comment ]
Ops, yes, wrong title, I was using useradd.
<b><i>I don't run grml, so i'm not sure how they have the system configured by default.</i></b>
It should be plain Debian Sid, with minimum tweaks.
<b><i>can you post the contents of /etc/nsswitch.conf?</i></b>
-------------------------------
$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
-------------------------------
Is it normal?
Oh, I just double checked with "useradd nonono", the problem seems to have gone away. I might need to come back to the topic later. Thanks for your help.
[ Parent | Reply to this comment ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Parent | Reply to this comment ]
Just for the archive, in case somebody hit here.
This is the real cause
http://article.gmane.org/gmane.linux.distributions.grml.user/297
in short: debbug 381923
[ Parent | Reply to this comment ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Parent | Reply to this comment ]