On Fri, Aug 18, 2017 at 05:59:13PM +0530, Supratik Goswami wrote:
> In server the ps version is procps-ng version 3.3.10
> In the other boxes ps version is procps version 3.2.8
This doesn't matter, the issue is that getpwuid() calls are not working.
I suspect the same happens if you own a file by one of these users? Then
"ls -l" output in that directory would also show only UIDs, not names?
>
>
>
> On Fri, Aug 18, 2017 at 5:52 PM, Supratik Goswami <supratiksekhar@gmail.com>
> wrote:
>
> > In the IPA server I am getting in the below format
> >
> > suprati+ 4360 0.0 0.0 172676 2484 ? D 08:20 0:00 sshd:
> > supratik@addomain.com@pts/1
> > suprati+ 4361 0.0 0.0 125688 2092 pts/1 Ss 08:20 0:00 -bash
> > suprati+ 4383 0.0 0.0 161360 1828 pts/1 R+ 08:20 0:00 ps aux
Can you call "sss_cache -E" on both the client and server,then do:
getent passwd 1759001108
and attach the logs from the client (complete) and the server (NSS log
is enough) ?
> >
> > On Fri, Aug 18, 2017 at 3:22 PM, Jakub Hrozek <jhrozek@redhat.com> wrote:
> >
> >> On Fri, Aug 18, 2017 at 03:09:05PM +0530, Supratik Goswami wrote:
> >> > >
> >> > > What do you mean by user ID? The numeric UID? How do you invoke ps?
> >> >
> >> >
> >> > Yes, numeric UID. When I type "ps aux" I get the following output
> >> >
> >> > 1759001108 2375 0.0 0.4 146900 4084 ? S 08:55 0:00 sshd:
> >> > testuser@addomain.com@pts/0
> >> > 1759001108 2376 0.0 0.3 127800 3536 pts/0 Ss 08:55 0:00 -sh
> >> > 1759001108 2399 0.0 0.2 129656 2544 pts/0 R+ 08:55 0:00 ps aux
> >> >
> >> > I want to see "testuser" instead of "1759001108". How can I achieve it?
> >>
> >> Well, that should work. For some reason, the ID-to-name resolution is
> >> not working. Does it work at least on the server?
> >>
> >
> >
> >
> > --
> > Warm Regards
> >
> > Supratik
> >
>
>
>
> --
> Warm Regards
>
> Supratik