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 FREEBSD
quotaoff
QUOTAON(8) BSD System Manager's Manual QUOTAON(8)
NAME
quotaon, quotaoff -- turn file system quotas on and off
SYNOPSIS
quotaon [-g] [-u] [-v] filesystem ...
quotaon [-g] [-u] [-v] -a
quotaoff [-g] [-u] [-v] filesystem ...
quotaoff [-g] [-u] [-v] -a
DESCRIPTION
The quotaon utility announces to the system that disk quotas should be enabled on one or more file systems. The quotaoff utility announces
to the system that the specified file systems should have any disk quotas turned off. The file systems specified must have entries in
/etc/fstab and be mounted. The quotaon utility expects each file system to have quota files named quota.user and quota.group which are
located at the root of the associated file system. These defaults may be overridden in /etc/fstab. By default both user and group quotas
are enabled.
Available options:
-a If supplied in place of any file system names, quotaon/quotaoff will enable/disable all the file systems indicated in /etc/fstab to
be read-write with disk quotas. By default only the types of quotas listed in /etc/fstab are enabled.
-g Only group quotas listed in /etc/fstab should be enabled/disabled.
-u Only user quotas listed in /etc/fstab should be enabled/disabled.
-v Cause quotaon and quotaoff to print a message for each file system where quotas are turned on or off.
Specifying both -g and -u is equivalent to the default.
FILES
quota.user at the file system root with user quotas
quota.group at the file system root with group quotas
/etc/fstab file system table
SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), quotacheck(8), repquota(8)
HISTORY
The quotaon utility appeared in 4.2BSD.
BSD
December 11, 1993 BSD