SCSxx05/SCSxx20 User Guide
8: Commands
8-14
Using Single Signon to Save Time
To automate and save time, try this:
[max@miraclehut ~]$ ssh-agent /bin/bash
[max@miraclehut max]$ ssh-add
Need passphrase for /home/max/.ssh/identity (max@miraclehut).
Enter passphrase:
Identity added: /home/max/.ssh/identity (max@miraclehut)
[max@miraclehut max]$ for target_host in host1 host2 host3
host4 host5 host[678] host9; do
> ssh root@$target_host "./tripwire --initialize"
> ssh root@$target_host "echo \"This host protected by
Tripwire\" >> /etc/motd"
> done
This process allows me to type in my passphrase once, and then run two commands, on
nine hosts, without having to type any more passphrases. I can walk away now, content
that I don't have to manually start Tripwire on each of the nine hosts. I can use more "for"
loops now, since I don't have to re-enter my passphrase again until I exit out of the bash
shell! This saves tons of time, without the insecurity of rsh or rlogin's rhost authentication.
Mounting File Systems During Boot
You can configure the SCS to mount a file system at boot time. Configure this
feature from the bash shell as the root user. To access the bash shell as root
user:
1. Log in as
sysadmin
. The command-line prompt displays.
2. Type
bash
to start a shell process (notice: sysadmin level = $).
3.
su
(switch user
)
to root level; enter the existing root password (default =
root
). After the system accepts the password, notice that the root level =
sysadmin@ #
(e.g.,
[root@SCS1620 /var/tmp]#?
)
Содержание SCSxx05
Страница 10: ...ix ...
Страница 11: ...x ...
Страница 12: ...xi ...
Страница 13: ...xii ...
Страница 14: ...xiii ...
Страница 15: ...xiv ...
Страница 47: ...SCSxx05 SCSxx20 User Guide 4 Configuration 4 7 ...
Страница 127: ...SCSxx05 SCSxx20 User Guide C Pinouts and Adapters C 7 RJ45 Receptacle to DB9M DTE Adapter for the SCSxx05 Part 200 2071 ...
Страница 128: ...SCSxx05 SCSxx20 User Guide C Pinouts and Adapters C 8 RJ45 Receptacle to DB9F DTE Adapter for the SCSxx05 Part 200 2072 ...