Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [Solved] effective user id upon exec Post 302572329 by Corona688 on Wednesday 9th of November 2011 03:40:18 PM
Old 11-09-2011
It's not a file option. It's a file system option, which applies to any file in the entire partition.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

Changing effective user

I would like to give execution rights for a script to one user. (that's the easy part...) When that user is running the script, I would like the effective user ID to be that of the file-owner. Is this possible? (6 Replies)
Discussion started by: hilmel
6 Replies

2. Shell Programming and Scripting

exec script as user on boot not root

Is there a way to change a process owned by root to be owned by another user. I am interested in finding out if there is a way to put a script in /etc/rc2.d that will start up automatically on reboot that will not be owned by root This is for security reasons.. The Service that runs on my server... (7 Replies)
Discussion started by: chipmunken
7 Replies

3. Shell Programming and Scripting

[Solved] Use of until loop for user confirmation

Below is my script that is using to rename the name of file .Here I am using two methods to pass the both arguments wih script name or run the script and give the input one by one.But my issue is I want to rename the name of the file if user select Y(y) then it should rename the file else select... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies

4. Shell Programming and Scripting

Script Variables Inquiry, Values Okay in Standalone Exec, No-Show in Cron Exec

I have the following bash script lines in a file named test.sh. #!/bin/bash # # Write Date to cron.log # echo "Begin SSI Load $(date +%d%b%y_%T)" # # Get the latest rates file for processing. # d=$(ls -tr /rms/data/ssi | grep -v "processed" | tail -n 1) filename=$d export filename... (3 Replies)
Discussion started by: ginowms
3 Replies

5. HP-UX

[Solved] mailx : unknown user issue

Hi all, I know this issues has been discussed multiple times, i have gone through many such discussion but unfortunately i am still not able to solve the issue being faced. I have configured the sendmail.cf with the smtp host name (Editing the entry starting with DS...) Post that restarted... (7 Replies)
Discussion started by: chpsam
7 Replies

6. UNIX for Dummies Questions & Answers

[Solved] weird in find -exec command

i feel weird with this 2 command find /tmp/*test* -user `whoami` -mtime +1 -type f -exec rm -f {}\; find /tmp/*test* -user `whoami` -mtime +1 -type f -exec ls -lrt {}\; the first one return correct which only delete those filename that consist *test* where second command it listed all the... (12 Replies)
Discussion started by: lsy
12 Replies

7. UNIX for Dummies Questions & Answers

[Solved] Loading user profile

I need some help on solaris, setting java path: $ PATH=/var/tmp/jdk1.5.0_22/jre/bin $ export PATH $ java -version I got the correct version for the application to run, which is: java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java... (7 Replies)
Discussion started by: fretagi
7 Replies

8. Shell Programming and Scripting

[solved] awk: placement of user-defined functions

Hi folks, is there any recommendation, especially from a point of performance, about where to place a user-defined function in awk, like in BEGIN{} or if it is only need once at the end in END{}? Or doesn't it matter at all since, awk is so clever and only interprets it once, wherever it is... (3 Replies)
Discussion started by: zaxxon
3 Replies

9. UNIX for Advanced & Expert Users

Regarding real example of user of semicolon(;) and + in find/exec command.

Hello All, Was recently working on an requirement where we have to search files more than a specific number, following is the example on same. Let's say file names are test_40000.txt,test_40001.txt and so on till test_99999.txt. Now requirement was to search from find command only those... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

10. Programming

Real, effective and saved user id in C program

I figured it out by now. (0 Replies)
Discussion started by: Ralph
0 Replies
vparreset(1M)															     vparreset(1M)

NAME
vparreset - reset a virtual partition SYNOPSIS
vp_name DESCRIPTION
The command simulates, at the virtual partition level, the hard reset (ReSet, RS) and soft reset (Transfer Of Control, TOC) operations sup- ported by server management processor commands. causes the vPars Monitor to simulate a hard (RS) reset or soft (TOC) reset of the specified virtual partition. Either operation gathers new Processor Information Module (PIM) data, which is displayed unless the (quiet) option is also specified. Following a soft (TOC) reset, the specified virtual partition is normally rebooted if it has been configured with the attribute using either the or commands. However when a virtual partition is reset during very early stages of loading, the virtual partition may not be automatically rebooted. Also, on hard-partitionable systems such as the HP Superdome, if there is a pending reboot for reconfiguration, the specified virtual partition will be booted until all the virtual partitions on that hard partition are shut down and the vPars Monitor is rebooted. Refer to the and the section titled "Performing a Reboot for Reconfig for an nPartition" for further details. Unintentional use of the command has serious consequences. Therefore, the user is prompted to confirm the operation unless the (force) option is specified. Options recognizes the following command line options and arguments: Specifies the unique name of the virtual partition to be reset. The virtual partition must be in a state other than or Required. The force option. Omits the confirmation dialog before resetting the virtual partition. This option is intended for use by scripts and other non-interactive applications. Simulates a hard (RS) reset instead of a TOC. Displays current PIM data before resetting unless the option is also specified. It also inhibits the autoboot behavior, as does the command. Therefore can be used to break out of a reboot loop. Because overrides the autoboot setting for the specified virtual partition, the virtual partition must be manually restarted using or With the option, the virtual partition operating system is abruptly shutdown and no operating system crash dump is saved. Therefore, HP recommends using the (soft reset) option instead of the option to save a crash dump when resetting. Bypasses the display of current PIM data when resetting the virtual partition. Simulates a TOC reset. Displays current PIM data before resetting unless the option is also specified. The TOC reset is also the default operation of the command, applied if neither the nor option is specified. The and options cannot both be specified in the same command. SECURITY RESTRICTIONS
This command is restricted to processes owned by superuser. When virtual partition flexible administrative capability is enabled, a virtual partition can only be reset from within a Designated-Admin virtual partition. RETURN VALUE
The command exits with one of the following values: Successful completion. One or more error conditions occurred. WARNINGS
The option causes an abrupt system shutdown and no operating system crash dump is saved. Refer to the option explanation for more informa- tion. EXAMPLES
Perform a TOC reset on the virtual partition called dumping the PIM data: Perform a hard reset on virtual partition skipping the confirmation dialog: ERRORS
displays error messages on standard error for any of the following conditions: o A required option is omitted. o An unknown option is specified. o A value is omitted for an argument that requires one, or a value is specified for an argument which does not take one. o vp_name does not exist in the monitor database, or is in the wrong state. o Both the and options are specified. o The command and the vPars Monitor are at different revision levels. This message is only a warning. The command continues. o When the virtual partition flexible administrative capability is enabled and the local virtual partition is not a Designated-Admin vir- tual partition. AUTHOR
was developed by the Hewlett-Packard Company. SEE ALSO
vparadmin(1M), vparboot(1M), vparconfig(1M), vparcreate(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M), vparreloc(1M), vparremove(1M), vparstatus(1M), vparutil(1M), vparresources(5), vpartition(5), vpmon(5). vparreset(1M)
All times are GMT -4. The time now is 04:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy