Vax 613 0S Instruction Manual Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 85
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
MDP
APPLICATIONS
Issue 3 - Vol 2
USER
GROUP
NEWS
about
"/ete/update"
and"
/etc/cron").
"/ete/rc"
will also
"mount"
any additional
hard
disks for
you
(something like -
"/ete/mount
/dev/hdl
/usrl").
"/etc/init"
will
make
multiple copies
of
itself;
one"
/etc/
init" for every
tty
device. This is done by reading
the"
/etc/ttys".
The
first column contains
either
a 1
or
o.
The
1 means
the
tty
device is a "login" port.
The
0 means
the
tty
device
is
not
a "login"
port
and
therefore do
not
spawn
an
"/ete/init"
for
that
tty
device.
The"
/etc/init"
is
what
controls eaeh
port
on
the 8560/61.
The
second column in
"/etc/ttys"
will be used by
"/etc/getty"
for
the
default
terminal
speed
(see:
8560 System Reference Manual, section 8, on
the"
getty" process).
6)
"/etc/getty"
sets
the
default
terminal
speed used
and
sends
the
"Login: " message
to
the terminal.
At
this
point, the user
enters
a correct user
name
(or incorrect if you like) and if there is one,
will
prompt
for
the
password. Should there exist a Message
Of
The
Day (MOTD),
the
file"
/etc/motd"
is
sent
to
the
terminal.
MOTD
is
good for
broadcasting
messages
of
general interest
to
all users.
The
login process
will
invoke
the
program"
/bin/sh".
This
is
the program
that
allows
TNIX
the machine
to
work with
YOU
the
human.
The
"shell" program can do many things for
the
user
and
I suggest one read
the
8560 System User Manual, sec-
tion 5 for more inCormation. Next the
file"
/etc/profile"
is executed.
This
file, should
it
exist,
is
good for
issuing
commands
to
every user who logs in
to
the
8560.
It
might, for example,
print
the"
date" for every
one who logs into the
8560. Once
the"
/etc/profile"
has completed,
the"
/usr/usernamej.profile"
is exe-
cuted. Every user may have their own profile
command
file
to
customize
the
system
to
their
needs.
".profile" might
contain
commands
to
program a terminal for special uses.
Others
might
have
it
print
all
the
current
users on
the
system.
Doug Roberts, Washington,
D.C. Field Office
DELAYED
EXECUTION
OF
COMMANDS
One of the 856x's more useful features is the ability
to
do tasks
at
some later time, usually
in
the middle of
the
night. This is generally accomplished by the use of the
'at'
command
(part
of
the
Auxiliary Utilities Package).
Users may find it difficult
to
keep
track
of all the different jobs. Use a
command
file
(/usr/byronl/.later)
to
put
all
"later"
tasks
into a single place:
20
:
this
file
executes every day
at
5
AM
under
control of
at
set
'date'
:
the
following
commands
are executed every day
cp
SHOME/calendar
$HOME/cal.backup
case
$1
in
Sat)
Sun}
uucp
/usr
/byronl/logfile
red!/public/logfile;;
cd
/usr
/spool/uucp
cp
LOGFILE
.LOGFILE
cp SYSLOG .SYSLOG
>LOGFILE
>SYSLOG;;
Mon) echo
"S~nd
Status
Report
Today"
Imail byronl;;
esac
sleep
360
Tue};;
Wed};;
Thu);;
Fri};;
TEKTRONIX
December Ig83
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 84 85

Comments to this Manuals

No comments