Adding a new user to your system

Posted by: Chris  :  Category: Linux Tips

If you need to add a new user to your systemm just run the following commands:

useradd username

That will create a new user, and a new group, for the ‘username’ that you placed in there.  Now, to change the password for that user, run this:

passwd username

The system will ask you to input the password for the ‘username’ you chose twice.  Thats it, make sure you read the article on ssh security on how to make your enviroment more secure.

SSH Security

Posted by: Chris  :  Category: Linux Tips

There are many things one can do to help keep your ssh access secure on a shared hosting enviroment.  Grab your client (putty links can be found on the software page), log in, and lets go!

  1. The first one, don’t allow it!  Pretty simple huh?  In a shared hosting environment, there are very few reasons why you should allow a user to have ssh.  If you do, make sure you inspect the script(s) they plan on running, and keep an eye on the logs. Read more…

Contributors

Posted by: Chris  :  Category: Ramblings

I am looking for anyone that wished to contribute articles/posts to this site.  If you wish to lend a hand, please reply to this post.  Articles can be anything related to administering a server.  Basic stuff that we sometimes forget how to do is key.  If you end up being a active contributor, I’ll offer you an @solidservers.ca mail account.

Suhosin – Changing config values

Posted by: Chris  :  Category: Linux Tips

Suhosin, the hardened php project.  If you are having some troubles running some scripts after you’ve installed, you will have to change some of the configuration values.  There are three ways of doing this, however, I’ll only touch on two of them.  Both require you to have root access to the server.  If you want to change values globally (for all sites on the server), then you would add the config changes to the end of your php.ini file.  For example:

suhosin.post.max_vars = 2048
suhosin.request.max_vars = 2048

Read more…

Look mom, I’m bloggin!

Posted by: Chris  :  Category: Ramblings

Well, its now official, welcome to the SolidServers.ca blog.  My intensions for this blog are two fold.  First, I would like any system admin to be able to come here and learn some new stuff, perhaps a different way of doing things, and also, I would like others to contribute.  The second reason for creating this, is because I’ve got a crap memory, and I need to write stuff down so that I can call it up at a later date.  This blog allows me to do both. :)  I hope to be fairly active, I do administer a few servers, and am usaully pressed for time, but I will do my best!