I was able to join centos to the domain using sssd and I am using ad as id provider but when I do the following command it just returns UID/GID only
id -u test
1957602165
What am I doing wrong here? And how can I get it to return the actual username or group
Thanks!
sssd only returning user id and group id numbers
-
- Posts: 6
- Joined: 2017/10/06 16:23:34
Re: sssd only returning user id and group id numbers
That's what the id command does. What do you want to do? Maybe getent?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 6
- Joined: 2017/10/06 16:23:34
Re: sssd only returning user id and group id numbers
when running getent passwd I get this -
$ getent passwd test │···
test:*:1957602165:1957600513:Test User:/home/test:/bin/bash
How can we get it to share username and group instead of the numeric userid and group?
$ getent passwd test │···
test:*:1957602165:1957600513:Test User:/home/test:/bin/bash
How can we get it to share username and group instead of the numeric userid and group?
Re: sssd only returning user id and group id numbers
It's not as simple as that. A user can be a member of more than one group for a start. Also since you seem to be starting with the username, that's something you already know so it sounds more like your question is "how can I find the user's _primary_ group" - is that right? If it is then, oops, you were on the right track to start with as the id command can do that - id -gn test
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke