Red Hat / Fedora :: When Log In, This File /etc/host, Under The Etc Directory Get Appended The Username?

Feb 19, 2010

I am having a problem with two linux boxes I have. They are running Centos 5.3 and Centos 5.4. The problem is that when I log in, this file /etc/host, under the etc directory get appended the username I am logging in as, the IP address I am logging in from, and worse, the password in clear text.This is the format it uses:username@IP (password in clear text) [Tue Jan 12 2010 13:00:26 -0500]Is it possible for someone to tell me what is this about, and how to stop it?

View 5 Replies


ADVERTISEMENT

General :: Unable To Access File /home/username/.iceauthority: No Such File Or Directory

Apr 21, 2011

Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:

Unable to access file /home/username/.iceauthority: No such file or directory

Using failsafe I can start a terminal. From terminal I tried to start X

Code: sudo startx Result: Running on desplay:0

So I tried to run this;

Code: sudo startxfce4 And I get up a graphical desktop.

So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.

View 6 Replies View Related

General :: Multiple Grep Outputs Appended To Single Row Of CSV File?

Sep 12, 2010

how to update a series of values from multiple grep commands outputs to be appended to a single row of a csv file? Work on a linux envir. The values from grep output will be numeric values.

Output sold look like:

1,3,4,5,7,0,5

Each of these values will be odtained from multiple grep commands piped with wc -l Is it possible to update a single row of a csv file if so pleas ehelp me with the command to be used to redirect the output into the csv file

View 5 Replies View Related

Programming :: Getting A Script To Continuously Monitor Appended Data To A Log File?

Oct 13, 2010

Code:

if ! [ -f ${PATH}/myfile.txt ];then
echo $(date +%Y%m%d"_"%H%M%S)": Nu am gasit fisierul ${PATH}/myfile.txt"
ps -fxu pin | grep "/usr/local/coreutils/bin/tail -f ${LOG_PATH}/x.log$" | awk '{system("kill "$2)}'
cat ${LOG_PATH}/x.log | sed -n -e '/LONG/{x;1!p;g;;}' -e h > ${PATH}/myfile.txt

[code]....

I have a continuously growing log file (x.log) in which i have to look for certain lines that contain "Long". The line above each line containing the word "Long" it contains a time stamp. I want to extract each line containing the time stamp into myfile.txt and check the difference between time stamps. Whenever there is a difference i need to run another script (${CAL_PATH}/${APP_NAME}), then sleep 1, then continue searching. Lines with "Long" do not appear continuously, but in blasts. The script runs fine until the first pause encountered. Starting with the first pause, tail -f doesn't write in myfile.txt anymore. Can someone help me understand why "tail -f" it stops writing into myfile.txt? Or does someone know an alternative to "tail -f" of achieving the initial scope of the script?

View 5 Replies View Related

General :: Modify The /etc/host File - Change Directory Fails?

Feb 1, 2010

I am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header

[root@root tmp]#

I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?

View 2 Replies View Related

CentOS 5 :: Squid Log Will Not Keep Username And Host Name?

Sep 16, 2011

I try to find what users visiting in terms of websites and the stations.webalizer do nice graphs.but, Squid log file only keep IP address with websites.I need squid to keep IP address along with host name and username of the person.how do I do it ?

I am thinking update squid to Dans-guardian.

Does Dans-guardian keep all username and host name ?

View 3 Replies View Related

Ubuntu :: Sudo: Unable To Resolve Host Username Getting Error?

Nov 26, 2010

When I try to launch something from terminal, it shows this error.

gksudo gedit /etc/hosts

Quote:

127.0.0.1localhost
127.0.1.1matt-laptop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

My computer always had this name and I never had concerns related to his name. So, what's wrong now?

View 8 Replies View Related

Ubuntu :: Finding A Bash Script Which Will Prompt To Enter Host And Username At Initial Boot

Feb 17, 2011

I am working on different versions of Ubuntu & I looking for a script that will prompt the user to enter the host name & user name that he wanted for that system at initial boot up.

View 2 Replies View Related

Ubuntu :: Changing The Username And Home Directory?

May 27, 2010

People usually suggest workarounds to do this, as it's not possible with usermod while the user is logged in. Did I overlook anything or is this method not preferable over creating a new account, setting the user permissions, then moving the files and messing with the file permissions? Using the right tool for the job would seem to be less error-prone to me. 1. Activate the root account by setting a password.

