2
votes
1answer
815 views

linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip : netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print ...
0
votes
0answers
49 views

Can command cmp be used to compare a disc and an ISO?

My friend gave me a ubuntu live CD, for security reason I want to make sure the CD is safe to use. I have checked the sha256sum and md5sum of the CD, but then I heard they have vulnerabilities too. ...
3
votes
2answers
3k views

unable to delete file - rm: cannot remove Input/output error

Some file is in my NTFS file system which I can't delete. It's giving this error: rm: cannot remove `zigBqC04': Input/output error Any other files also could not be copied in that folder and ...
1
vote
2answers
1k views

How do i change the password of root, using webmin in one command line?

I have lost root password of one old server, where i can only have normal user login and via webmin login. Via webmin interface i have one option to execute command, i have been trying the following ...
0
votes
1answer
66 views

Get Security Updates Delta, and install them

I am writing a script that is supposed to run every day to check if there are any new security updates for Ubuntu. If there are, it will make a list of those updates, it will download them, and then ...
18
votes
3answers
5k views

Is this command to remove old kernels safe to use?

While browsing the internet for Ubuntu articles, I came across this command: sudo dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ...
4
votes
2answers
494 views

What's the difference between root account and simulated roots?

So if I disable my root account with sudo passwd -dl root I still have access to sudo {su,bash} or sudo -{s,i} conceptually how are the elavated rights different from the root account? I know the ...
0
votes
0answers
35 views

Very confusing administrations and password security [duplicate]

Possible Duplicate: How do I reset a lost administrative password? I have recently suffered an annoying problem which is really bugging me at the moment. When I start Ubuntu, I can login ...
1
vote
1answer
343 views

Can command line arguments be masked or hidden instead of appearing in the process list?

I have written a command line application in C++ that is used to access an online user account via a SOAP API. In order to avoid having any login details written to file anywhere on my machine for ...
4
votes
3answers
949 views

Did I Somehow Get Infected with Spyware or Virus?

So I Was trying to Install Ubuntu restricted Extras, and well this poped up in the terminal. www.actingcareersnow.comCasting Calls For Kids & Teens. Audition Now! Ages 9 to 29. [1] 3241 ...
8
votes
1answer
1k views

Why should I use gksudo for Gtk apps instead of sudo? [duplicate]

I read somewhere that people should use gksudo for applications that use the Gtk GUI instead of sudo? What's the reasoning for this?
1
vote
1answer
1k views

Why is this rkhunter script sending empty emails?

I have started running rkhunter (a security monitoring tool) and I have finally managed to clear all of its warnings. Now, a cron job runs every day to monitor my machine. Rather than send me an ...
1
vote
1answer
5k views

Importing PKCS#12 (.p12) files into Firefox From the Command Line

I've posted this question up on #Ubuntu and #Firefox Forums, and really could do with some help.. Anyone know where i could look or help with the answer. I'm hoping the power of social media will come ...
8
votes
2answers
4k views

What does “pts/” in the output of w mean?

When I run w - to see who is logged on and what they are doing, i see this: USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user tty7 :0 08:14 10:32m ...
48
votes
1answer
5k views

How to protect Ubuntu from fork bomb

I heard someone talking about a fork bomb, I did some research and found some dreadful information about some strange looking characters people can have you type at the command line and as a result do ...
8
votes
6answers
33k views

Get root access for copying files to /usr/share/…?

To be short, I want to copy a folder to a location /usr/share/screenlets/.... in Ubuntu 10.04 system. I tried by logging in as root from terminal giving su. I even changed my user account type to ...