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.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. UNIX for Dummies Questions & Answers
welll, the title quite explains what i want to do
thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies
3. UNIX for Advanced & Expert Users
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
4. UNIX for Dummies Questions & Answers
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
5. Linux
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. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. Solaris
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
9. Red Hat
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
LEARN ABOUT CENTOS
usermount
USERMOUNT(1) General Commands Manual USERMOUNT(1)
NAME
usermount - A graphical tool to mount, unmount and format filesystems.
SYNOPSIS
usermount [ options ]
userformat [ options ] device
DESCRIPTION
usermount is a graphical tool to allow users to easily manage removable media, such as floppy disks or zip disks. When the tool starts up,
it scans /etc/fstab for all filesystems that have been configured to allow users to mount and unmount them. The filesystem can be mounted
or unmounted by pressing the toggle button labeled Mount.
Also, if the user has the appropriate permissions for the device, the Format button will be active. This allows the user to format disks
using fdformat and create a new filesystem of the type listed (using mkfs with the appropriate option). Naturally, the user will be
prompted for confirmation before actually destroying data on the device.
Note that if a device is already mounted, the format button is inactive for all entries that share the same device.
When run as root, usermount displays all of the entries in /etc/fstab rather than just the ones with the user option.
Invoking userformat device allows formatting device, as if by selecting device in the userformat window, and by clicking the Format button.
OPTIONS
This program has no command line options of it's own, but it does take the standard X program options like -display and such. See the X(1)
man page for some of the common options.
FILES
/etc/fstab The system file describing the mountable filesystems.
SEE ALSO
mount(8), fdformat(8), mkfs(8), fstab(5) X(1)
BUGS
Mount entries with a filesystem type of iso9660 are outright considered CD-ROMs and the format button is always disabled.
Mount entries for swap files or partitions are also ignored. A nice feature might be to allow root to turn swap on and off for swap parti-
tions.
AUTHOR
Otto Hammersmith <otto@redhat.com>
Red Hat March 13 2007 USERMOUNT(1)