Solved

Mount permissions for normal users

Posted on 2000-05-01
3
386 Views
Last Modified: 2013-12-27
How can I give a regular user the permission to mount a certain volume (in Solaris)?  In linux you can add "users" to the options in the fstab, but I can't find anything similar in Solaris.

Thanks,

Paul
0
Comment
Question by:PaulKorzycki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:struyfsj
ID: 2768499
Paul,

In Solaris you have to have root privileges to mount file systems.

You could use a little utility like sudo (SwitchUser do).
 With sudo you can alow a specified user to execute a specified command (mount) on a specified host.

JS
0
 
LVL 2

Expert Comment

by:jonke
ID: 2768660
Depends whether these are NFS mounts or local mounts. If local mounts, then why not have these mounted all the time?

Otherwise, use the automount facility. If you want an explanation of this just shout.

0
 

Accepted Solution

by:
ddavis42 earned 50 total points
ID: 2806053
1.  chown root /etc/mount
2.  chmod 4511 /etc/mount
3.  chown root /etc/umount
4.  chmod 4511 /etc/umount

BUT - be careful how you use this.  It can open a HUGE security hole in your system.  If someone has a setuid trap door on a floppy already, mounting the file system adds it to the main system and allows the user to become root on the entire system just from a floppy.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question