2

I'm experimenting with joining my Linux machine to an AD domain, using realmd. Everything went very well (after enabling automatic home directory creation).

Now I can login as [email protected] with my domain password. getent passwd [email protected] shows:

[email protected]:*:136601010:136600513:jreinhart:/home/domain.com/jreinhart:/bin/bash

However, when I ls my files, they look like:

-rw-r--r-- 1 [email protected] domain [email protected] 123 [date] filename

It seems like having such a long user name and primary group name might get annoying.

Aside from root and the standard usernames, I have no need for other local accounts on this machine. Is there a way to omit the domain part of user and group names?

Jonathon Reinhart
  • 3,384
  • 12
  • 35
  • 54

1 Answers1

2

You can change this behavior with the following (realm-specific) option in /etc/realmd.conf (which does not exist by default):

fully-qualified-names

    This option is on by default. If turned off then realm user and group
    names are not qualified their name. This may cause them to conflict
    with local user and group names.

        [domain.example.com]
        fully-qualified-names = no
        # fully-qualified-names = yes
Jonathon Reinhart
  • 3,384
  • 12
  • 35
  • 54