Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mount permissions for normal users

Posted on 2000-05-01
3
Medium Priority
?
391 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

610 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