User restriction on C/C++ compiler on AIX


 
Thread Tools Search this Thread
Operating Systems AIX User restriction on C/C++ compiler on AIX
# 8  
Old 12-19-2014
Thanks for the response guys!

This gonna be in production and this will hit audit, our concern was what is the best way to avoid having a c/c++ compiler in production?
# 9  
Old 12-19-2014
That depends what you need to do in production... If you're asking how to deploy software without compiling it, you could prepare installable packages of executables from your software on the development and deploy them to production instead of compiling them on production.
# 10  
Old 12-19-2014
Yes, our intention is to do that (have them compile on DEV and then deploy on PROD), but application team is emphasizing on having a compiler on prod system saying they are in to critical phase and want to lock down the compiler to a particular user instead of removing it from server.
# 11  
Old 12-19-2014
I'd be tempted to just make them compile on dev, rather than polluting production with extra things from dev.

You could compromise by giving them what I suspect they really need -- the ability to modify production with last-minute changes. NFS-map a few folders from production into dev so it's less of a round-trip to make fixes.

Installing a compiler in the first place adds tons of things which might not clean up well. Customizing it could make that worse.

Last edited by Corona688; 12-19-2014 at 06:51 PM..
# 12  
Old 12-19-2014
Very true, that is our fear, what if someone goes and poke his nose around code at the last moment.

And again it seems like there is no way I can limit the c/c++ compiler access to a particular user or lock it down.
# 13  
Old 12-19-2014
Having a compiler does not create that risk. If user1 and user2 can both run cp command, does that mean user2 can copy user1's files? Not necessarily.

So the issue isn't the compiler, it's about having the code on the production server at all.

I see no reason the code has to be on the production server. I don't see why a compiler needs to be either. Get them to give you a good reason they can't just NFS-mount a folder to copy executables for convenient testing.
# 14  
Old 12-19-2014
Agreed.

If the developers claim to NEED a compiler on the production system is true, they're not testing their code enough.

Not only that, compiling code on a production server means the binaries on that server have never been tested. Running "./configure; make; make install" is not how to repeatably deploy reliable, tested software.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 5.3 FTP Folder Restriction

Hi All, How can I restrict the folder on an FTP USER on AIX 5.3? I don't want the ID to change folder other than his own home folder. Thanks for any comment you may add. (7 Replies)
Discussion started by: itik
7 Replies

2. Linux

SFTP user access restriction to his home dir

Hi Friends, I have installed a FTP Server on my Linux machine (Fedora 11). I want the ftp users to be restricted to their own home dir using sftp. But the said condition is met when the user logs in using ftp over port 21 and when the user logs in using sftp i.e. protocol 22, he/she has... (4 Replies)
Discussion started by: pashy
4 Replies

3. UNIX for Dummies Questions & Answers

Create a new user with restriction

Hello, I would to create a new user with some restriction: 1. The user will not be able to CD any directory (I mean he'll login to the defined home directory and that's all). 2. The user will not be able to delete anything in that home directory Thanks a lot in advance, Shahar (1 Reply)
Discussion started by: shaharoz
1 Replies

4. UNIX for Advanced & Expert Users

User restriction

Dear All I had one user called msc. In that i had two folder.xxx and yyy ex: /home/msc/xxx ex: /home/msc/yyy Now i want that msc user only able to access xxx folder only. No other folder should be visible to it. Kindly let me know. How it possile?? Regards Jaydeep (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies

5. AIX

AIX Xlc compiler

Hi Team I have a native applicaiton built on AIX using the xLC v8 Which could be the possible impacts from a code change point of view if I'll compile with the xLC v10? Thanks Marco (0 Replies)
Discussion started by: antcos
0 Replies

6. AIX

user session restriction

hi, I am facing a problem from the remote system if i login to my AIX5.3 machine as root (thru telnet) the session does not expire for 2 hours even if the session is kept ideal But whenever i do the same thing from some other user then the session is lost within 10 minutes (if session is kept... (2 Replies)
Discussion started by: pchangba
2 Replies

7. AIX

C++ compiler for AIX

please I want a help to how can I get C++ compiler to AIX OS. (3 Replies)
Discussion started by: Ahmed waheed
3 Replies

8. AIX

user session restriction

I want to restrict user's loging according to number of session. example the user named "patrik" can be login concurrently from 12 stations thru telnet the 13th if some body tries to telnet 13th session it should not allow, until any of the 12 sessions are closed. is it possibel ...i think... (2 Replies)
Discussion started by: pchangba1
2 Replies

9. Filesystems, Disks and Memory

Restriction to User

Dear all, I am trying to create a new user account that can have the minimum access to the HP-Ux box, as in it only need to perform system info query like bdf and only able to read access system log files but not able to delete any file from any other directory beside it's own user directory... (5 Replies)
Discussion started by: gelbvonn
5 Replies

10. Shell Programming and Scripting

Restriction for more than one user

How do l restrict more than one users on a multiple programming environment using the c shell profile. That is if a user is log-on on one terminal the system should be able to prompt a message if the users attempt to log on on another terminal. I user openserver 5.0.4 with dummy terminals, and also... (7 Replies)
Discussion started by: kayode
7 Replies
Login or Register to Ask a Question