Fedora :: Search Path - Yum & Rpm Commands Fail When Executed As Root

Jul 15, 2009

I've setup dimdim (opensource, centos 5.3) and noticed yum & rpm commands fail when executed as root because it uses librpmio from openoffice3 instead of /usr/lib (I'm running from memory so I may have misstyped). But sudo doesn't have this problem.

How can root's search path be different, especially after I state /usr & /usr/lib at the top of /etc/ld.so.conf.

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: Root Search Path ?

Aug 31, 2010

I am trying to find the permissions of the directories in the $PATH variable.

I am trying to use the following:

View 1 Replies View Related

Security :: Log All The Commands Executed By Root ?

Aug 11, 2010

I want to get a of log all the commands executed by the root user with the following details :

incoming ip
username (thru which su was executed)
time and date
all the commands executed as mentioned above.

Also if user has managed to login as root, he should not be able to disable / delete the above info. Can this info be collected at some other physical server ?

View 5 Replies View Related

Fedora :: Search Path For 'sh'?

Sep 7, 2011

I would like to run a script from any location. The script is in ~/scripts, so I added ~/scripts to my PATH. However, since I have to run it with 'sh script.sh' (due to the permissions on the directory), it doesn't seem to look in PATH for the file script.sh. Is there a way to get it to do this?

View 11 Replies View Related

Fedora :: DNS Search Path Deleted?

May 13, 2010

