[Prev][Next][Index][Thread]
Re:
Meir Litmanovich wrote:
>
> > Do you login as "root" on your Linux machine?
> >
> > If so - why??
> >
> I do . And I don't think it's reason to flame somebody . Whenever
FLAME??? Who's flaming?? I was just trying to help, and I think
I'm doing a good job so far.
> you once a five minits need to do "su" ,cause you need to mount something
> or to install something or to do any other system maintainance work you'll
> begin to work under root .
I've been doing UNIX administration more than ten years by now
and the number of times I logged in as root under normal
circumstances can be counted on my toes (well, maybe with the shoes
off :)
On many UNIX systems root isn't allowed to login directly at all,
this is in order to give you another layer of protection and some
tracability as to "who logged in on this terminal at that time
as root??".
You can make things easier by logging in as yourself then su,
then either:
1. open another window/virtual-console to continue work as a non-root
2. suspend the su shell (read "man csh" or "man bash" or
whatever is your root's shell). A common practice is to
alias "z" to "suspend".
As for mounting - Linux allows regular users to call mount, read
"man fstab" (as far as I remember, if not then "man 8 mount").
Installing software? I do that all the time, and I just "suspend"/"fg"
between the shells as needed. You can probably setup "sudo" to help
you with that if you insist, though I suspect sudo's security and
feel better when it's not on my system.
--Amos
--Amos Shapira | "Of course Australia was marked for
| glory, for its people had been chosen
amos@dsi.co.il | by the finest judges in England."
| -- Anonymous
Follow-Ups:
- Re:
- From: Ira Abramov <ira@scso.com>
References:
- Re:
- From: Meir Litmanovich <mlitmano@macs.biu.ac.il>