Complete.Org: Mailing Lists: Archives: discussion: December 1998:
Re: [aclug-L] king of the MOUNTain
Home

Re: [aclug-L] king of the MOUNTain

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] king of the MOUNTain
From: Bob Deep <bobd@xxxxxxxxxxxx>
Date: Tue, 01 Dec 1998 08:33:46 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

Jesse Kaufman wrote:
> 
> how do i make a specific user (say...me!) have rights to mount stuff...
> i've got a kewl WM dockapp that will allow mounting at a click of a
> button, but i cannot seem to give myself rights to mount...
> 
You could make your app set uid root.. Then it will run as "root" no
matter who runs it.  This is a security risk though... (I'm assuming the
dockapp is *not* a script but a standalone executable..)

Another approach is to make mount and umount set uid root...

You could use "sudo" to grant specific users the rights to become root
to run specific commands...

Etc..

All the above aproaches, have risks for security...  Consider them
carefuly for your machine.

> also, what does the last entry in the attached fstab file mean?
> 
> jesse
> 
>   ------------------------------------------------------------------------
> /dev/hdb1               /                 ext2    defaults                 1 1
> /dev/hda1               /home             ext2    defaults                 1 2
> /dev/hdb5               Swap000           swap    defaults                 0 0
> /dev/fd0                /mnt/floppy       ext2    noauto,user,unhide       0 0
> /dev/cdrom              /mnt/cdrom        iso9660 noauto,user,ro,unhide    0 0
> none                    /proc             proc    defaults                 0 0

It's just the fstab entry for the /proc file system...  That file system
just has information about your running processes and such, but it does
not take any disk space..  It's really just a "view" of the Kernel
process information made to look like a file system.  Have a look at it
when you have a chance... Kinda nice at times.

-= bob =-
---
This is the Air Capital Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]