LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-29-2004, 01:13 AM   #1
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Rep: Reputation: 0
root@localhost questions


I'm a newbie to "Linux" area and any help is appreciated. I just recieved my new "server" from serverworks. It included and installed the redhat linux release 9 and I am having some difficulty here.

After a boot up, I get the localhost login:

I then type the login I was given.

then I get the password:

I typed in the password I was given.

Then it shows
"last login: (date and time) on tty1"
"You have mail."
"[root@localhost root]#"


Can someone tell me what is this doing and what I need to do next?, Please.

Thanks in advance from a
 
Old 02-29-2004, 01:28 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
aparently it emans you have mail
and also means that you need to make a new user acount that you will use, the "root" acount tha it says ur loged on as isent a good acount to use for a server, a normal user is best to use as when a normal users acount is comprimised then they cant do much to hurt the system, if your using the root acount and it gets comprimised, then say goodby to your system
 
Old 02-29-2004, 04:53 AM   #3
slappycakes
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88

Rep: Reputation: 15
Hmm,

Well, first off the "tty1" means you are logged in to, say, terminal 1. Try pressing ctrl + alt together --> then press F2. Alternativley you can do the same but instead of F2 use F3 and F4 so on and so forth. These are your multi-user sessions. Neat huh?

Next, the terminal is telling you that you have mail and I think it is in the /var/log directory where you will find your mail however this is an area where I am weak so perhaps another LQ member will be more insightful.

lastly, the "[root@localhost root]#" means you're logged-in as root (the most powerful user) and the localhost is the default machine name Redhat has given your server.

You can change all of these and I would recommend not logging in as root. Try creating a normal user account and if need be su -l to root to perform any rootly duties.

Here is a good place to start: http://www.justlinux.com/nhf and is by no means the best or worst but as you use the system more you will find your way around little by little.

Redhat is a good starting Linux Platform but don't forget to try out different distro's to find one you like. I started on RH and then moved over to Slackware and fell in love. To each their own!


Hope this helps and enjoy Linux!

Slappy
 
Old 02-29-2004, 11:54 PM   #4
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the help.

I went to redhat site and read the document. I may be reading the wrong thing but I'm starting to wonder if buying a ready made set of cd's is the way to go and re install over the installation I already have.

To get an idea of what I am talking about here is the site. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/getting-started-guide/ch-starting.html

This looks simple, compared to going thru all the strings...maybe I'm all wrong.

I'm still stuck at why do I have mail and what do I need to do at the prompt? I tried creating a new user name and got stuck with a mixed up password thing. UUURRRRGGGGHHHHH!!!!

Bear with me and thanks for understanding.
 
Old 03-01-2004, 01:06 AM   #5
slappycakes
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88

Rep: Reputation: 15
new2server,

Is this Linux box something you bought to practice on? Did you purchase it with a warranty? If so check and make sure you don't void the warranty by reinstalling you OS.

You can certainly start from scratch and reload the thing with whatever distro you want I guess.

If you want to stick with RH try Fedora Core 1. It has all the bells and whistles and IMHO is the best from starters. You can find it here:

http://download.fedora.redhat.com/pu...re/1/i386/iso/

D/L the (3) i386 iso's and burn them to a cdrom. You do have another computer right and I'm assuming you have internet?

Else, stick with what you have, there is nothing wrong with RH9.

Now to answer you question, I need to ask you a question. What is it you want to do with that computer?

Add a new user in RH? (root# useradd) and follow the prompts...

Or you could switch to GUI (startx) and do it from there from one of the GUI interfaces.

Good References:
http://linux-newbie.sunsite.dk/index.html
http://www.justlinux.com/nhf
http://www.icon.co.za/~psheer/book/index.html.gz

Slappy
 
Old 03-01-2004, 01:23 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you want to see your mails just type "mail"
Redhat is setup so that some logs gets mailed to the root user automatically.
 
Old 03-01-2004, 02:28 AM   #7
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
ok first ...

The OS came with the computer and was installed. I really want to get around those command line but am lost from reading and reading the red hat tutorials. I want to build a personal server. And yes I have other computers. All have windows xp and I think my problems is being mentally stuck in windows mode. I'm trying to learn how to navigate around those command lines and i'm a sitting duck.

Also about gui how the heck am i suppose to get out and get into gui? Also i did a system check on the disk that was downloaded and burnt on a cd and shipped with the computer. Well first 2 tested "failed" while the 3rd passed.

How can i get into the users graphic window like it is on the link I posted earlier?

I guess i could use some step by step.

I'm planning to order admin c panel to install since I'm familiar with c panel. Yeah makes thing easier. and will need to install webalizer so i can manage my traffic.

Thanks guys

P.S. if all goes well, I would like to replace xp for linux, only if i can learn.
 
Old 03-01-2004, 02:33 AM   #8
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
ok,

i typed startx at the root# command line and recieved this


bash: startx: command not found



Hmmmm!!!!!
 
Old 03-01-2004, 01:28 PM   #9
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Alright well I'm slowly starting to get there.

I'm in the super-user directory (root) and created a adduser, and typed in adduser linus. Then I logged out and logged in as linus.
It poped asking for a password and i ignored it and clicked "enter" key.
Gee I can't gain access to this new user I created without a password. Is there a default? What would the password be then? I tried using the main root directory's password and got denied.


Now I log back in and tried to create adduser with "linus" again, sheesh i get user already added. Hmmm, how can i fix the password?

Now as I am in the root, I typed "ls" and my files displayed were

anaconda-ks.cfg index.html install.log install.log.syslog

Am I missing something else?

Arggh is that why I dont have the user graphic interface?
 
Old 03-04-2004, 12:45 AM   #10
slappycakes
Member
 
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88

Rep: Reputation: 15
new2server,

For adding a user try this link: http://linux-newbie.sunsite.dk/lnag_...html#home_dirs

Take some time to read and practice, remember you're not going to be a pro in 10 minutes.

As for the graphical portion of your question...I could walk you through the process of installing X Server and then choosing a window manager but I really think it would be easier for you to install a distro from scratch. That way you can work your way through disk partitioning and all the things that make Linux cool.

We can work it either way, let me know what you want to do...

 
Old 03-04-2004, 12:52 AM   #11
new2server
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Check this thread and you will see where I am falling out in the command lines.

Acording to the Red hat technicain, he believed I had a bad install since the image disk kept failing on a install test.

I gave up with red hat 9.0 and went to get SUSE, Gee it was a breeze to install.

Thanks for the help guys...thumbs up.

http://www.linuxquestions.org/questi...505#post794505
 
  


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@localhost Problem petenyce Linux - Newbie 1 09-28-2005 09:55 PM
root@localhost t0ker Linux - Newbie 4 09-14-2004 06:38 AM
Cannot POP to root@localhost.... greggy69 Linux - Software 0 08-05-2004 04:40 PM
Changing root@localhost to root@domain.com Stingreen Linux - General 14 12-17-2002 06:21 PM
bash-2.04#? what happened to root@localhost gummyworms Linux - General 2 07-12-2001 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 PM.

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
Open Source Consulting | Domain Registration