Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 30, 2011 4:53 pm 
Offline

Joined: Sun Jan 30, 2011 4:46 pm
Posts: 1
So it appears that my linode has root enabled by default and that's how I connect with SSH.

How do I change the password? And if I do so, am I asking for trouble?

Thanks in advance for your help.


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2011 5:05 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Are you asking for trouble?

Of course you are - remember the Unoobtu credo - you are too STUPID to be trusted with root.

Stop it - stop it now. Unoobtu fanboys the world over are cringing in their mothers basement hoping that you haven't changed any of the universes constants or worse yet increased entropy past the point of no return.

Sure, UNIX Admins have been successfully (and safely) using root accounts for over 3 decades - but don't fool yourself, Unoobtu users are not in the same league as the smart, wise (and generally more handsome) UNIX admins.

So do a quick format, reload your candyass distro, and don't even think of running as root unless you have a glorious flowing, chick magnet, white beard to prove your worthiness.


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2011 5:41 pm 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
I use the public key method and disable password authentication- http://library.linode.com/security/basi ... k_down_ssh

_________________
--
Chris Bryant


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2011 7:05 pm 
Offline
Senior Member

Joined: Mon Aug 31, 2009 2:33 pm
Posts: 78
Location: The OC
vonskippy wrote:
*snip worthless dribble*


that was quite the helpful post, vonskippy. :roll:

to the OP: if you're already logged in as root, you can change the password the same as you would when logged in as any other user:
Code:
 passwd 


Top
   
 Post subject:
PostPosted: Mon Jan 31, 2011 10:50 am 
Offline
Senior Member

Joined: Sat Nov 13, 2010 3:05 am
Posts: 91
Website: http://www.graq.co.uk
bjl wrote:
vonskippy wrote:
*snip worthless dribble*


that was quite the helpful post, vonskippy. :roll:

to the OP: if you're already logged in as root, you can change the password the same as you would when logged in as any other user:
Code:
 passwd 

You can disable direct root login in ssh config:
Code:
> grep Root /etc/ssh/sshd_config
PermitRootLogin no

Don't forget to look into sudoers list (wheel).
Don't forget to make sure that everything works before disconnecting your root session.
Don't forget, if it all goes utterly wrong, use Linode website to get energency root terminal.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group