HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C compiler on HP-UX server
Operating System - HP-UX
1838243
Members
4804
Online
110125
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-28-2003 07:48 AM
03-28-2003 07:48 AM
Hi,
Recently we have gone through scurity audit and one of the suggestion to limit
user access to C compiler. Can I control user access to C compiler?
Here is detail about the installed C compiler.
B3901BA B.11.01.20 HP C/ANSI C Developer's Bundle for
HP-UX 11.00 (S800)
Any help appreciated
Aftab
Recently we have gone through scurity audit and one of the suggestion to limit
user access to C compiler. Can I control user access to C compiler?
Here is detail about the installed C compiler.
B3901BA B.11.01.20 HP C/ANSI C Developer's Bundle for
HP-UX 11.00 (S800)
Any help appreciated
Aftab
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:03 AM
03-28-2003 08:03 AM
Re: C compiler on HP-UX server
Typically, the permissions on /opt/ansic/bin/cc are 555; owned by root:bin.
An easy answer would be to change the group for cc to something like "devel" and set the permissions to 550. You then symbolically link /etc/group and /etc/logingroup and make these user members of the new group "devel" - in addition to their existing group membership.
An easy answer would be to change the group for cc to something like "devel" and set the permissions to 550. You then symbolically link /etc/group and /etc/logingroup and make these user members of the new group "devel" - in addition to their existing group membership.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 08:13 AM
03-28-2003 08:13 AM
Solution
Be careful though.
There is a problem limiting access to the Ansi C compiler.
Oracle needes it to install itself. The way they work on so many platforms is by using portable code, which they compile and make in the host environment. Lots of application software works this way.
I think your security auditors are going over the top.
I'd set up a group called compilers and add the application owners and other that need to comiple and add that as one of roots secondary groups and then add the group to the other authorized users.
Then do what A Clay recommended with permissions.
That should be okay.
Here is my standard security recommendation that will really help out with the audit. No extra charge.... :-)
enjoy
Security Post
Links:
security_patch_check: Checks your system and makes sure its up to date with security patches from HP
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
Required Perl install
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Bastille: Security Hardening Tool
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
IDS/9000 Intrusion Detection System which can track security breaches and attempted security breaches.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
Attached is Chris Vail's paper on how to set up passwordless services by exchanging public keys.
Your auditors will love it, and you may find you know more about HP-UX security then they do when you get done.
SEP
There is a problem limiting access to the Ansi C compiler.
Oracle needes it to install itself. The way they work on so many platforms is by using portable code, which they compile and make in the host environment. Lots of application software works this way.
I think your security auditors are going over the top.
I'd set up a group called compilers and add the application owners and other that need to comiple and add that as one of roots secondary groups and then add the group to the other authorized users.
Then do what A Clay recommended with permissions.
That should be okay.
Here is my standard security recommendation that will really help out with the audit. No extra charge.... :-)
enjoy
Security Post
Links:
security_patch_check: Checks your system and makes sure its up to date with security patches from HP
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
Required Perl install
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Bastille: Security Hardening Tool
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
IDS/9000 Intrusion Detection System which can track security breaches and attempted security breaches.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
Attached is Chris Vail's paper on how to set up passwordless services by exchanging public keys.
Your auditors will love it, and you may find you know more about HP-UX security then they do when you get done.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP