Sponsored Content
Operating Systems Solaris Non-Root mode ... luxadm to show path(s) for Disks Post 302345226 by TonyFullerMalv on Tuesday 18th of August 2009 05:39:43 PM
Old 08-18-2009
I suggest using sudo(8) to allow the users concerned to run:
Code:
$ sodo luxadm display

Make sure you include the display parameter in the sudoers(5) file so that they cannot run luxadm to do anything else!

I think the sudoers line would look like this:
Code:
%luxdisp ALL = NOPASSWD: /usr/sbin/luxadm display

Where those in the luxdisp group can run luxadm display as the root user without having to provide a password.

A sudo package may be obtained from Sunfreeware - Freeware Open Source Software for Sun Microsystem's Solaris.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PS1 to show relitive path

Hi I am trying to format my prompt in a KSH to show the relative path currently it is PS1='$PWD >' /home/users/dir/dir/dir > I want to display it as /home/users/.../.../dir > :rolleyes: (2 Replies)
Discussion started by: truma1
2 Replies

2. UNIX for Dummies Questions & Answers

Show path name

Hello I'm new to this forum. So please spare me! I'm using SCO UnixWare 7.1.4 and created a few accounts. So far so good. When I login I see: $. But here I want to see (for example), /home 25$ So I want to see the pathname where I am without each time typing pwd (2 Replies)
Discussion started by: p.vvugt
2 Replies

3. UNIX for Dummies Questions & Answers

how to use find commnad to show only path of the result

Hello all say i like to find files i do : find . -name "*.txt" but if i like to find ( and print out ) only the path's where the files are ( the *.txt files ) what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies

4. Solaris

Solaris9 - qlogic HBAs - luxadm reports "Found path to 0 HBA ports"

Hi All, I'm actually trying to configure a Qlogic HBA on a solaris9 connecting in a Brocade SAN. I installed Solaris9 and now trying to look at FC devices.. bash-2.05# luxadm -e port Found path to 0 HBA ports bash-2.05# luxadm probe No Network Array enclosures found in /dev/es... (7 Replies)
Discussion started by: ilan
7 Replies

5. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

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

6. Solaris

Get # of disks as non-root

I'm trying to figure if there are commands I can run as non-root/non-privileged users to figure out the number of disks. I know I can use format but it needs root. Any idea? (10 Replies)
Discussion started by: PPPP
10 Replies

7. Shell Programming and Scripting

How do I get an ls -l to not show the full directory path?

Hey I'm new to the forums here, and I'm seeking help for this script that I'm writing. When I do ls -l of a directory it shows the full pathname for files in it. For example, if the directory is /internet/post/forum/ and the file is topic, it currently shows internet/post/forum/topic. What's the... (3 Replies)
Discussion started by: unity04
3 Replies

8. Solaris

Backup root disks

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

9. UNIX for Advanced & Expert Users

Ipcs do not show MODE

The ipcs -q command output includes a MODE column which tells user if the process is waiting on read or write on the queue. I used this in scripts on many systems (Solaris, AIX, SCO) a snippet from man MODE (all) The facility access modes and flags: The mode consists of 11... (2 Replies)
Discussion started by: migurus
2 Replies

10. Solaris

Backing up root disks

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
MULTIPATHD(8)						      System Manager's Manual						     MULTIPATHD(8)

NAME
multipathd - multipath daemon SYNOPSIS
multipathd [options] DESCRIPTION
The multipathd daemon is in charge of checking for failed paths. When this happens, it will reconfigure the multipath map the path belongs to, so that this map regains its maximum performance and redundancy. This daemon executes the external multipath config tool when events occur. In turn, the multipath tool signals the multipathd daemon when it is done with devmap reconfiguration, so that it can refresh its failed path list. OPTIONS
-d Forground Mode. Don't daemonize, and print all messages to stdout and stderr. -v level Verbosity level. Print additional information while running multipathd. A level of 0 means only print errors. A level of 3 or greater prints debugging information as well. -k multipathd will enter interactive mode. From this mode, the available commands can be viewed by entering "help". When you are fin- ished entering commands, press CTRL-D to quit. COMMANDS
The following commands can be used in interactive mode: list|show paths Show the paths that multipathd is monitoring, and their state. list|show maps|multipaths Show the multipath devices that the multipathd is monitoring. list|show maps|multipaths status Show the status of all multipath devices that the multipathd is monitoring. list|show maps|multipaths stats Show some statistics of all multipath devices that the multipathd is monitoring. list|show maps|multipaths topology Show the current multipath topology. Same as "multipath -ll". list|show topology Show the current multipath topology. Same as "multipath -ll". list|show map|multipath $map topology Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa. This map could be obtained from "list maps". list|show config Show the currently used configuration, derived from default values and values specified within the configuration file /etc/multi- path.conf. list|show blacklist Show the currently used blacklist rules, derived from default values and values specified within the configuration file /etc/multi- path.conf. list|show devices Show all available block devices by name including the information if they are blacklisted or not. add path $path Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda). remove|del path $path Stop monitoring a path. $path is as listed in /sys/block (e.g. sda). add map $map Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g. dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g. 36005076303ffc56200000000000010aa). remove|del map $map Stop monitoring a multipath device. resize map|multipath $map Resizes map $map to the given size switch|switchgroup map $map group $group Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1. reconfigure Reconfigures the multipaths. This should be triggered automatically after any hotplug event. suspend map|multipath $map Sets map $map into suspend state. resume map|multipath $map Resumes map $map from suspend state. fail path $path Sets path $path into failed state. reinstate path $path Resumes path $path from failed state. disablequeueing map|multipath $map Disabled queuing on multipathed map $map restorequeueing map|multipath $map Restore queuing on multipahted map $map SEE ALSO
multipath(8) kpartx(8) hotplug(8) AUTHORS
multipathd was developed by Christophe Varoqui, <christophe.varoqui@free.fr> and others. Linux Administrator's Manual November 2009 MULTIPATHD(8)
All times are GMT -4. The time now is 05:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy