Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: mgraffam@idsi.net
To: Larry Snyder <larrys@lexis-nexis.com>
Cc: axp-list@redhat.com
Subject: Re: Can't startx as root with pre5
Date: Fri, 8 Jan 1999 00:08:27 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.3.96.990108000308.27314A-100000@albert> (raw)
In-Reply-To: <199901080407.XAA25238@ra.lexis-nexis.com>

On Thu, 7 Jan 1999, Larry Snyder wrote:

> > I'm also having a problem mounting
> > filesystems as a user. It says only root can mount /dev/* on /mnt/* but
> > according to filerunner (chmod) all users have r-w-x privledges on both
> > the devices in question and the mount  points. I even change the owner
> > on said points from root to me (peterpan) with no effect. I'm stumped.
> > TIA.
> 
> mount won't let anyone but root do anything active.  Users can run it to
> see what's mounted where, but only root can mount/umount things.  If
> you have a need beyond that, check out sudo.  We use it at work.

This is not completely accurate. You can set up /etc/fstab to help with
this sort of thing. 

/dev/cdrom      /cdrom          iso9660         ro,user,noauto,unhide 1 1

Any user can mount /dev/cdrom on /cdrom simply by typing "mount /cdrom"
.. I have this command tied to F6 under the window managers that I use.
This way, all my friends who are not penguin-friendly don't have to
mess with bash while using Netscape or Acrobat when sitting at one of
my X terminals. Keeps complaints to a minimum :)

However, sudo is a great tool. I heartily recommend it. 

Michael J. Graffam (mgraffam@idsi.net) http://www.idsi.net/~mgraffam
They (who) seek to establish systems of government based on the
regimentation of all human beings by a handful of individual rulers..
call this a new order. It is not new, and it is not order."
				- Franklin Delano Roosevelt


  parent reply	other threads:[~1999-01-08  4:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-08  3:06 Can't startx as root with pre5 Peter Petrakis
1999-01-08  4:07 ` Larry Snyder
1999-01-08  4:13   ` Peter Petrakis
1999-01-08  5:08   ` mgraffam [this message]
1999-01-08 17:08   ` Stephen Williams
1999-01-08 20:00     ` Larry Snyder
1999-01-08  6:32 ` Richard Henderson
1999-01-09 17:07   ` Peter Petrakis
     [not found]     ` <19990109100643.B15858@dot.cygnus.com>
     [not found]       ` <3697AD79.D4EA26DD@wn.net>
     [not found]         ` <19990109113052.A16165@dot.cygnus.com>
1999-01-10  3:07           ` Can't startx as root with pre5 and pre 6 Peter Petrakis
1999-01-10  3:14             ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox