LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2005, 12:58 PM   #1
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Rep: Reputation: 15
Lightbulb very simple user question


I read all the time of ppl who uses user on their Linux systems, Im just wondering why bother?
I always just install Linux and login as Root.
No users needed for me..
Is there something wrong with that except for when its required to have a second user to install some programs?
 
Old 02-14-2005, 01:11 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well, time will tell

I mean when you will get some experiences with Linux system, you will find by yourself the reason why most of the Linux/Unix users use the root user for administrative operations only.
 
Old 02-14-2005, 01:13 PM   #3
Joubert79
Member
 
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Indeed, time will tell.

Any application you run as root has root privileges, and consequently may romp freely all over your system. You should be certain you never run apps or scripts you don't trust well.

Doing everyday tasks as a normal user also prevents blunders like "rm -Rf *" in the root directory. NB Do NOT do this as root (or even as a user really).

One compromise people make between working as root and user is to use sudo to give root powers to users, but only for certain purposes. You might find it useful.

Last edited by Joubert79; 02-14-2005 at 01:15 PM.
 
Old 02-14-2005, 01:16 PM   #4
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
There are two very good reasons why you should NEVER run routinely as root.
Firstly, you can do something you didn't intend to and trash your system.
Second, if you get hacked, and if your security is less than watertight you could be, then the hacker has full file permissions on your system ie. he can do whatever he likes.
 
Old 02-14-2005, 01:18 PM   #5
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
ok, Im convinced.
 
Old 02-14-2005, 01:19 PM   #6
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Here's one more reason, and perhaps the most important:

Because it's standard practice to log in as root only when necessary, practically all Linux documentation in books and on the Internet presumes this practice. It's easier to use help files and documentation when you're doing things in a similar way to what is presumed.
 
Old 02-14-2005, 01:28 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Some systems actually prevent direct logins as root using login managers or ssh because of the security implications. If your computer is connected to the web in some way, I would suggest creating a normal user account.
 
Old 02-14-2005, 01:29 PM   #8
roAder
Member
 
Registered: May 2004
Location: Sweden, Stockholm
Distribution: Slackware 10.1
Posts: 142

Original Poster
Rep: Reputation: 15
Well is it possible to reconfigure the su so that it has limited user access or is su not even classed as a user?
verything is virtualy possible in C++
 
Old 02-14-2005, 01:58 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
su is a command, not an user, to give to an user some commands which require root privileges,
look at sudo command and its /etc/sudoers config file

http://www.linuxquestions.org/questi...hreadid=289808
 
  


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
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Simple New user Problems. rvijay Debian 2 02-17-2005 06:04 PM
NT Domain Promtp for User/Pass - Simple Question zcorpio Linux - Networking 6 09-14-2004 11:19 AM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 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
Open Source Consulting | Domain Registration