LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-04-2003, 08:05 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
loggin in as superuser?


I found this on a website, is this true, and if so how the heck do you do system stuff then? I
ve been loggin in as root and superuser all the time cuz i have to do stuff.
-----------------------------------------------------------------------------------------------
You're not logged in as root are you?

Don't operate the computer as the superuser. You should only become the superuser when absolutely necessary. Doing otherwise is dangerous, stupid, and in poor taste. Create a user account for yourself now!
-----------------------------------------------------------------------------------------------
RH9, gnome, Opera
 
Old 08-04-2003, 08:27 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
It's true.

To use to the root account, open an x terminal and use these commands from your user account. Note the change in the prompt.
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]#
# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 08-05-2003, 08:43 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Yea i do that all the time. How else should i do system stuff that is safer?
 
Old 08-06-2003, 05:06 AM   #4
cIx
Member
 
Registered: Aug 2003
Location: /dev/null
Posts: 40

Rep: Reputation: 15
You should use root only for system administration etc., you should never work and stay logged as root.
 
Old 08-06-2003, 10:43 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Yea thats what i do, I log out and login as root sometimes but only for what i need to do then switch back, and other times i just open a console or hit ctrl-alt-f1 and switch back to the user. Thanks
 
Old 08-06-2003, 10:56 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
the statement is not saying never ever ever everrrr log in as root....it is more or less saying do not log in as root and run your computer logged in as root at all times...of course when you are installing stuff or editing some files on your machine (i.e. configuring sound, setting up a network, or whatever it may be) then of course you have to log in as root, but once your done doing what your doing, go back to your normal user.
 
  


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
loggin on to my com from college docetes Linux - Newbie 4 07-03-2005 09:19 PM
Superuser CJ_Grobler Linux - Newbie 7 06-13-2005 10:35 PM
who has been loggin on? nukeu666 Linux - Newbie 3 09-13-2004 12:46 AM
superuser snu *BSD 5 07-22-2003 10:48 PM
help! can't loggin islandkid Linux - General 1 03-16-2002 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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