LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-27-2004, 09:48 PM   #1
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Rep: Reputation: 15
Using root account


Is it ok to use the root account, or should I make my own????
 
Old 03-27-2004, 09:50 PM   #2
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Also, what is a login shell?
 
Old 03-27-2004, 09:59 PM   #3
vmbhosale
LQ Newbie
 
Registered: Mar 2004
Location: Kansas City MO USA
Posts: 2

Rep: Reputation: 0
root is equivalent to having the administrator rites on Windows machine...so its upto you whether you want to be a root or use a user account....
 
Old 03-27-2004, 10:01 PM   #4
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Ok, and what about the login shell? What is it?
 
Old 03-27-2004, 10:03 PM   #5
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
You should not use root for day to day work. If you did not set up a user account while installing, do so after you login. The login shell is the shell assigned to you after you login.
 
Old 03-27-2004, 10:13 PM   #6
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
quote:
root is equivalent to having the administrator rites on Windows machine...so its upto you whether you want to be a root or use a user account....

That is correct and is the reason why you should only be root or administrator only when you need to be. If you are always root and your system is compromised, then the game is over. If you are a user and get compromised, then for the most part, only the users account will be compromised, not the whole system.
Do not run a root.
 
Old 03-27-2004, 10:17 PM   #7
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Ok, I will make a user account, but I don't understand about login shells. I searched Google for it but I couldn't find an answer. You said that it is the shell that is assigned to you after you login. But what is a shell? what is it used for?
 
Old 03-27-2004, 10:17 PM   #8
Luantum
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 48

Rep: Reputation: 15
The login shell asks you for your username and once you type it in and hit enter it asks for your password. If you get that right you will enter the main shell. There are serval shells such as bash, ash, csh, or even sh. Bash is the most common.

Never use the root account for normal use. You should make a new account and use that for most things like email, games, web browsing, chatting, ext. It is a major security risk to use the root account for everything.

Make sure you use strong passwords with letters, numbers, and symbols at least 7 letters long. Anything less can be cracked quickly.
 
Old 03-27-2004, 10:22 PM   #9
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Hope this helps:
http://www.google.com/linux?hl=en&lr...=Google+Search

I think that is the login screen, check above.

mfo6463, check out the sites below for terminal and command info.

Last edited by twilli227; 03-27-2004 at 10:25 PM.
 
Old 03-27-2004, 10:32 PM   #10
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
So when I make a user account, what will be the difference if I use bash, or ash, or whatever other ones?
 
Old 03-27-2004, 11:11 PM   #11
witeshark
Member
 
Registered: Jan 2004
Location: Miami FL
Distribution: Mac OS X 10.4.11 Ubuntu 12.04 LTS
Posts: 429

Rep: Reputation: 30
There is little difference. Some variation in what CLI (command line) commands there are. For any command, type - man (command) - The shell (login shell) is just an area of operation, the entry to log on and run your system. Shell is just a cool word for login area I don't know how else to say it, but it makes nearly no difference if it's bash etc, just slightly different flavors. Bash is most likely the default and there is no reason to change it. But please never run on line as root! Make a separate user/password for that...
 
Old 03-27-2004, 11:16 PM   #12
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Here is another site to look at:
http://wwwacs.gantep.edu.tr/linux/un...ll/oview2.html

As witeshark said, you will probably be using bash, as it is the default shell on almost or all linux distros.
Here is another site that will help you search for info:
http://www.google.com/linux
 
Old 03-27-2004, 11:41 PM   #13
mfo6463
Member
 
Registered: Mar 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Ok, I get it now. Thanks for all of your help.
 
  


Reply



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
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 12:02 AM
Can't get root account ssimontis Ubuntu 6 07-05-2005 07:07 PM
Help with root account... thmonkey Linux - Newbie 3 04-05-2005 08:51 PM
The use of the 'root' account... tarballed Linux - Security 4 07-02-2003 07:07 AM
Root Account???????? Silverado2000 Linux - General 5 02-01-2002 12:55 PM

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

All times are GMT -5. The time now is 02:55 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