home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
telecom
/
uucp_442
/
uucp2.lzh
/
uucp2
/
man
/
Passwd
< prev
next >
Wrap
Text File
|
1991-01-06
|
2KB
|
82 lines
NAME
GETTY:PASSWD
SYNOPSIS
-
DESCRIPTION
GETTY:PASSWD is similar to the UNIX /etc/passwd file and is
currently used by Getty to verify remote logins and run the
appropriate 'shell', which in most cases will be uucico. The
format is:
------ start of GETTY:PASSWD -----
# Put any comment here
#
# User,Password,Uid,GroupId,Finger-Info,Home-Dir,Command-To-Run
bbs,*,10,0,BBS,ram:,mybbs:c/mybbs
foo,bar,23,2,The Guy,ram:,uucp:c/uucico
gaa,xxx,24,2,The Guy,ram:,uucp:c/uucico
------ end of UUCP:LIB/PASSWD -------
NOTE: Unlike manually run UUCicos, you do not specify a
-UNIT or -DEVICE option for uucico's run from a getty. Getty
automatically supplies these arguments to the program it runs.
The above example runs uucico when somebody logs in as 'foo'
with the proper password (bar). Normally the user runs a
Getty from s:startup-sequence for each serial port he wishes
to allow logins on.
The GETTY:PASSWD file combined with appropriate entries and
a running Getty allow arbitrary UUCP connections to be made
into your Amiga.
Sendmail will add your finger info to the From: field of any
mail message.
FIELDS
User = user name, up to 8 characters
Password= password, up to 8 characters (uncrypted for now)
* = no password
Uid = unique numerical id (don't use 0 please), this WILL
be used by some programs to find password entries.
Give each entry a different UID.
Gid = not currently used, set to 2 (don't use 0).
Finger = Finger information (your name). Future sub fields
within the finger information will be separated by
colons (:).
Home-Dir= Directory from which to run the command
Command = Command to run. This command CANNOT BE A BCPL PROGRAM.
Command is run with arguments you specify plus:
-DEVICE devicename -UNIT unitname
Where the devicename and unitname together make up
a serial port which the command should use for further
communications. stdin and stdout are set to NULL:,
as is the console handler.
(Getty accomplishes all of this)
If there is a '*' infront of the command name,
then Getty will setup stdin and stdout using the
UUSER: device, allowing programs to use stdio
to talk to the serial device.
See UUSER.MAN