LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2012, 11:18 PM   #1
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Rep: Reputation: Disabled
Error on Root Login


I added ASCII art to show up at login and now get the following errors before my picture

-bash: MDNNN: command not found
-bash: .?10955OI?I10955I..: command not found

Should I be worried/how can I fix this?

Thanks!
 
Old 04-22-2012, 03:25 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
How did you add the ASCII art?
 
Old 04-22-2012, 04:43 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
how did you add this ASCII art ?
changing the boot GUI is not a simple thing
 
Old 04-22-2012, 08:49 AM   #4
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: Disabled
I took a picture and converted it to ASCII with an online program. Then I created a file with Vim which I added to the .bashrc file. It actually took me a while to get it to work. I think I must have created an error in the .bashrc file, but don't know where to go to look for a correct version of the file so that I can find out what I messed up.

I am very new to Linux, just installed a virtual machine and then CentOS a couple of days ago. I have been figuring out how to do things by reading stuff online and watching how to videos on YouTube.

Any help is appreciated - also suggestions for projects that I can try to muddle my way through.
 
Old 04-22-2012, 09:03 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Please post the contents of your .bashrc and the file you created.
 
Old 04-22-2012, 11:32 AM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The .bashrc is supposed to be a shell script that is sourced at login, not text to be displayed at login. You could always put the ASCII art into a file (~/myart.txt or the like) and then cat that file from the .bashrc.
 
Old 04-22-2012, 01:33 PM   #7
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: Disabled
That's actually what I did - sorry still don't know the lingo.
 
Old 04-22-2012, 01:45 PM   #8
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: Disabled
Also - I think I should have made a back up for .bashrc before I messed with it!
 
Old 04-22-2012, 01:53 PM   #9
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: Disabled
When I log in to my root file this is what currently shows up

[radmack@localhost ~]$ su -
Password:
-bash: MDNNN: command not found
-bash: .?11851OI?I11851I..: command not found
.7.
.7~7 .+..
.~?7=Z88I?:
.I7ZZ=7ON8Z.
.78ZOZZ$$I$$..
.?I$ZOD7$+OI$Z+.
.I7$$$$OI$7O?$..
?II7O7$?:II+7...
..?7II$7$I=:=:,.
.+I$77ZO7I7ZZ$$.
.I?II$?7++I$ZI888.
=??II=+?7Z~+I788ZI
?7II???$ZI77$7O8OZ..
..7?$I+I7I7I$I?O8$ZZI.
.=$7?$?$7++8DZOZO$O$7.
.~I$7?I$??7II$Z8ZOOOZ.
.,=?$D8$I78OO8O78OZZZ.
..=$7??7OD=+$OI77O$OZ. . .
+?I?$77I+$77~+IZ7$Z....?ZD8OO,. ..
.++I7I$+++$++78ZOOOOOZOO88DN88ONN.
..~+7?I=?I7I+IO7$7$$7Z7Z$$ZDOMDNNN .
.?$$OI?I$Z8OZO$$I.. ....... ....
.$ZIO8OZ7D$. .....
... ..

[root@localhost ~]#
 
Old 04-22-2012, 02:01 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
As long as you don't post the requested info we will not be able to help you.
 
Old 04-22-2012, 02:08 PM   #11
radmack
LQ Newbie
 
Registered: Apr 2012
Distribution: CentOS
Posts: 6

Original Poster
Rep: Reputation: Disabled
Sorry didn't see that request. When I went in to my .bashrc file I realized that I must have just accidentally added some extra text. I deleted that and all is good now. Thanks though - this forum is very helpful! I actually think I learned a ton trying to figure out how to fix my 'problem'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root password login error jec25 Linux - Newbie 1 12-03-2009 01:57 AM
Root login error satda70 Linux - Newbie 1 11-03-2008 03:58 PM
[SOLVED] Permission error at non-root login polemon Linux - General 12 04-25-2006 08:02 AM
root login error usa1234 Linux - Distributions 4 01-04-2005 06:20 AM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 11:54 AM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration