Operating System - HP-UX
1837035 Members
3156 Online
110111 Solutions
New Discussion

the socket files under /var/spool/sockets

 
dscao
Advisor

the socket files under /var/spool/sockets

The UNIX Socket file under /var/spool/sockets will be created for each login, even if pwgrd is stopped. Is there any way to go without creating those socket files?
3 REPLIES 3
KapilRaj
Honored Contributor

Re: the socket files under /var/spool/sockets

Did not understand the question. If u r refering to TCP sockets , they are established for every TCFP connection let it be telnet ftp or any internet services

Kaps
Nothing is impossible
dscao
Advisor

Re: the socket files under /var/spool/sockets

I'm sorry that I did not express myself clearly. I mean the UNIX type socket, which is supposed to conduct communicate between the longin and the pwgrd daemon. I do not think there will be any socket file created under /var/spool/sockets for an inet type socket.
Ralph Grothe
Honored Contributor

Re: the socket files under /var/spool/sockets

You are correct, these are only UNIX domain sockets for IPC on local host through the BSD socket API.
But why do the existence of these sockets bother you?
The pwgrd is meant to accelerate any syscall by application progs of type getpw*.

Anyway, if you don't require this sort of caching deactivate pwgrd startup in
/etc/rc.config.d/pwgr

I think if these then unused sockets really disturb you that you can delete them.
pwgrd should create them on next startup.
But this is only an unproved assumption of mine.
Madness, thy name is system administration