Showing posts with label server. Show all posts
Showing posts with label server. Show all posts

Wednesday, November 18, 2009

A little bit of bypass.

I just remembered a page called slashdot. I used to read it about 5-6 years ago and i finally found my way back. One thing that caught my eye was an article about a vaunerbility in the linux kernel. Its a bug that gives the exploiter full access to your computer. You can read more about it here.

If you want to see a full list of witch Kernel Versions are vulnerable you can check out securityfocus.
And if you dont know how to check your kernel version you can type uname -r in the console.


Wednesday, November 11, 2009

creating FTP server of your Ubuntu machine.

Since i want to have a Web-server on my machine i am going to install a FTP server on it so it will be easier for people to upload material for their website. I looked around on the net and found proFTPD server. It will do for now but i later on I want encrypted traffic for safety. I found a pretty nice guide how to set up this server on this page. LINK

I added users with a command called useradd. Pretty easy to use and you will find some nice howtos for adding users and groups on this site. LINK
Dont forget to add -m so home directory is created.
To add password to user you just write
passwd (username)

Monday, November 9, 2009

Installing SSH to remote Ubuntu 9.10 server

Now i have installed Ubuntu server 9.10 and i am ready to start configuring it. Since i don't have any computer screen or keyboard connected to the server i want to be able to remote it with SSH.
So before i put it in my closet i am going to configure SSH.
I start with installing openssh server on it with
Since I am going to use the root account for a while now i am going to start a Root shell instead of wighting sudo all the time.
sudo -i
then i install the server
apt-get install openssh-server


After the install was complete i configured the sshd_config file under /etc/ssh
vi /etc/ssh/sshd_config
then i used 'i' to input text to the document
PermitRootLogin NO
AllowUsers (Username), (username)


After i made the changes i saved and quit :wq! to save and quit in vi.
after this i just restarted ssh and the server was ready to be put in the closet.
service ssh restart