Hi
I'm using Linux, in the directory /root/my
there is a.out. but when I try to run it , the
shell indicate "bash:a.out: command not found"
but I AM working in this directory. if I use
"./a.out" , it works perfectly.
can any body tell me how to do a permanent set up so that
I can use... (5 Replies)
Hi,
It is solaris 5.9, and Oracle 10G is the database. If i login as user, and give 'env' command i can see the Oracle environment variables are set.
PATH=/usr/bin:/usr/sbin:/usr/lib:/etc/ssh:/opt/oracle/app/oracle/product/10.2.0/db_1/bin:/opt/oracle/crs/oracle/product/10.2.0/crs_1/bin... (1 Reply)
I set my TERM variable to work with SMIT and everything works fine but when I logged out and log in again I have to set the variable again.
How can I set a permanent variable into the system so it will be as I wish even if a reboot is needed?
I set variables this way:
export VAR=value (7 Replies)
Hi,
Im using csh and sometimes bash.
I accidentally typed SET and looks like it has resetted some enviroment variables as im not able to run autosys jobs etc ..
So i wanted to know how i can put it back to normal by replacing any profile files from another user or by editing the file which... (2 Replies)
i have two machines that should be identical but on one system there are some oracle environment (ORACLE_SID, ORACLE_HOME, etc...) variables that are not being set for the users.
I am trying to find where those environment variables are being set on the system which is working properly. All... (5 Replies)
I'm writing a script that'll send a time-stamp to my backup server. I create a file with the name of the current date, send it to my server with scp and rm the file from the local computer.
Individually these commands work fine and with a set name the expect scripts also work fine. The problem... (0 Replies)
Hi
Could you please tell me how to set environment variables in Unix ksh.
And how can acess those varibles in shell scripts
( Please give the code with an example)
For my scenario.
We have written number of shell scripts with hard coded username and password.
But if we want to... (1 Reply)
Hello,
I am very, very new to shell scripting, but what I'm attempting to do is read in a list of user ID's to create on a database system from a CSV flat file, and for each entry run the "create user" script. I've gotten pretty far but I'm having trouble with the looping mechanism.... Any... (8 Replies)
Experts,
I want to set value of variables like this in bash shell:
i=5 ; L=100
I want variable d5 (that is d(i) ) to be assign the value of $L ,
d$i=$L ; echo $d5
Not working
Thanks., (3 Replies)
Hi ,
I have installed oracle in Solaris machine and unable to set the env variable. I tried to put the env variable in .dtprofile file but didn't help. So everytime I login in need to run the command and export the variable. Kindly suggest where I am doing wrong.Pls excuse as I am not too... (2 Replies)
Discussion started by: Rossdba
2 Replies
LEARN ABOUT OSF1
devassign
devassign(4) Kernel Interfaces Manual devassign(4)NAME
devassign - Device assignment database file (Enhanced Security)
DESCRIPTION
The system supports a single device assignment database that contains entries for login terminals and X terminals. Authentication programs
use information in the device assignment database to determine if a login is permitted on the terminal. Information from the terminal con-
trol database, /etc/auth/system/ttys.db, can also affect terminal login permissions.
A device assignment database entry consists of keyword field identifiers and values for those fields. If a necessary value is not speci-
fied in an entry, a default value for the field is supplied from the system default file, /etc/auth/system/default. The edauth utility is
used to alter device assignment database entries.
The format of the terminal control database file is identical to other system authentication database files and is described in the auth-
cap(4) reference page. The following keyword identifiers are supported: The identifier in this field specifies a comma-separated list of
aliases that refer to the same device defined by the entry. Use of this field avoids the need to replicate device assignment database
entries for all device aliases. This field is ignored if it is set in a template or in the default database. This field specifies the
device that is described by the entry. Device types supported include: The device is assigned as a local login terminal device. The X
windows display entry for handling graphics heads or X terminals.
This field is ignored if it is set in a template or in the default database. This field, if specified, contains a comma-separated list of
user names that are permitted to use the device for login or the import and export of data. If the list is not present, all users are per-
mitted to use the device. If the list is present, it is searched for a match by the login program to determine if the user is permitted to
use the device.
This field is ignored if it is set in a template or in the default database.
EXAMPLES
The following example shows a device assignment database entry for a terminal device with a list of allowed users: tty0:v_devs=/dev/tty0:
:v_type=terminal:v_users=may,tdy,ssv,rgb: :chkent:
The following example shows a device assignment database entry for an X terminal device:
local:0|local:0.0:v_devs=local:0,local:0.0:v_type=xdisplay:chkent:
FILES
Specifies the pathname of the file.
RELATED INFORMATION
Commands: cpio(1), login(1), tar(1), edauth(8)
Functions: getdvagent(3)
Files: authcap(4), default(4), ttys(4) delim off
devassign(4)