Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2008, 11:54
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default General Account Operations

Hi guys, I am not a big Linux guy and i can seem to find the right example on the net.

Using a Debian system:

1) Create a new system user and only enable ssh for that user

2) Disable ssh for the root user.

As you can work out I am using the root user for ssh access which is not very good, so I need a system user for ssh and then su to root.

Extra info I am using ISPConfig on this system as well.

Thanks
Martin
Reply With Quote
Sponsored Links
  #2  
Old 5th August 2008, 15:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

To disable SSH root logins, open /etc/ssh/sshd_config and set PermitRootLogin to no, then restart SSH:
Code:
/etc/init.d/ssh restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pop3 service alone is failed in "The Perfect Setup - Debian Sarge (3.1)" nandhu HOWTO-Related Questions 60 5th August 2008 15:15
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Enabling root account in Ubuntu FrozenPixel HOWTO-Related Questions 2 14th November 2006 12:35
can ispconfig account tables become corrupted? darthpaul General 3 24th March 2006 18:58


All times are GMT +2. The time now is 05:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.