Re: question about Linux boxes only running as root



In article <Pine.LNX.4.64.0911061015540.2856@xxxxxxxxxxxxxxxxxxxx>,
Michael Black <et472@xxxxxx> wrote:
On Fri, 6 Nov 2009, The Doctor wrote:

Right I got a customer who is only running one account, namely root
and 1 app. I suspect this person is opening himself to trouble.

yes/no?

When this has come up before, it's often become clear after a bit that
the person running as root often can't see an alternative. They hit
something that requires being root, so they think it's better to be root
than configure things properly. A classic example is not being able to
access the CDROM drive, because their user account isn't in the group that
allows access to the CDROM. It's simple to fix, just put their user
account in the group that has access to the CDROM, but too often the
beginner doesn't realize that.

Then of course at least once, and maybe more, someone has whined about how
they can't run something as root, so they want details on how to "fix" it.
They can't switch their mind out of being root, so they think the program
is "faulty", rather than realize it's a clue that they shouldn't be
running as root.

In a single user system, one can actually be pretty lenient, not fussing
quite as much as with a multiple user system. You might as well make the
CDROM and other removeable drives open to all since "all" is only one
user. But far better to take that time to configure things than run as
root.

Michael

But the system can be hacked into.
--
Member - Liberal International This is doctor@xxxxxxxxxx Ici doctor@xxxxxxxxxx
God, Queen and country! Never Satan President Republic! Beware AntiChrist rising!
http://twitter.com/rootnl2k http://www.myspace.com/502748630
For the latest World News go to http://www.cuttingedge.org/ - Lest we forget 2009 .
.



Relevant Pages

  • password restoration, NOTICE: /: unexpected free inode
    ... I forgot the root password and needed to ... 2)Insert a Solaris Install disk into the CDROM ... reboot the system ...
    (SunManagers)
  • Unable to mount CDrom in 5.2, reading past threads is of no help
    ... Im having issues in mounting a cdrom on my FreeBSD5.2 ... system both as root and non root user. ... mount_cd9660: /dev/acd0c: Invalid argument ... link acd0 cdrom ...
    (freebsd-questions)
  • Re: Do we really need to worry about viruses
    ... > common tasks where users are confronted with permission problems. ... > running as root, ... If when a user account is created, at least in my debian experience, it ... the user needs to be added to the cdrom group. ...
    (Debian-User)
  • Re: [opensuse] Re: k3b on suse 10.2: no devices
    ... mount a cdrom (as root, of course) before I can access it's contents as a ... You should absolutely not have to mount cdroms as ... In kde, all this is managed by KDED, which is ...
    (SuSE)
  • Re: can not access cd-rom
    ... I assume that you were root when you typed the command. ... > ACPI: Unable to locate RSDP ... Try to mount the CDROM on an existing directory with the command above. ...
    (comp.os.linux.setup)