Code:
sudo passwd
2. Log out and log into the root account.
3. Change the username and home directory from user1 to user2. This will also move the files to the new home directory and rename the group to user2.
Code:
usermod -l user2 -d /home/user2 -m user1

[Code]...

View 3 Replies View Related

Ubuntu :: Change Home Directory Username

Oct 29, 2010

i have problem on my ubuntu 10.10 after i change user name to root and home directory username ( old one ) , and now users and groups not working asnd all application on old user not working !

View 1 Replies View Related

General :: Example To Create A Acl Using Username From My Active Directory?

Oct 21, 2010

Can anyone give me a example to create a acl using username from my active directory.

i have around 3000 users.

View 1 Replies View Related

Ubuntu :: Copying A File By Rcp To Rcp Host To Host

May 9, 2011

I am a bit of a n00b when it come to linux but I am setting up a test environment were I have a appliance monitoring network traffic. Part of my test requires me to copy a file via RCP from one host to another host. I have two ubuntu boxes. I have allowed the subnet in the etchost.allow for ALL. I have installed rsh-server

When I try to copy the file it looks like it tried to use SCP instad of RCP because it connects to 22 instead of 544. Also note that traffic must be unecrypted thus me trying to use Is there anyway to make ubuntu go old school to allow me to use rcp instead?

Code:
testuser1@ubuntu:~$ rcp /home/testuser1/test.txt testuser1@10.46.41.38:/home/testuser1
ssh: connect to host 10.46.41.38 port 22: Connection refused
lost connection
testuser1@ubuntu:~$ rcp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[Code]....

View 3 Replies View Related

Fedora :: VBoxVMM.so: Cannot Open Shared Object File: No Such File Or Directory

Oct 26, 2010

after updating my system I can't start VirtualBox-OSE anymore. I get the error:

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: VBoxVMM.so: cannot open shared object file: No such file or directory

I try to remove and to re-install VirtualBox-OSE again, still the same error. VirtualBox works as root but not from a user account. The installed version is VirtualBox-OSE.i686 3.2.6-2.fc13 @rpmfusion-free-updates

View 12 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory"?

Mar 28, 2011

I am trying to run Ansys on Fedora (64bit), but every time I do it gives me this error. "error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory"Please help as I am stuck with this issue for long.

View 6 Replies View Related

Fedora :: Error - Cannot Open Shared Object File: No Such File Or Directory

Mar 4, 2010

i have a problem with realplayer 11 i can't open it due to that error message

Code:
/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem

View 4 Replies View Related

Debian :: Install A File That Username Is Not In Sudoers File?

Jun 3, 2010

Is it possible to disable all passwords in debian. I do not need any security usernames and passwords. I don't want type sudo all the times and i want free acces all the time. With debian i allways have some premission problems and why i need a password for my home computer?

1. For example today when i tried to install a file debian told me that my username is not in sudoers file. How can i fix this? 2. Is it possible to disable all passwords and asking admin premission, i dont need that kind of ??? for my home computer. (including the login screen user/password asking) And i am sorry for my grammar errors, i hope you can still understand what i have tried to say.

View 13 Replies View Related

Fedora X86/64bit :: Libdbus-glib-1.so.2: Cannot Open Shared Object File: No Such File Or Directory

Jun 18, 2009

I've just installed F11 (x86_64) on my computer. I've been using x86_64 since Fedora 7 and normally I use a manually installed i386 firefox/thunderbird. This time I've tried to do the same using Fireox 3.5b4 but I got many troubles. The last error I got is:

./firefox-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory but that lib is not available on the standard repository. I've tried to use the i386 version of thunderbird (2.0.0.9) but I got this error: ./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory but on the repository there is just the libstdc++-4.4.0-4.i586 lib.

View 4 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory?

Aug 23, 2010

Running Fedora 12 (32 bit). 2.6.32.14-127.fc12.i686.PAE #1. Trying to open Amarok or digiKam generates the following error:- error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory.

Package exists in /usr/lib. Above 2 are the only applications affected that I've noticed to date. Googling indicates possible problem caused by recent flashplayer upgrade but I'm not sure.

View 7 Replies View Related

Fedora :: Cannot Open Shared Object File: No Such File Or Directory

Sep 11, 2010

Trying to install Cadsoft eagle pcb design app and getting :- error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

[root@localhost Downloads]# yum provides */libssl
Loaded plugins: presto, refresh-packagekit
No Matches found

