How to mount disk for non-root accounts?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to mount disk for non-root accounts?
# 1  
Old 08-19-2006
How to mount disk for non-root accounts?

Presently I have mounted a disk as su. I believe only root can mount disks -- is this correct?

I had to run mozilla in the root account so I can download the new SuSE distribution to the new disk.

How can I mount the disk so non-root accounts can access the disk?
Thanks,
Siegfried
# 2  
Old 08-20-2006
It is a bit unclear as to what exactly you want to do. Do you want the disk to be mounted at boot time? Or do you want any user to be able to mount the disk as and when they need it?

Now assuming that you are using Linux, for the first, make the necessary entries in the /etc/fstab file. For the second, use the '-o' switch with the 'user' or the 'users' options. Check the man page for details.
# 3  
Old 08-24-2006
Super users root file system tree can't be visible to non super users. For the visibility of the mounted file system tree to the non super users ,it has to be mounted to their own file system tree.
# 4  
Old 08-24-2006
how to mount disk

how to mount disk on on new drive?
# 5  
Old 08-28-2006
Quote:
Originally Posted by pankaj001np
how to mount disk on on new drive?
Post your question in detail.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

How to check local accounts have root and user access rights ?

Hi, I have three servers,For 3 servers how i can take output,all the local accounts and details of whether the access is Root or User access. cheers (1 Reply)
Discussion started by: ranjithm
1 Replies

2. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

3. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

4. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

5. Linux

How to mount/umount disk from a non-root account

Is it possible to mount a disk from a non-root account? I'm developing a Java application which executes commands in the shell using the java.lang.Runtime.exec api, which runs fine for commands ls, df, etc., but for commands mount and umount, i have problems as I need to be root to eecute these.... (8 Replies)
Discussion started by: brendan76
8 Replies

6. UNIX for Dummies Questions & Answers

How to mount disk for non-root accounts?

I have a USB disk on a little NAS controller (NSLU2 running unslung 6.8) that I can access nicely with root with mount -t cifs \\\\10.134.23.23\\DISK\ 2 /mnt/LKGD7F73A However, when I run emacs from an user mode xterm prompt, emacs cannot read and write the files on /mnt/LKGD7F73A. Emacs can... (11 Replies)
Discussion started by: siegfried
11 Replies

7. UNIX for Advanced & Expert Users

unixware 7.1.3 can't mount root

please help me about unixware 7.1.3 -------------------------------------------------------------------------------- msg: vfs_mountroot:cannot mount root %%%%%% system don't start (1 Reply)
Discussion started by: hushboy
1 Replies

8. UNIX for Dummies Questions & Answers

How do i access (mount, read & write) a floppy disk from the console, not being root?

welll, the title quite explains what i want to do thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies

9. UNIX for Advanced & Expert Users

Hw to create root-equivalent accounts?

Hi all. After installing ssh on a server, i'd like to create a user with root privileges. My problem is that after creating a user rootssh (uid=0, gid=20, /home/rootshh), i make rootssh's ssh keys. The problem is that normally the ssh-keygen should create the keys under $HOME/.ssh/, and actually... (6 Replies)
Discussion started by: penguin-friend
6 Replies
Login or Register to Ask a Question