08-09-2011
I'm not sure what are you about precisely.
But this
script might help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
2. Solaris
Hi Gurus out there...
I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host.
"luxadm display" seems very appropriate, but requires root access.
Is there anyway I can get the FC path information?
... (1 Reply)
Discussion started by: verisund
1 Replies
3. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
4. Solaris
Hello All,
I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me.
--- iostat command shows the disk to be similiar
--- format command shows disk to be different :confused:
--- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies
5. Solaris
I'm going to install a fresh Solaris 10 5/09 install on a UFS on a server with 2 disks attached to a SCSI controller and i want to mirror those disks at install time is there any to do this , As far as i know Jump start and live upgrade are the sole way to do this , is there anyways except... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
6. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
7. Solaris
Hi all!
Please I would appreciate some inputs on the following:
I have inherited a SUN BLADE chassis with 6 T6320 server modules, in which there is only 1 root disk in all of them. I need to do a backup of the root disk in case those disk crash. But there is no backup device attached to it.... (6 Replies)
Discussion started by: fretagi
6 Replies
8. Shell Programming and Scripting
I need to list users in /etc/passwd with root's GID or UID or /root as home directory
If we have these entries in /etc/passwd
root:x:0:0:root:/root:/bin/bash
rootgooduser1:x:100:100::/home/gooduser1:/bin/bash
baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies
9. UNIX for Dummies Questions & Answers
I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way?
I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies
10. Solaris
Hi !
I wonder if in solaris 10 there is a utility similar to ignite in HP-UX that backup entire file systems (/, /usr, /var, /tmp, /home).
I have to backup only the root disk of a server, but ufsdump seem to be backing up individual file systems....only, am I correct? (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT DEBIAN
usermount
USERMOUNT(1) General Commands Manual USERMOUNT(1)
NAME
usermount - A graphical tool to mount, unmount and format filesystems.
SYNOPSIS
usermount [ options ]
userformat [ device ] [ options ]
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)