Unix Technical Forum

legato: runnning nsrls as non-root user

This is a discussion on legato: runnning nsrls as non-root user within the comp.unix.solaris forums, part of the Solaris Operating System category; --> This seems to be the most relevant group. Apologies if not. Im trying to gather the stats that /usr/sbin/nsr/nsrls ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:32 PM
Craig
 
Posts: n/a
Default legato: runnning nsrls as non-root user

This seems to be the most relevant group. Apologies if not.

Im trying to gather the stats that /usr/sbin/nsr/nsrls produces.

Ive seen a BMC Knowledge module which somehow gathers the metrics
running as a non root user.

nsrls as root prints:
/export/home/index/host1: 11295 records requiring 1944 KB
/export/home/index/host1 is currently 100% utilized

as non root:
nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad
file number)

Any ideas how I can get these stats as a non root user?

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:32 PM
Michael Vilain
 
Posts: n/a
Default Re: legato: runnning nsrls as non-root user

In article <216ce6b5.0311121703.50d7040d@posting.google.com >,
tellmemore@hotmail.com (Craig) wrote:

> This seems to be the most relevant group. Apologies if not.
>
> Im trying to gather the stats that /usr/sbin/nsr/nsrls produces.
>
> Ive seen a BMC Knowledge module which somehow gathers the metrics
> running as a non root user.
>
> nsrls as root prints:
> /export/home/index/host1: 11295 records requiring 1944 KB
> /export/home/index/host1 is currently 100% utilized
>
> as non root:
> nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad
> file number)
>
> Any ideas how I can get these stats as a non root user?


My SWAG, you can't. It may open sockets to ports that require root
privilege. To verify, try a truss and see what it does under root.
Then the same as non-root.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:40 PM
sharona
 
Posts: n/a
Default Re: legato: runnning nsrls as non-root user

tellmemore@hotmail.com (Craig) wrote in message news:<216ce6b5.0311121703.50d7040d@posting.google. com>...
> This seems to be the most relevant group. Apologies if not.
>
> Im trying to gather the stats that /usr/sbin/nsr/nsrls produces.
>
> Ive seen a BMC Knowledge module which somehow gathers the metrics
> running as a non root user.
>
> nsrls as root prints:
> /export/home/index/host1: 11295 records requiring 1944 KB
> /export/home/index/host1 is currently 100% utilized
>
> as non root:
> nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad
> file number)
>
> Any ideas how I can get these stats as a non root user?
>
> Cheers



set up sudo and run visudo to edit the file, add the username that
you want to be able to execute the executable, use the full path for
the nsrls file..

sharona
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com