Re: Root Permissions



Tim Lloyd wrote:
> 
> I'm having fun learning about not doing everything as root, myself.  So
> far, to fix those two problems, I've done a chmod u+s /sbin/pppd to set
> pppd SUID root, and chmod a+r /dev/cdrom to give all users CD-ROM access
> (cause RedHat somehow figures that only root would want CD-ROM access).
> So far, so good.  Now I just have to figure out a good way to network my
> PC and my laptop with either a null modem or null printer cable...
> 
> Tim Lloyd, omaha@tmbg.org
> 
> > So, running GNOME with a non-root user is hard, and need certain adjustment...And running from ROOT is not safe, as all us known. I found some major problems:
> > - pppd: cannot call if not set SUID from non-root users
> > - CDROM: on RH 5.2 the device linked by /dev/cdrom is NON-readable from the world

You don't need/want to set those programs suid, simply have to add your
user to the disk and dip groups -- or use RH's usernetctl console app as
the target of your user-only.

    Jim Cape
    http://www.jcinteractive.com

    "All animals are equal, some animals
     are more equal than others."
         -- George Orwell, Animal Farm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]