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
httppower(8)							     powerman							      httppower(8)

NAME
httppower - communicate with HTTP based power distribution units SYNOPSIS
httppower [--url URL] DESCRIPTION
httppower is a helper program for powerman which enables it to communicate with HTTP based power distribution units. It is run interac- tively by the powerman daemon. OPTIONS
-u, --url URL Set the base URL. INTERACTIVE COMMANDS
The following commands are accepted at the httppower> prompt: auth user:pass Authenticate to the base URL with specified user and password, using ``basic'' HTTP authentication which sends the user and password over the network in plain text. seturl URL Set the base URL. Overrides the command line option. get [URL-suffix] Send an HTTP GET to the base URL with the optional URL-suffix appended. post [URL-suffix] key=val[&key=val]... Send an HTTP POST to the base URL with the optional URL-suffix appended, and key-value pairs as argument. FILES
/usr/sbin/httppower /etc/powerman/powerman.conf ORIGIN
PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open source and distributed under the terms of the GNU GPL. SEE ALSO
powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5), powerman-devices(7). http://sourceforge.net/projects/powerman powerman-2.3.5 2009-02-09 httppower(8)
All times are GMT -4. The time now is 12:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy