04-15-2015
thank you for all of you..
thank you so much especially for you Mr Chubler XL.
i have succeed
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi. Thanks for any help with this. I'm not new to programming but I am new to shell programming. I need a script that will
1. execute 'df -k' and return the volume names with specific text
2. surround each line of the above results in opening and closing xml tags
3. insert the results of step... (5 Replies)
Discussion started by: littlejon
5 Replies
2. Shell Programming and Scripting
hi
how can I execute a shell script on unix server from a .bat file of windows desktop??
Regards. (3 Replies)
Discussion started by: Chaitrali
3 Replies
3. Shell Programming and Scripting
i have a small problem getting a batxh shell script to run in shell
this is the code
the problem seems to be centered around the ffmpeg command, something maybe to do with the ' ' wrapping around the vhook part command
this is a strange problem , if i take the ffmpeg command and... (1 Reply)
Discussion started by: wingchun22
1 Replies
4. Shell Programming and Scripting
I have to use shell script to run series of commands on another unix box by connecting through SSH and giving user credentials. For running commands on remote machine I have to use options reading from a local file.
Process:
Connecting to remote unix server <host1.ibm.com> through ssh
Login: ... (2 Replies)
Discussion started by: itsprout
2 Replies
5. Shell Programming and Scripting
Hello
I am trying to run a python program using shell script, which takes a single argument from a file.
This file has one entry per line :
1aaa
2bbb
3ccc
4ddd
5eee
...
...
...
My shell script runs the program, only for the last entry :
#!/bin/sh
IFS=$'\n'
for line in $(cat... (2 Replies)
Discussion started by: ad23
2 Replies
6. Shell Programming and Scripting
echo $result=exec("./permit.sh".$_FILES);
pls suggest some other method to run shell script in php .:wall::mad: (0 Replies)
Discussion started by: upvan111
0 Replies
7. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
8. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
9. UNIX for Beginners Questions & Answers
Hi Team,
I have a to run a script based on a date present in a different file which updates everyday. Kindly help with the solution.
My current execution : ksh scriptname.sh 10152019. But here i want to enter this date from a file which gets updated daily.
My appraoch :
date file location:... (3 Replies)
Discussion started by: midhun3108
3 Replies
LEARN ABOUT V7
getfauditflags
getfauditflags(3BSM) getfauditflags(3BSM)
NAME
getfauditflags - generate process audit state
SYNOPSIS
cc [ flag... ] file... -lbsm -lsocket -lnsl [ library... ]
#include <sys/param.h>
#include <bsm/libbsm.h>
int getfauditflags(au_mask_t *usremasks, au_mask_t *usrdmasks, au_mask_t *lastmasks);
The getfauditflags() function generates a process audit state by combining the audit masks passed as parameters with the system audit
masks specified in the audit_control(4) file. The getfauditflags() function obtains the system audit value by calling getacflg() (see
getacinfo(3BSM)).
The usremasks argument points to au_mask_t fields that contains two values. The first value defines which events are always to be audited
when they succeed. The second value defines which events are always to be audited when they fail.
The usrdmasks argument points to au_mask_t fields that contains two values. The first value defines which events are never to be audited
when they succeed. The second value defines which events are never to be audited when they fail.
The structures pointed to by usremasks and usrdmasks can be obtained from the audit_user(4) file by calling getauusernam(3BSM), which
returns a pointer to a strucure containing all audit_user(4) fields for a user.
The output of this function is stored in lastmasks, a pointer of type au_mask_t as well. The first value defines which events are to be
audited when they succeed and the second defines which events are to be audited when they fail.
Both usremasks and usrdmasks override the values in the system audit values.
Upon successful completion, getfauditflags() returns 0. Otherwise it returns -1.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
bsmconv(1M), getacinfo(3BSM), getauditflags(3BSM), getauusernam(3BSM), audit.log(4), audit_control(4), audit_user(4), attributes(5)
The functionality described on this manual page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
31 Mar 2005 getfauditflags(3BSM)