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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-29-2004, 01:13 AM
|
#1
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Rep:
|
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
|
|
|
02-29-2004, 01:28 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
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
|
|
|
02-29-2004, 04:53 AM
|
#3
|
Member
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88
Rep:
|
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
|
|
|
02-29-2004, 11:54 PM
|
#4
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
03-01-2004, 01:06 AM
|
#5
|
Member
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88
Rep:
|
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
|
|
|
03-01-2004, 01:23 AM
|
#6
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
If you want to see your mails just type "mail"
Redhat is setup so that some logs gets mailed to the root user automatically.
|
|
|
03-01-2004, 02:28 AM
|
#7
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
03-01-2004, 02:33 AM
|
#8
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Original Poster
Rep:
|
ok,
i typed startx at the root# command line and recieved this
bash: startx: command not found
Hmmmm!!!!!
|
|
|
03-01-2004, 01:28 PM
|
#9
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Original Poster
Rep:
|
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?
|
|
|
03-04-2004, 12:45 AM
|
#10
|
Member
Registered: Aug 2003
Location: Japan
Distribution: Slackware 10
Posts: 88
Rep:
|
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...
|
|
|
03-04-2004, 12:52 AM
|
#11
|
LQ Newbie
Registered: Feb 2004
Posts: 19
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|