Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access to Root in REd Hat

Posted on 2004-08-30
8
Medium Priority
?
474 Views
Last Modified: 2013-12-06
Linuz-newbie..........
I can not create a directory in /usr/local in RED HAT.

I am trying to install nagios  on Red Hat. The documentation directs to create a dir in /usr/local... but when i go to the FILE SYSTEM, it doesn't show an option to Create Folder ( its greyed out )

Any solutions to that

I have the adminitrative rights to the root too.. actually i created an "administrator account only"
if you know how to add user to a directory, please instruct that also ..
0
Comment
Question by:jibranilyas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 6

Accepted Solution

by:
icemanwol earned 1200 total points
ID: 11936553
What you need to do is have ROOT access to your system, the easiest way to do this is open a Terminal window and then type SU and press enter, now enter your root password.  You are now running as ROOT in linux, Any programs you lauch in this terminal will also run with ROOT access and you can do anything to your system so be careful!  To create a directory in there you would type cd /usr/local (then press enter) and then type MKDIR directories_name.  If the terminal windows is too complex for you (it can be overwhelimg with new users) you can run a grafical window with root privalages by typeing nautilus or konqueror and pressing enter.  I would sugget useing the latter as little as possible because if you make a mistake there is no turning back.  Hope this answers your qustion
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 800 total points
ID: 11936743
iceman is correct.
Right-click on the desktop, select New Terminal

[lrmoore@shrike lrmoore]$ su
password:
[lrmoore@shrike lrmoore]#cd /usr/local
[lrmoore@shrike local]#mkdir nagios
[lrmoore@shrike local]#cd nagios
[lrmoore@shrike nagios]#pwd
/usr/local/nagios
[lrmoore@shrike nagios]#
0
 

Author Comment

by:jibranilyas
ID: 11942749
i got that far. but i am still unable to drag files to the/usr/local/nagios folder ...
actually, i can't create one anywhere in usr from the "explorer mode" TERMINAL let me create the nagios  dir.

how can i make this machine less  restrictive ?
0
Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

 

Author Comment

by:jibranilyas
ID: 11942782
also, when i go to the properties of that nagios folder, it says "you are not the owner, so you don't have permissions .."
0
 

Author Comment

by:jibranilyas
ID: 11943216
this is where i get stuck in nagios installation


[nagios@localhost nagios-1.2]$
[nagios@localhost nagios-1.2]$ make install
cd ./base && make install
make[1]: Entering directory `/usr/local/nagios-1.2/base'
/usr/bin/install -c -m 775 -o someuser -g nagios -d /usr/local/nagios/bin
/usr/bin/install: invalid user `someuser'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/nagios-1.2/base'
make: *** [install] Error 2
[nagios@localhost nagios-1.2]$
0
 

Author Comment

by:jibranilyas
ID: 11943807
got the fix for the pervious error

everything is working now except that I didn't get an "etc" directory under nagios folder.. The documentation mentioned that you will have 5 directories   bin, etc,sbin,share,var    i didn''t have etc.  The etc dir  should have "Main, resource, object, and CGI configuration files ... on my terminal , i did see  

*** Main program, CGIs and HTML files installed ***
 
You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):

please inform me if this is normal..
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 11944845
I didn't even get those with a RPM install of nagios.
Look in /etc/nagios/  for the config files.
0
 

Author Comment

by:jibranilyas
ID: 11945007
i ran

make install-config

that threw some config files in the etc dir...
btw, i manually created the etc dir..
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question