01-07-2010
That is true, but you are redirecting the output to the database file, rather than standard output. And note that there are two >>, meaning that the line is appended to the end of the current file.
9 More Discussions You Might Find Interesting
1. Programming
While compiling a set of proC code I am getting the following error.
Any clues why this error is coming and is it related to my Oracle DB/Verison Software DB or compile time generated information?
Thanks
Rishi (3 Replies)
Discussion started by: RishiPahuja
3 Replies
2. Shell Programming and Scripting
I am executing a SQL query in Unix Server:
select status,location from user_information where request_id='DS-43720'
In shell script I am writing this query in the below manner:
echo "select status,location from user_information where request_id='DS-43720' ;" >> $directory/info.sql
... (3 Replies)
Discussion started by: debu
3 Replies
3. Shell Programming and Scripting
KSH - Unix -AIX - db2
**************
Get the input from the user say '123' (It varies)
Then i want to connect to a database say "D1"
then i want th extract from the database by giving "select * from tablename where input = '123'
I also want to connect to another database "D2"
then i... (3 Replies)
Discussion started by: rollthecoin
3 Replies
4. Shell Programming and Scripting
Hello,
I am writing a shell script to do the following. It greps information from the messages log and then I use the cut command to isolate the field I need (the username) and output the information to a text file.
I now have to do the following. Count how many times each user logged in. So... (3 Replies)
Discussion started by: mojoman
3 Replies
5. Shell Programming and Scripting
Hi all,
I m new to this forum.
I ma facing onei issue.
I have something like this:
length= wc -l < b2| awk '{print $1}'
where b2 is filename having detauls like:
cat b2
abc1
abc4
xyc3
sbdghf4
but when I do echo "$length" it displays nothing
Also I am using awk to overcome... (4 Replies)
Discussion started by: student2009
4 Replies
6. UNIX for Dummies Questions & Answers
How can I find which database is installed in my Unix server ? (5 Replies)
Discussion started by: kukkaster
5 Replies
7. Solaris
hi..
i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database
which is in solaris 10 x86... can u tell me the procedure ..
how it can be done through php .. sorry am new to php...
is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies
8. Solaris
I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options.
OPERATION_TYPE = "createDatabase"
GDBNAME = "solaris_user.domain.com"
SID = "solaris_user"
TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies
9. Shell Programming and Scripting
I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
userdb(4) Kernel Interfaces Manual userdb(4)
NAME
userdb - user database for per-user information
SYNOPSIS
DESCRIPTION
The user database is used for storing per-user information. It consists of the directory and the files within it. Each file name is a
two-digit hexadecimal number from to The directory and files are created either at installation time or by the command.
The per-user information resides in user entries in the database, and consists of any number of pairs, which are used to define the behav-
ior of configurable features. A per-user value in overrides any corresponding system-wide default configured in the file, as described in
security(4).
The file indicates which attributes can be configured with a per-user value in This list includes the following attributes which are
described in security(4):
Allow or do not allow null passwords.
Audit or do not audit users.
Maximum number of authentication failures allowed.
Display or do not display last login information.
Restrict login time periods.
Minimum password length.
Number of simultaneous logins allowed per user.
Password history depth.
Minimum number of lower case characters allowed in a password.
Minimum number of upper case characters allowed in a password.
Minimum number of digit characters allowed in a password.
Minimum number of special characters allowed in a password.
Define umask for file creation.
Notes
When defining attributes, first configure default values in as described in security(4), and then configure per-user exceptions in the user
database,
In addition to the configurable attributes, there are internal attributes that are not user configurable and are normally modified only by
programs that enforce system security. The file indicates which attributes are configurable and which are internal.
Use the command to verify or fix information in the user database,
To disable the user database, create a file called This causes all database reads and writes to return an error code indicating that the
database is disabled and should be ignored. Note that, if the user database is disabled for a long period and then re-enabled, it will
contain stale data. This can cause unwanted side effects.
WARNINGS
Use the command to modify information in Do not use a text editor, because the database contains checksums and other binary data, and edi-
tors do not follow the file locking conventions that are used to control access to the database.
NFS mounting this database is not supported.
FILES
user database
security defaults configuration file
security attributes description file
SEE ALSO
userdbck(1M), userdbget(1M), userdbset(1M), userdb_read(3), security(4).
userdb(4)