I am trying to setup DNS domain name in my server (Fedora), which has static ip address.First, I put the DNS domain name in system-config-network->DNS->DNS search path. After restarting the network, it is deleted automatically.second, so I put the DNS domain name in /etc/resolv.conf as search mydomainname . After network restart, it is also deleted automatically.In both case domain name did not work (i.e, I can't connect to my server from outside using domain name, I can by ip address, internet is working fine).However, I found that the domain name is written in /etc/sysconfig/network-scripts/ifcfg-eth0 with search=mydominaname.

View 5 Replies View Related

Fedora :: Nautilus - Search In The Current Path?

Apr 10, 2010

when i search in nautilus folder browser it search in my home path,how i can say to search in the current path?

View 2 Replies View Related

Security :: Monitoring Executed Commands?

Dec 15, 2010

I've firewall machine customers connect on it then connect to one of another 3 machines as root through ssh key , is there any way to know which user connect to which machine and what command that he has executed without using script command ?

View 1 Replies View Related

Server :: Get IP And Commands Executed By User

Jan 3, 2011

i have a linux server, the Operating system is SUZE 9 but i need to see all commands executed by any users connected on the server and the ip of the host in a log file.the history file does not contain all info that i need .please is there a way to write a script in order to save this problem .

View 2 Replies View Related

General :: History Of Commands Executed By Users

Apr 16, 2010

i am working with linux security auditing project on my Servers.I want to find out all the commands executed by individual users.i think using last command,find out the login details.But how can find out the commands executed by each users on all logins except "history".?

View 2 Replies View Related

General :: Edit History To Remove Few Commands Executed?

Jun 30, 2010

Suppose when I issue history command it is showing 100 entries with number attached to each command executed.

how to edit the history to remove few commands executed by me so as to protect the system from other users.

View 11 Replies View Related

Ubuntu Installation :: Commands Are Not Working In Terminal / Command Is Not Executed?

Jul 19, 2010

I am working on Ubuntu 9.10.Since last two days there is issue while working with Terminal.Whenever I type a command and press enter it doesnt do anything. command is not executed. I guess its in loop. when I press Ctrl+C then it comes out of loop. this happens with all commands and I am not sure what is the problem.I have reinstalled Terminal but it did not worked.

View 8 Replies View Related

Ubuntu :: Change Commands Executed By Gnome Keyboard Shortcuts?

Jun 28, 2011

I'm running Ubuntu 10.04.2 LTS, but wanted to use Banshee instead of Rhythmbox. After running Code: sudo aptitude install banshee I wanted to bind my "Media" button on my keyboard to run banshee; unfortunately, it still wants to run rhythmbox. Where can I change the default command executed by these keyboard shortcuts? I can't seem to find them in gconf-editor under apps/metacity/* and googling has proved fruitless in finding where this configuration file is located.

View 2 Replies View Related

General :: Gnome-terminal/bash - Cancel Inserted Commands That Will Be Executed Later?

Mar 13, 2011

$ execute_some_long_command <command is executing> <Accidently press middle button that inserts bunch of garbage (including, for example, `rm -Rf ~/*`) into console>

How to let execute_some_long_command finish, but not execute inserted things?

View 1 Replies View Related

Fedora :: Su/root Login Authentication Fail?

Jul 3, 2010

I cannot login as root or su in graphical mode (haven't tested cmd line as i'm still newbie ). What i have read is that this is by default disabled... can this be enabled?.. if so how please? I am running core13 on toshiba laptop (this issue also on "live" cd)if above is not possible have u a section/training pages for us "newbies"

View 14 Replies View Related

Ubuntu :: Notify-send Only Showing When Executed As Root?

Jun 1, 2010

I've been having some trouble with the notifications on 10.04.Networking and volume popups are visible, but messages from Banshee or empathy aren't showing.

I tried the command notify-send in the terminal, but it showed nothing, unless when doing it as root.

fix or a setting to tweak in order to get full notifications back?

View 2 Replies View Related

Security :: Permissions For Chown - Command Executed By Root Only

Feb 22, 2010

Inspite of having 755 permissions on the chown command, it seems the command can be executed by the root only. I was under the impression that the 'x' permission for 'others' can give executable rights to the normal user too, which does not seem to be the case here. Just curious to know, if not the file perms itself, what controls the execution of the command?

View 6 Replies View Related

Fedora Installation :: Fail Upgrade Attempt - Unable To Find Root

May 26, 2010

I am attempting to upgrade Fedora 12 to 13. I get an error screen that said root could not be found. Four options are given. Not sure exactly their wording, but two appear to allow you to cancel the other two warn that if you reinitialize you will wipe out all data.

I have a Vista partition and a Fedora partition. I've added the vista ntfs partition to fstab with no help. All of the partition use the long UUID form. I added the root location (root (hd0,5) to the upgrade menu item in grub.conf and that didn't work either.

I'm reluctant to proceed for fear of initializing the entire drive. I could live with installing Fedora 13 over the existing partitions.

View 3 Replies View Related

Fedora Security :: Bash Commands As Root

Mar 3, 2010

I need to launch a bash file in Linux from an unprivileged user session, file that will run bash commands as root. But I do not want to create an user with root privileges to do that.

View 10 Replies View Related

Fedora :: Allowing Root Level Commands

Oct 25, 2010

How would like to allow a user to run command such as mount fdisk and lspci which normally you would have to be root to do. How would i go about doing this.

View 4 Replies View Related

General :: Search For A Link To A Certain Path?

Sep 24, 2009

I have a /data and /backup. on backup there is a folder called Info that has a bunch of data on it, but its not shared through Samba. So what I'm thinking is that on one of my Samba shares on data there is a folder which is really just a link to that /backup/Info folder. Is there an easy way to search through /data to see if there's a link to it, or do i have to manually go through and do a ton of ls's?

View 10 Replies View Related

Programming :: Search And Repalce A Char In Path Using Sed ?

Sep 1, 2009

I have the following path wher i want to replace forward slashes with back slashes using sed path=/temp/file.tar

I am using the following but it's not working.

View 3 Replies View Related

Ubuntu :: Lib Packages Not Found In Config Search Path

Aug 16, 2011

I just installed Netsurf, but I was confronted with "libnsbmp is not installed". So I installed libnsbmp.
The error "libnsgif is not installed" appeared when installing libnsbmp.
The error "libpng is not installed" appearded when installing libpnf.
...
I installed all that I was asked to install. However, when I was installing libcss, it said that "Package libparserutils was not found in the pkg-config search path. Perhaps you should add the directory containing 'libparserutils.pc' to the PKG_CONFIG_PATH environment variable". I have already installed libparsercutils but not in the /usr/lib dir.

What should I do to continue my installation? And anyone could tell me what are those lib stuff? I installed zlib with the apt-get install command.Can I get other lib stuff with the same command?

View 2 Replies View Related

Programming :: Specify A Library Search Path To Configure's AC_CHECK_LIB?

Aug 31, 2010

I'm writing an application and want to make possible to compile it with or without an optional module. This module requires perl library to be compiled, so I want to check presence of it in 'autoconf'.

The problem exists because perl library is placed in 'non-standart' location itself (like a /usr/lib64/perl5/CORE/libperl.so). So when I try to run configure (with AC_CHECK_LIB or AC_SEARCH_LIBS), it cannot find and link libperl.so in its test.

Trying to pass ./configure CFLAGS=-L/usr/lib64/perl5/CORE/ or ./configure LDFLAGS=-L/usr/lib64/perl5/CORE/

How can I define a location to search for configure's tests?

View 1 Replies View Related

General :: Find Command To Search Wildcard In Path?

Dec 8, 2009

I need a command to search for any file in a directory like so:

/home/*/upload/* and then change permissions any file in that directory.

Find doesn't seem to match what I need.

View 12 Replies View Related

Programming :: How To Change - Add To - Library Search Path At Runtime

Jan 9, 2011

I'm writing an application with a plugin architecture and would like modify (specifically add to) the dynamic library search path while the main executable is running.

The plugin paths are not known until the application is running so I can't set LD_LIBRARY_PATH ahead of time.

My understanding (although I haven't tested it) is that the executable will only parse the LD_LIBRARY_PATH once, early on, so modifying this environment variable at runtime will have no effect.

(Note - on Windows the solution is to modify the PATH environment variable)

I know it's possible to specify the full path to load a dynamic library, and this would work if the plugin(s) only had a single library to load, but some of them will have a bunch of libraries with their own inter-dependencies, so I'd like the plugin folder(s) to get added to the search path to pick up the dependant libs.

View 8 Replies View Related

General :: How To Perform Root Level Commands - Fedora - Live Media

Jul 21, 2011

I need to use Live Media to make changes to a hard disk drive. I tried to sudo to no effect.

Seems like it would be troublesome to authorize root access on Live Media or have sudo allow commands such as pvcreate,lvcreate,vgcreate, especially if the hard disk is not encrypted.

View 1 Replies View Related

General :: Commands Fail With Disk Full Messages

Feb 9, 2010

I've been getting error messages indicating my disk might be full, but I don't really think it is. It is so bad that I could not log on via Gnome, but fortunately I was able SSH into my box. Once in, however, I can't even create a directory!

View 14 Replies View Related

Software :: Custom Built GCC - Default Search Path For Stdlib

Jun 15, 2011

I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:

Code:
PATH=$HOME/apps/gcc460/bin:$PATH:$HOME/apps/bin
LD_LIBRARY_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
LD_RUN_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
export PATH
export LD_LIBRARY_PATH
export LD_RUN_PATH

I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get:
Code:
./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)

I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.

View 1 Replies View Related

Networking :: Search Path In Resolv.conf Overwritten By The Hostname After Reboot?

Mar 19, 2009

Before reboot,
$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search mycomp.local myhost.com

After reboot, the search path in resolv.conf is overwritten by the hostname.

$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search penguin

View 3 Replies View Related

Ubuntu :: Keyboard Shortcut To Search Through Past Shell Commands With Regular Expression?

Jul 14, 2010

Note: I have made a thread similar to this before, but the title/contents were too botched to repair.I know that using C-r you can search for past bash commands containing a particular string, but how would you search for past bash commands matching a particular regular expressionIs there a keyboard shortcut for that or do you have to use a shell command?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved