1752618 Members
4472 Online
108788 Solutions
New Discussion юеВ

As a user

 
SOLVED
Go to solution
Grayh
Trusted Contributor

As a user

As a user $ prompt....

what are the commands to get the following:-

- ioscan -fn or ioscan -fnC disk(not working as user)
-sam
-ifconfig -a
-ram info info or echo "map selall info;wait infolog" | cstm
-bdf in GB
-system configutarion(not ioscan)
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor
Solution

Re: As a user

Hi Grayh:

> As a user $ prompt....

I presume you mean as a non-root user?

Regardless of whether this is as the root user or a non-root user. this general question has been asked too many times. Please avail yourself of the Forums search or (better yet) a Google search confined to the site 'itrc.hp.com'.

Regards!

...JRF...
Grayh
Trusted Contributor

Re: As a user

after research I could not get info on the following ..

I found this for system configuration.. could u plz suggest the best

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=138144

-sam
I could not find anything for this

I could find find wonderful scripts by Bill Hassil for the rest... they are simply wonderful...

In this context can I ask for a script if anyone has which can run on 11.23 or 11.31 Integrity..

***like a script to create a VM guest and the filesystem in it...

Grayh
Trusted Contributor

Re: As a user

could someone help me with the folowing plz:-

-Access sam as a user
I could not find anything for this

-Without the need to type absolute path.. how to access a command..

>>In this context can I ask for a script if anyone has which can run on 11.23 or 11.31 Integrity..a script to create a VM guest and the filesystem in it...

I have my fav. scripts for system admins.. but could not find this..

avizen9
Esteemed Contributor

Re: As a user

HI

how about to provide sudo access for this user for these particular commands?
Torsten.
Acclaimed Contributor

Re: As a user

If you want to get information without changing anything consider to setup a non-root user in SMH.

For ioscan use

# ioscan -fnk

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: As a user

>-Access sam as a user
>I could not find anything for this

There is a restricted SAM for users.

>-Without the need to type absolute path. how to access a command.

This is shell 101. If you don't know how to do do this, you should be condemned to always type the absolute path. ;-)
Basically you add the path to $PATH.
Roopesh Francis_1
Trusted Contributor

Re: As a user

>-Access sam as a user
>I could not find anything for this

you can give limited superuser access to non-superusers by entering:
sam -r
This activates the Restricted SAM Builder, which allows you to enable or disable selected SAM areas for users.

For each user given restricted access, SAM creates a file /etc/sam/custom/login_name.cf that defines the user├в s SAM privileges. SAM uses this file to give users access to the indicated areas.

When users execute SAM, they will have superuser status in the areas you defined and will only see those SAM areas in the menu. Areas that do not require superuser status (such as SD) will also appear and will execute using the user├в s ID. All other areas of SAM will be hidden from the user. When users without special access to SAM try to run SAM, they will receive a message that they must be superuser to execute SAM.

When running restricted versions of SAM, there are no shell escapes on terminals and the list menu is disabled. This prevents users from getting superuser access to restricted areas of SAM. You can also add your own applications to SAM and set them up for restricted access.

Thanks
Grayh
Trusted Contributor

Re: As a user

thanks