04-30-2009
show us wat u hav tried ?...
One more info needed is , is it the user name and password remain same for all DB's ?..i don't think so . (or) do you hav that info also in the file itself.?.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a few questions about Unix. Can you please help!
1.How do I create an alias that greps the password file for my username and returns my password file entry? Once I get the alias to work I want to be able to let a friend use it .So that he can use the alias to locate his password entry... (1 Reply)
Discussion started by: JJJ
1 Replies
2. UNIX for Dummies Questions & Answers
friends i wanted to now whehter there exists a book as a solution to the questions posted in exercies of the Design of Unix Operating system by Maurice J Bach !..its really urgent !! (1 Reply)
Discussion started by: darshaan
1 Replies
3. UNIX for Dummies Questions & Answers
hi friends,
How to obtain list of groups we r a member of and redirect it to a file.
how to append the details of current OS to a file.
how to append the estimated file space to a file.
how to append the details of users loged on along wth their current activity into a file.
Thank you...I'm... (3 Replies)
Discussion started by: bobby36
3 Replies
4. Shell Programming and Scripting
Hi All,
I have a Sqlplus report which will create a file.
I need a FTP Script that will be executed inside the Sqlplus Report to FTP the report output file to unix server.
Thanks,
Previn (0 Replies)
Discussion started by: vprevin
0 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I need to find out the completed transactions count which happened during a particular time duration from a log file. I'm a newbie with scripts and i'm unable to figure out how to get this task done with scripts. I have a transaction log file which has various lines indicating the... (1 Reply)
Discussion started by: haran_3k
1 Replies
6. Shell Programming and Scripting
Hi,
I am new to Shell Scripting.
I need to pick the files from one directory and place them in another directory based on time stamp.It should pick the files if the files is not accessed for 1 hour.
Can any one please help me how to work on this.
Thanks in Advance.
Regards,
Prakash (1 Reply)
Discussion started by: kvrprakash
1 Replies
7. Homework & Coursework Questions
#!/bin/sh
#Buddy Gibbons
#COP3353 - Assignment 4
#4/21/12
file=$1
directories=0
files=0
rfiles=0
xfiles=0
wfiles=0
if
then
echo "Usage: assignment4.sh <directory_name>"
exit
fi (1 Reply)
Discussion started by: tennistennis1
1 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
2. Shell Bash Script
3.
!/bin/bash
if
echo no directory
then
mkdir -p /home/AC_Drywall
elif ; then
echo "$dir already exist"
fi (4 Replies)
Discussion started by: TomFord1
4 Replies
9. Shell Programming and Scripting
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
Discussion started by: anman0523
11 Replies
10. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
AUTH(8) System Manager's Manual AUTH(8)
NAME
changeuser, wrkey, convkeys, printnetkey, status, auth.srv, guard.srv - maintain authentication databases
SYNOPSIS
auth/changeuser [-np] user
auth/wrkey
auth/convkeys [-p] keyfile
auth/printnetkey user
auth/status user
auth/auth.srv
auth/guard.srv
DESCRIPTION
These administrative commands run only on the authentication server. Changeuser manipulates an authentication database file system served
by keyfs(4) and used by file servers. There are two authentication databases, one holding information about Plan 9 accounts and one hold-
ing SecureNet keys. A user need not be installed in both databases but must be installed in the Plan 9 database to connect to a Plan 9
service.
Changeuser installs or changes user in an authentication database. It does not install a user on a Plan 9 file server; see fs(8) for that.
Option -p installs user in the Plan 9 database. Changeuser asks twice for a password for the new user. If the responses do not match or
the password is too easy to guess the user is not installed.
Option -n installs user in the SecureNet database and prints out a key for the SecureNet box. The key is chosen by changeuser.
If neither option -p or option -n is given, changeuser installs the user in the Plan 9 database.
Changeuser prompts for biographical information such as email address, user name, sponsor and department number and appends it to the file
/adm/netkeys.who or /adm/keys.who.
Wrkey prompts for a machine key, host owner, and host domain and stores them in local non-volatile RAM.
Convkeys re-encrypts the key file keyfile. Re-encryption is performed in place. Without the -p option convkeys uses the key stored in
/dev/keys to decrypt the file, and encrypts it using the new key. By default, convkeys prompts twice for the new password. The -p forces
convkeys to also prompt for the old password. The format of keyfile is described in keyfs(4).
Printnetkey displays the network key as it should be entered into the hand-held Securenet box.
Status is a shell script that prints out everything known about a user and the user's key status.
Auth.srv is the program, run only on the authentication server, that handles ticket requests on IL port 566. It is started by an incoming
call to the server requesting a conversation ticket; its standard input and output are the network connection. Auth.srv executes the
authentication server's end of the appropriate protocol as described in auth(6).
Guard.srv is similar. It is called whenever a foreign (e.g. Unix) system wants to do a SecureNet challenge/response authentication.
FILES
/adm/keys.who
List of users in the Plan 9 database.
/adm/netkeys.who
List of users in the SecureNet database.
SOURCE
/sys/src/cmd/auth
SEE ALSO
keyfs(4), securenet(8)
AUTH(8)