---
name: "rpc.ugidd"
section: "8"
platform: "linux"
package: "ugidd"
version: "2.2beta47-25"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/rpc.ugidd"
---

# rpc.ugidd(8)

uid/gid mapping daemons

## NAME

ugidd - uid/gid mapping daemons

## SYNOPSIS

**/usr/sbin/rpc.ugidd** **\[ -P port \]**

## DESCRIPTION

*ugidd* starts a daemon that handles rpc requests to map uid/gids to string names and vice versa. It is called by the [*nfsd*(8)](/nfsd/8.md) server when the client and server do not share the same passwd file.

This version allows you to restrict access to the server through the [*hosts\_access*(5)](/hosts_access/5.md) files when compiled with the -DHOSTS\_ACCESS option. Otherwise, *ugidd* could be used by anyone in the Internet to obtain a list of all valid usernames on the client machine. For instance, to  restrict access to hosts on your class C IP network, you could add the  following lines to *hosts.allow* and *hosts.deny*:

```
# /etc/hosts.allow
rpc.ugidd:     192.168.1.
# /etc/hosts.deny
rpc.ugidd:     ALL
```

## OPTIONS

- **-P portnum** or **--port portnum**

  Makes *ugidd* listen on port **portnum** instead of some random port. By default, *ugidd* will listen on some arbitrary port number below 1024.

## SEE ALSO

[exports(5)](/exports/5.md), [inetd(8)](/inetd/8.md), [hosts\_access(5)](/hosts_access/5.md)

## BUGS

The rpc program number is legal in that it lies in the 0x20000000 to 0x3fffffff \`\`Defined by user'' range, but is completely arbitrary.
