Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st March 2007, 00:03
drogers1988 drogers1988 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Very WEIRD Problem! Prolly very easy question.

I just got my dedicated server 2 days ago, when i used to login to ssh, i had a "#" and it was more user friendly. now i have "-bash-3.00#" how can i get back to the default? I am running CentOS.
Reply With Quote
Sponsored Links
  #2  
Old 1st March 2007, 08:44
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You probably have changed the login shell of the user 'root'. Either you edited the file /etc/password directly (bad) or used a command like 'usermod -s <something>'. I don't use CentOS, so I can't tell you what the default for root is. I think it should be '/bin/sh'.
Reply With Quote
  #3  
Old 2nd March 2007, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

What's the output of
Code:
whoami
when you see -bash-3.00#?
__________________
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Weird problem when sending email from a PHP form. edge Installation/Configuration 5 5th September 2006 16:57
Weird postfix problem: mail gets delivered again and again to infinity mority Server Operation 3 11th August 2006 16:48
Very weird Apache + iptables problem snowfly Server Operation 1 8th August 2006 01:51
weird problem display £ signs in web pages paulley Server Operation 2 27th June 2006 22:16


All times are GMT +2. The time now is 15:07.


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