I have several crontab scripts running which email me status. Some of these scripts perform identical tasks so I get a similar emails sent to myself.
How do I get the script to print it's own path/filename so I can include it in the status updates without hardcoding trhe filename into the... (1 Reply)
Hi everyone,
I'm very new, I just wrote a script "Hello World" :) LOL
How can I execute the script without the ./myscript.
I want to just type "myscript" basically from anywhere without the " ./ ".
Thanks a bunch,
NinjaX (2 Replies)
I have simply downloaded a file to my local folder, made one small change and uploaded it back, ever since it will not run the file.
I have now uploaded the original, unchanged file, which still doesn;t work.
Evertime it is run ot says bash: ./nrcardprint: No such file or directory
The... (10 Replies)
I have started to write Korn scripts on the client's AIX 4.2 servers and there is this small problem that puzzles me.
I code all my scripts the same way:
- first line contains :
#!/bin/ksh
- I do this console command on every scripts:
chmod +x scriptname
But still, on some occasions,... (4 Replies)
I am going to run the scripts (filetest.sh)
Its run with.....
./filetest.sh
sh filetest.sh
but not run with.....
filetest.sh ( giviing error command not found)
tell me the way how we can do it ? (6 Replies)
Hi,
I am using solaris 10.Is there any way to execute the script with the scriptname wihtoug using ./scriptname?Also does it varies from shell to shell.I have scripts in bash,ksh,sh shells.
Example:script.sh is the script name.I need to execute the script like this script.sh instead... (4 Replies)
Hi
I was wondering if there was any command with autorep that can be used to check what the jobname is by givin scriptname that is defined in the JIL of the job (1 Reply)
I am from MQ/MB technology. My requirement is to display the queue manger and broker status on daily basis.
If I manually run the script, it works fine and displays output. But when I have scheduled the same using cronjobs it shows only the queue manger status and not the broker status.
Can... (3 Replies)
Hello all,
Can someone help with one script?
I have as example 3 scripts
1.sh
sleep 60 &
sleep 60 &
sleep 10 &
sleep 80 &
sleep 60 &
2.sh
sleep 40 &
sleep 5 &
sleep 10 &
sleep 70 &
sleep 60 &
3.sh (2 Replies)
Discussion started by: vikus
2 Replies
LEARN ABOUT OSF1
files
files(4) Kernel Interfaces Manual files(4)NAME
files - File control database (Enhanced Security)
DESCRIPTION
The file control database (/etc/auth/system/files) is designed to help the Information System Security Officer (ISSO) maintain the
integrity of the system. The database contains entries for system data files and executable files that require certain attributes. Some
files require certain attributes to provide protection against unauthorized access, while others require a specific set of attributes to
accomplish their intended function.
The database is used by the library routine create_file_securely() to determine the set of attributes for a newly created file. Many pro-
grams associated with the trusted computing base (TCB) use this library routine for file creation to ensure that file attributes are set
correctly.
A broad range of attributes can be specified in the file control database. Specific choices depend upon the exact system configuration.
These choices are as follows: This field specifies the owner name for the entry. If an owner name is not specified and the entry is created
using create_file_securely, the owner of the file will be the real user ID of the process creating the file. This field specifies the
group name for the entry. If a group name is not specified and the entry is created using create_file_securely, the group of the file will
be the real group ID of the process creating the file. This field specifies the mode word for the entry. If the mode word is not specified
and create_file_securely is used to create the entry, a mode word of 0 (zero) is assigned to the new file. This field identifies the type
of the entry. This field is not taken into account by create_file_securely when a file is being created. The library routine will only
create regular files. Choices for the type field are as follows: Regular file Directory FIFO device (pipe) Character special device Block
special device Socket
EXAMPLES
The following example is a typical file control database entry for the program /sbin/newfs: /sbin/newfs:f_owner=root:f_group=bin:
:f_type=r:f_mode#04111:
:chkent: This entry specifies that the newfs program has bin as its owner and group, that it is a regular file, and that its mode
is 0111
The following example shows an entry for a site-specific directory that contains help files for an application:
/appl/help_files:f_owner=appadmin:f_group=appl: :f_type=d:f_mode#0750: :chkent; This entry specifies the owner of the
/appl/help_files directory as appadmin, the group as appl, and the mode as 0750.
FILES
Specifies the pathname of the file control database.
RELATED INFORMATION
Functions: getprfient(3)
Files: authcap(4) delim off
files(4)