- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disabling rpcbind
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 05:48 AM
тАО07-06-2009 05:48 AM
I opened a case with HP, and they've recommended commenting out the "portmap 111" lines in /etc/services, but my understanding is that that doesn't really DO anything. It certainly doesn't stop the actual rpcbind process, which is what the auditors want to see.
I see that rpcbind is started by /sbin/init.d/nfs.core, but there's no "NFS_CORE" boolean in /etc/rc.config.d/nfsconf (like there are for NFS_SERVER and NFS_CLIENT). It's starting to look like the only way to disable rpcbind is to move all the S400nfs.core entries to s400nfs.core, but I think that if we install a patch bundle it will probably put those links back in place.
Is there any permanent way to disable rpcbind from starting? The servers in question are all 11.11.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 05:55 AM - last edited on тАО12-13-2022 06:51 AM by Sunitha_Mod
тАО07-06-2009 05:55 AM - last edited on тАО12-13-2022 06:51 AM by Sunitha_Mod
Re: Disabling rpcbind
hi,
check this link from HP :http://docs.hp.com/en/9524/README.html
and go to : ISSUE #7
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:21 AM - last edited on тАО12-13-2022 06:55 AM by Sunitha_Mod
тАО07-06-2009 06:21 AM - last edited on тАО12-13-2022 06:55 AM by Sunitha_Mod
Re: Disabling rpcbind
Shalom,
Disable /sbin/init.d/nfs.client
There are three deamons
nfs.core
nfs.start
nfs.client
If you want rpcbind not to run, and you have no NFS connections our servers to run, you should disable all three services.
There is a control file /etc/rc.config.d/nfsconfhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=196885
[Moderator edit: The above links are no longer valid. Please refer to https://support.hpe.com/]
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 06:22 AM
тАО07-06-2009 06:22 AM
Re: Disabling rpcbind
> the only way to disable rpcbind is to move all the S400nfs.core entries to s400nfs.core
You should not change any names, you can disable these services in /etc/rc.config.d/namesvrs and nfs.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 09:59 AM
тАО07-06-2009 09:59 AM
Re: Disabling rpcbind
There are three deamons
nfs.core
nfs.start
nfs.client
If you want rpcbind not to run, and you have no NFS connections our servers to run, you should disable all three services.
There is a control file /etc/rc.config.d/nfsconf
--------------------------------------------
I can't find anything in nfsconf to disable "nfs.core", only NFS_CLIENT and NFS_SERVER. Those two are already disabled on all our servers, as is NIS. If there's a config file in /etc/rc.config.d for nfs.core, it's hidden very cleverly. It still looks to me like the only way to get rid of rpcbind is to keep /sbin/init.d/nfs.core from starting in the first place, so I can either rename that file or any of the links going to it. I'll just have to make sure that happens again every time we patch. I might script something to check for it out of cron and remind us if we forget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 10:14 AM
тАО07-06-2009 10:14 AM
SolutionAs you have said, this is a problem when the system gets patched but you can always build a custom rc script to check existence of rpcbind at the boot time and rename it again when it creeps back up.
UNIX because I majored in cryptology...