Hello again,
I have a script, basically simple scp to copy files to a local machine for processing. The scp and ssh facilities use a specific user account requiring no password entry , simply /usr/bin/su - radacct
however, I need to run this script from cron under a different user account. I... (4 Replies)
I am looking for the syntax to check which ID is executing script.sh. If the the ID, is not user1 then I want the script to exit and return to command prompt, if it is user1, then I want the script to continue. Any help would be greatly appreciate.
Thank you.
Chris (3 Replies)
Hello All,
If I have a simple cgi script and want to find the name of the person accessing the page, is it possible? How do I get the name of this user? Please help.
I was trying a vague method but it doesn't seem to work with all browsers and versions ...
$val=$ENV{'HTTP_COOKIE'};
$name... (1 Reply)
Dear All
I am running into a situation where I am running a script as another user lets say oracle using su command as below, and the script fails because the .profile of oracle is not executed so the environment variables are not set.
cat /etc/passwd | grep oracle... (4 Replies)
Hi,
My requirement is that i am login from ROOT in a script but when any
command is coming which is logging to sqlplus then i have to run it with normal user as only normal user have permission to connect to sqlplus .
i tried making a script like this :
#! /bin/ksh
su -... (3 Replies)
Hello All,
I am writing a shell script which will run on build server where multiple users can login.These users can run this script at the same time.
I want to capture the name of the user who ran the script for every instance.How can I do that ?
Regards,... (1 Reply)
Hi, I have written a script that allows me to repetitively play a music file $N times, which is specified through user input. However, if I want to exit the script before it has finished looping $N times, if I use CTRL+c, I have to CTRL+c however many times are left in order to complete the loop.... (9 Replies)
Hi,
I do SSH to host using credential 'user1/password1' and execute 'wrapper.sh'.
I want to execute another script 'another_script.sh' from 'wrapper.sh' script using different credentials say 'user2/password2' and want to make sure that the credential 'user2/password2' is always used to run... (7 Replies)
Discussion started by: Mahesh Desai
7 Replies
LEARN ABOUT NETBSD
xvungrabport
XvUngrabPort(3) libXv Functions XvUngrabPort(3)NAME
XvUngrabPort - release port grabbed for video operation
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvUngrabPort(Display *dpy, XvPortID port, Time time);
ARGUMENTS
dpy Specifies the connection to the X server.
port Specifies the port to be released. If the port had not been previously grabbed, the request is ignored.
time Specifies the request timestamp.
DESCRIPTION XvUngrabPort(3)
releases a grabbed port. If time specifies a time before the last XvGrabPort(3) was executed, the request is ignored.
RETURN VALUES
[Success]
Returned if XvUngrabPort(3) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvUngrabPort(3) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort]
Generated if the requested port does not exist.
SEE ALSO XvGrabPort(3)X Version 11 libXv 1.0.7 XvUngrabPort(3)