[code]....

View 4 Replies View Related

Software :: Get First File Of Directory Then Copy To Other Directory Andd Rename The File?

Jan 30, 2011

I want to do the following.

1. have a directory full of subdirectory

2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name

3. need to work in commandline best is a simple script.

View 4 Replies View Related

Software :: Have Scripted Ssh Commands Appended To The Remote History?

Jan 17, 2011

If I interactively ssh to a remote host and enter commands, I can up-arrow through the command history.If a script ssh's to a remote host and calls a command, it does not get appended to the history.How can I configure ssh or sshd so that this happens? I'd like to be able to have those scripted commands available in the history file when I log back in interactively.

View 2 Replies View Related

Debian :: Username Is Not In Sudoers File

Dec 6, 2015

When I use sudo after entering password show me:

Code: Select allhooman is not in the sudoers file.  This incident will be reported.

View 5 Replies View Related

General :: When Look In The /etc/passwd File, Don't See Username There?

Aug 10, 2010

I got a user account on a linux network. But when I look in the /etc/passwd file, I don't see my username there. Where would I find my username

View 3 Replies View Related

CentOS 5 Server :: Username/password On An "aliased Directory" On Apache 2.2.3?

Mar 10, 2010

Consider this stanza for a directory on my Apache server:

<Directory "/var/www/html/mine/wedding">
Options FollowSymLinks
Order allow,deny
Allow from all
AuthType Basic
AuthUserFile "/etc/httpd/htpasswd_file"
Require user username
</Directory>

View 4 Replies View Related

Ubuntu Servers :: No Directory When Trying To Start Host ?

Apr 7, 2010

I type in /etc/init.d/hostname.sh start

And I receive bash: /etc/init.d/hostname.sh: No such file directory

For hostname I've use "hostname" and my actual hostname, and both receive the same error.

Although when I do hostname is shows the correct hostname but without the the comcast part of it , and when I type in hostname -f, I get the correct hostname with the comcast part of it.

View 8 Replies View Related

General :: To Create A Link For A Directory Across Host?

Mar 11, 2010

i am a oracle DBAI want to crete a link for a directory in production serverto remote host.

View 6 Replies View Related

Server :: Directory To Mount Not In Host - Dir Format

Jun 27, 2011

I have a SAN drive space connected to a SLES 10 (OES2) server. The server sees the drive at /dev/sdb1, and I was able to use fdisk to create a partition on it. I created a new directory /mnt/testvol, where I would like to mount the SAN drive to.
Fdisk shows the volume to be at /dev/sdb1 and lists it as Linux filesystem.

I used this command to try to mount it:
mount /dev/sdb1 /mnt/testvol -t nfs
and I get this error:
mount: directory to mount not in host:dir format

View 2 Replies View Related

Fedora :: Error To Rebuild Inkscape Srpm Fedora 14 : Glib.h: No Such File Or Directory?

Dec 23, 2010

my problem is inkscape-0.48.0-1.fc14.3.src.rpm in fedora 14 64 bittry rebuild --source inkscape-0.48.0-1.fc14.3.src.rpm and this my error:I think something wrong pkgconfig .

attributes.cpp:20:32: fatal error: glib.h: No such file or directory
compilation terminated.
arc-context.cpp:21:28: fatal error: gdk/gdkkeysyms.h: No such file or directory

[code]....

View 6 Replies View Related

Red Hat / Fedora :: No Such File Or Directory?

Dec 30, 2010

cp: cannot stat `orange': No such file or directory

orange is just the new name for the file, all the directories definitely do exist.

View 3 Replies View Related

Fedora X86/64bit :: Play A 32bit Game On F14-64 - Error "cannot Open Shared Object File: No Such File Or Directory"

Dec 19, 2010

You may know the Humble Indie Pack 2, which is a set of crossplatform indie video games. There's one game in the bundle that doesn't offer a 64bit build and therefore it fails to load. It's called Braid and that's what you get when you try to run it: $ ./braid ./braid: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Of course the 64bit libs for OpenGL and the propitiatory nvidia drivers are installed, but the game asks for the 32bit ones, at least to my understanding. I do know that why can install 32bit libraries on a 64 bit linux system (we do that for the sake of crappy Adobe Flash), but I don't know where to find these libs (searching the repo with keywords like .i586 or ia32 led me nowhere).

View 2 Replies View Related







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