Sponsored Content
Full Discussion: Script for VIOS
Operating Systems AIX Script for VIOS Post 302297041 by Airborne on Thursday 12th of March 2009 11:25:50 AM
Old 03-12-2009
/usr/ios/cli/ioscli lsmap

You can run padmin commands from the root shell (oem_setup_env) with the same ioscli. I find it easier to just be root and write my scripts using that path.
 

10 More Discussions You Might Find Interesting

1. AIX

vios mount

hi, i tried to mount using $ mount nimsrv01:/export/mksysb_dev/VDEVVIO1 /mksysb in vios mode. i got following error.. </code> Some error messages may contain invalid information for the Virtual I/O Server environment. mount: 1831-008 giving up on:... (1 Reply)
Discussion started by: honeym210
1 Replies

2. AIX

IVE and VIOS

I would like to hear your opinions, comments, pros and cons about the IVE (Integrated virtual ethernet) and VIOS (virtual i/o server) With the VIOS can create virtual ethernet and virtual disk With the IVE I dont need to create the vios and I can have virtual ethernet (physical and logical... (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

3. AIX

VIOS

Can anybody provide me with usefull links to get knowledge how VIOS works and how to configure Lpars on it? I am tired and feel lazy to search through IBM redbooks :-) .. so pls help me :p (3 Replies)
Discussion started by: wwwzviadi
3 Replies

4. AIX

VIOS Backup

Dear friends.. Will it be OK if I backup VIO Server Using smit mksysb?? will it save all virtual host mapings etc...??? thanks in advance (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies

5. AIX

VIOS NFS MOUNT

Hi team, I'm getting the below error on the VIO server while trying to mount a directory from my NIM server.. Any idea what does this mean.. Does this require a reserved port like linux for nfs service ? # mount 9.126.76.103:/install/VIO/V2.1_migration/fp23 /mnt ... (5 Replies)
Discussion started by: kkeng808
5 Replies

6. AIX

Few VIOS questions

Hi, I would like to ask you if you could help me to answer these questions. Please. How to check in vios, size all pv's and to what they are mapped to? How to chech on vios/hmc which PowerVM edition is used? Thank you. (7 Replies)
Discussion started by: phobus
7 Replies

7. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

8. AIX

VIOS backup

I have 4 VIO server. I have to take backup of VIOS. I got the command "backupios" for taking the backup. My question is if i am taking "backupios -tape /dev/rmt0 " whether it will take rootvg and all the user defined VG / File system which are using for virtual disk for client lpar. I... (4 Replies)
Discussion started by: sunnybee
4 Replies

9. AIX

VIOS 2.2.4.10 - Errors

Hi, $ ioslevel 2.2.4.10 I always get these errors when I perform any action using the web interface of IVM / VIOS Shutdown Partitions Help You have chosen to shutdown the following partitions. The recommended shutdown method is to use the client operating systems shutdown... (1 Reply)
Discussion started by: filosophizer
1 Replies

10. AIX

VIOS and virtual FC

Hello, In my environment, I have 2 VIOS. There is 1 lpar uses the first VIOS. Now we would like to move it to second VIOS. My question is, can we migrate the virtual FC on the lpar to second VIOS? If not, we have to create new virtual FC on second VIOS and map it to the lpar. This also... (3 Replies)
Discussion started by: Phat
3 Replies
SETUID(1)						      General Commands Manual							 SETUID(1)

NAME
setuid - run a command with a different uid. SYNOPSIS
setuid username|uid command [ args ] DESCRIPTION
Setuid changes user id, then executes the specified command. Unlike some versions of su(1), this program doesn't ever ask for a password when executed with effective uid=root. This program doesn't change the environment; it only changes the uid and then uses execvp() to find the command in the path, and execute it. (If the command is a script, execvp() passes the command name to /bin/sh for processing.) For example, setuid some_user $SHELL can be used to start a shell running as another user. Setuid is useful inside scripts that are being run by a setuid-root user -- such as a script invoked with super, so that the script can execute some commands using the uid of the original user, instead of root. This allows unsafe commands (such as editors and pagers) to be used in a non-root mode inside a super script. For example, an operator with permission to modify a certain protected_file could use a super command that simply does: cp protected_file temp_file setuid $ORIG_USER ${EDITOR:-/bin/vi} temp_file cp temp_file protected_file (Note: don't use this example directly. If the temp_file can somehow be replaced by another user, as might be the case if it's kept in a temporary directory, there will be a race condition in the time between editing the temporary file and copying it back to the protected file.) AUTHOR
Will Deich local SETUID(1)
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy