General :: How To Add Entries / How To Delete Entries
Oct 13, 2010
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
So I have some entries like the ones below. I have a system setup to do all the routing/dhcp/dns. This is a private network for education purposes only, and I have no idea how half of these addresses got in the arp table.
how to just clear the table. That's all I want. Is that too much to ask? I also noticed in Wireshark that packets are constantly being sent to find the MAC address that these IPs belong too. I really want that to stop happening.
EDIT: I have also tried using ip neighbor. I ran "ip neighbor del 192.58.128.30 dev eth0", and it gave no errors but didn't remove the entry. All the ones without a MAC are also listed as FAILED in ip neighbor.
Before Ubuntu I used m8, and the boot options for m8 still shows up in the grub startup screen. I want to get rid of those m8 entries. I have edited grub in the past, and it was just a regular text file, where you could just remove lines or even change listing order.Edit the menu using the command "sudo gedit /boot/grub/menu.lst.No good, there is no such file on my system. After password, That command displays a blank Gedit screen.
My laptop is set to dual boot, either Ubuntu 9.10 or Windows Vista. The GRUB loader has multiple entries, starting with Ubuntu, then several instances of Ubuntu recovery mode, before memory test and two entries for Vista, the first of which does not work. How do I delete the unwanted entries? I can press "e" to edit them, but if I do so how do I actually delete them, assuming it is safe to do so.
I would like to remove OR move down the "create folder, launcher etc" so the first button can be Open Terminal. I have used both NACT and nautilus-actions to get the Open Terminal on the menu - but I would like it to be on the top (old habit).
I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd1 to hdd2 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this code...
now I want to make a shell script to delete all the files/entries (read from the log file) that begin with code...
I'm running OS X and it appears that after SSHing to several machines, using identity files, my ssh-agent builds up a lot of identity / keys and then offers too many sometimes to a remote machines, causing them to kick me off before connecting. Received disconnect from 10.12.10.16: 2: Too many authentication failures for cwd
It's pretty obvious what's happening, and this page talks about it in more detail: SSH servers only allow you to attempt to authenticate a certain number of times. Each failed password attempt, each failed pubkey/identity that is offered, etc, take up one of these attempts. If you have a lot of SSH keys in your agent, you may find that an SSH server may kick you out before allowing you to attempt password authentication at all. If this is the case, there are a few different workarounds.
Rebooting clears the agent and then everything works OK again. I can also add this line to my .ssh/config file to force it to use password authentication: PreferredAuthentications keyboard-interactive,password Anyhow, I saw the note on the page I referenced talking about deleting keys from the agent, but I'm not sure if that applies on a mac since they appear to be cleared after reboot anyhow. So, my question is, is there a simple way to clear out all keys in the ssh-agent (the same thing that happens at reboot)?
Broadcast Accounts...' and 'Ubuntu One...' from under the username menu on the top panel So it went from Screenshot2.jpg to Screenshot.jpg. (The first screenshot is from my laptop which works perfectly - just to demonstrate what I want my desktop (on the right) to look like)I have no idea how I did it, but have spent all day trying to get the buttons back, downloading many applications (and learning a lot about customising gnome!) but to no availEDIT: I've also noticed that the 'Synchronize on Ubuntu One' option when you right click on files and folders does not exist on the desktop pc
All, i am receiving numerous entries for programs such as snmpd in my messages file. Is there a way to add a rule somewhere to have these and other annoying unimportant entries go to /dev/null or something?
I tried adding an entry to /etc/syslog.conf, but that hosed any logging into the messages file, so maybe i added it wrong?
I want to try and do this with out installing anything additional.
After adding what I thought were the correct entries in /etc/sudoers so I'd be able to run commands without needing to sudo them, I keep having to. My sudoers file entries look like this:
Code: ## Allow root to run any commands anywhere root ALL=(ALL) ALL user_me ALL=(ALL) ALL
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL user_me ALL=(ALL) ALL
## Same thing without a password %wheel ALL=(ALL) NOPASSWD: ALL user_me ALL=(ALL) NOPASSWD: ALL
I have also confirmed that I'm a member of the wheel group in /etc/group: Code: wheel:x:10:root,user_me And yet, I still have to sudo to do pretty much anything.
I want to edit the Main menu to regroup the applications, and change the paths of some of them.. I have done some yum install and remove, but the entries in the main menu are still present.=
It is needed because of my portable audio player does not order entries and just leaves it as in FAT directory.
Current way of handling this is only moving files around and re-creating directories and placing files there in correct order (keeping in mind where are "holes" in directory list that will be filled by new file in placed to that directory).
What is the more proper way of doing it? (Apart from re-creating all directories each time or using hex editor on disk).
I need to prevent udev from creating the /dev/v4l/by-path/* and /dev/v4l/by-id/* files upon connecting my webcam. The problem is that Kopete doesn't want to display the video if these files are present. It works fine if I remove them, but I'd rather not have them created in the first place, since they seem to be completely useless anyway.
It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?
I have an existing WinXP install on the main drive (/dev/sda) of a Dell laptop. I installed OpenSUSE 11.3 on the second (caddy tray) drive and didn't touch the existing windows partition during install.After install completed, I found there was no boot loader entry for WinXP during startup. Only SUSE-related stuff. I opened YaST boot loader and tried creating an entry of type "other" and device of "/dev/sda1" and set this as the default entry.The /boot/grub/menu.lst file now has an entry:Quote:
title Windows XP-32 rootnoverify(hd0,0) chainloader (hd0,0)+1
There are 2 osx entries in the grub menu one is 32-bit and the other is 64-bit, how i can get rid of the 32-bit one? i am using ubuntu 10.4 and snow leopard 10.6.3
Whenever i updates ubuntu through update manager at the next boot i found two more entries (one of which is for recovery mode) added in my boot menu. So can anyone tell why it is so? And how to get rid of it
Is there a way to know the dns entries of a certain domain? Let's say I want to know its IN A records on their DNS Server. I know you can find the MX Record using the host command but I want to know the other IN A records associated with the specific domain.
I decided to implement quota on /home file system, but unfortunately I had not separate partition of /home file system. So I made entries in fstab at root (/) partition as follow:-
Label=/ / ext3 defaults,usrquota, usrgroup 1 1
and reboot the system, but my system could not give me login screen and after a longtime giving many "read only files" error ends up at following error message:-
"I could not start the X server (your graphical environment) due to some internal error. Please contact your system administrator or check your syslog to diagnose. In the meantime this display will be disabled. Please restart gdm when the problem is corrected."
I also got single user mode and try to remove changes whatever i had made recently but it gives me read only fstab file.
I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.