privileges required to install software
I am about to install some software on Red Hat Linux.
I can understand all the instructions apart from the first. It says Log on to the UNIX system with the privileges required to install software. You can create an account specifically for this purpose. Caution: Do not install as root. What does this mean exactly? |
It means the application does NOT require root access to run which is a good thing. Running apps as root is a good way to get your system hacked. The root user is the "super" user on UNIX/Linux so it override most security mechanisms on your server.
You can either run as a regular user (e.g. your non-root user account) or better yet create an application administrative user specifically for this app. We do the latter here for most applications as we have multiple people that might need to access the application administrative setup so could not run it as any of those individuals. For example if your app was called GreatSoftware you might use useradd to create an account: Code:
useradd -c "Great Software Admin" -d /opt/greatsw -n greatsw" In our environment we typically would first make a new filesystem for a new application to avoid having it fill up other directories (e.g. /opt might not be a separate filesystem so if Great Software filled up /opt it would actually fill up the root filesystem). We also use a predetermined range of user id numbers for such application accounts so would specify "-u <UIDnumber> in the useradd. We also would often want a functional group of users in the same group as the new adminstrative account so would add "g <GIDnumber> to have it in that same group. |
you are going to have to provide a lot more information
Quote:
WHAT version of RHEL ?????? Quote:
Quote:
IBM unix is unix red hat is Linux -- close but NOT THE SAME -- so WHAT is this "software" Quote:
for WHAT version of what operating system was it designed to be ran on ? |
Thank you for the comprehensive reply from MensaWater. I will give it a try on Monday when I am back at the Office with a user as suggested. I am testing with VMware so I will take a snapshot before I start so I can do no real harm. What about the line in the instructions "with the privileges required to install software" though - it made me think that the user had to be in some way special.
Thank you for the reply from "John VV". I was trying to install on Red Hat Linux version 4.1 I think - I will need to check when I am back in the Office on Monday to be sure. The software I have got to install is "Connect:Direct" which definitely stated it was supported on the version of Red Hat Linux that I had. The only instruction which worried me (the first) was "Log on to the UNIX system with the privileges required to install software. You can create an account specifically for this purpose. Caution: Do not install as root." - the bit that really worried me was "with the privileges required to install software" - I was thinking the user had to be in some way special and I had been trying to decide in what way special. |
Red Hat Linux version 4.1
That is a bit on the old side and 4.9 is current in the 4 series.( rhel6.1 is the current release) So for 4.1 you must have a long term support contract from red hat so that backported security fixes can be installed on that older version of 4 contact your red hat support rep . You ARE paying for that so ask them http://www.redhat.com/support/ |
Quote:
cat /etc/redhat-release gives Red Hat Enterprise Linux AS release 4 (Nahant Update 8) From what you say though that is still out of date! I will enquire about getting an update. |
RHEL 4 goes EOL as of February 2012.
Definitely need to plan on at least RHEL5 or better long term. However, what I wrote previously would also apply for RHEL4. |
Quote:
|
MensaWater's info in post #2 is the way to go :)
Also keep in mind his warning about EOL https://access.redhat.com/support/po...pdates/errata/ |
There are, really, two ways that you can "install software" on a Linux/Unix box:
It's a long-standing tradition among Linux/Unix shops that "local software" is installed into the directory /usr/local, and what I would please ask you to do next is to ... "Google It™." |
Quote:
Also /usr/local may or may not be where such applications usually reside. For example putting Oracle in /usr/local isn't prohibited but it wouldn't be expected by most Oracle users. Other things like Nagios do expect to reside there but don't have to do so. |
All times are GMT -5. The time now is 12:10 AM. |