Журнал лабораторных работ

Содержание

Журнал

Понедельник (08/31/09)

/dev/ttyp7
17:54:53
#exit
exit
Connection to 192.168.16.22 closed.
17:58:17
#ls -l /usr/share/man/
total 604
drwxr-xr-x   2 man   wheel   12288 15 ÍÁÒ  2008 cat1
drwxr-xr-x   2 man   wheel     512 15 ÍÁÒ  2008 cat1aout
drwxr-xr-x   2 man   wheel    6144 15 ÍÁÒ  2008 cat2
drwxr-xr-x   2 man   wheel   90112 15 ÍÁÒ  2008 cat3
drwxr-xr-x   6 man   wheel   11776 15 ÍÁÒ  2008 cat4
drwxr-xr-x   2 man   wheel    4608 15 ÍÁÒ  2008 cat5
drwxr-xr-x   2 man   wheel     512 15 ÍÁÒ  2008 cat6
drwxr-xr-x   2 man   wheel    1536 15 ÍÁÒ  2008 cat7
drwxr-xr-x   6 man   wheel   11264 15 ÍÁÒ  2008 cat8
...
drwxr-xr-x   2 root  wheel     512 15 ÍÁÒ  2008 man1aout
drwxr-xr-x   2 root  wheel    6144 15 ÍÁÒ  2008 man2
drwxr-xr-x   2 root  wheel   90112 15 ÍÁÒ  2008 man3
drwxr-xr-x   6 root  wheel   11776 15 ÍÁÒ  2008 man4
drwxr-xr-x   2 root  wheel    4608 15 ÍÁÒ  2008 man5
drwxr-xr-x   2 root  wheel     512 15 ÍÁÒ  2008 man6
drwxr-xr-x   2 root  wheel    1536 15 ÍÁÒ  2008 man7
drwxr-xr-x   6 root  wheel   11264 15 ÍÁÒ  2008 man8
drwxr-xr-x   2 root  wheel   29184 15 ÍÁÒ  2008 man9
-rw-r--r--   1 root  wheel  232330 16 ÑÎ×  2008 whatis
17:58:17
#ls -l /usr/share/man/
total 604
drwxr-xr-x   2 man   wheel   12288 15 ÍÁÒ  2008 cat1
drwxr-xr-x   2 man   wheel     512 15 ÍÁÒ  2008 cat1aout
drwxr-xr-x   2 man   wheel    6144 15 ÍÁÒ  2008 cat2
drwxr-xr-x   2 man   wheel   90112 15 ÍÁÒ  2008 cat3
drwxr-xr-x   6 man   wheel   11776 15 ÍÁÒ  2008 cat4
drwxr-xr-x   2 man   wheel    4608 15 ÍÁÒ  2008 cat5
drwxr-xr-x   2 man   wheel     512 15 ÍÁÒ  2008 cat6
drwxr-xr-x   2 man   wheel    1536 15 ÍÁÒ  2008 cat7
drwxr-xr-x   6 man   wheel   11264 15 ÍÁÒ  2008 cat8
...
drwxr-xr-x   2 root  wheel     512 15 ÍÁÒ  2008 man1aout
drwxr-xr-x   2 root  wheel    6144 15 ÍÁÒ  2008 man2
drwxr-xr-x   2 root  wheel   90112 15 ÍÁÒ  2008 man3
drwxr-xr-x   6 root  wheel   11776 15 ÍÁÒ  2008 man4
drwxr-xr-x   2 root  wheel    4608 15 ÍÁÒ  2008 man5
drwxr-xr-x   2 root  wheel     512 15 ÍÁÒ  2008 man6
drwxr-xr-x   2 root  wheel    1536 15 ÍÁÒ  2008 man7
drwxr-xr-x   6 root  wheel   11264 15 ÍÁÒ  2008 man8
drwxr-xr-x   2 root  wheel   29184 15 ÍÁÒ  2008 man9
-rw-r--r--   1 root  wheel  232330 16 ÑÎ×  2008 whatis
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:06
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
17:59:31
#vim /etc/passwd
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:36
#passwd
Changing local password for root
New Password:
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:41
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:00:51
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:01
#man passwd
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:22
#whatis intro
intro(1)                 - introduction to general commands (tools and utilities)
intro(2)                 - introduction to system calls and error numbers
intro(3)                 - introduction to the C libraries
intro(4)                 - introduction to devices and device drivers
intro(5)                 - introduction to file formats
intro(6)                 - introduction to games
intro(7)                 - miscellaneous information pages
intro(8)                 - introduction to system maintenance procedures and commands
intro(9)                 - introduction to system kernel interfaces
18:01:27
#man 5 passwd
18:01:27
#man 5 passwd
18:01:59
#ps aux | grep l3-agent
root   1656  9,2  1,7  9776  8548  ??  Ss   18:44     0:29,57 l3-agent (perl5.8
root   1413  9,1  1,7  9828  8580  ??  Ss   18:41     0:29,48 l3-agent (perl5.8
root   1591  8,6  1,7  9780  8556  ??  Ss   18:44     0:30,40 l3-agent (perl5.8
root   5611  8,5  1,7  9764  8532  ??  Ss   18:49     0:28,70 l3-agent (perl5.8
root   1503  8,1  1,7  9784  8528  ??  Ss   18:41     0:28,38 l3-agent (perl5.8
root   1044  8,0  1,7  9788  8508  ??  Ss   17:00     0:33,24 l3-agent (perl5.8
18:01:59
#ps aux | grep l3-agent
root   1656  9,2  1,7  9776  8548  ??  Ss   18:44     0:29,57 l3-agent (perl5.8
root   1413  9,1  1,7  9828  8580  ??  Ss   18:41     0:29,48 l3-agent (perl5.8
root   1591  8,6  1,7  9780  8556  ??  Ss   18:44     0:30,40 l3-agent (perl5.8
root   5611  8,5  1,7  9764  8532  ??  Ss   18:49     0:28,70 l3-agent (perl5.8
root   1503  8,1  1,7  9784  8528  ??  Ss   18:41     0:28,38 l3-agent (perl5.8
root   1044  8,0  1,7  9788  8508  ??  Ss   17:00     0:33,24 l3-agent (perl5.8
18:02:06
#ps aux | grep l3-agent | awk '{print $2}'
1656
1413
1591
5611
1503
1044
18:02:06
#ps aux | grep l3-agent | awk '{print $2}'
1656
1413
1591
5611
1503
1044
18:02:15
#kill -9 `ps aux | grep l3-agent | awk '{print $2}'`

18:02:15
#kill -9 `ps aux | grep l3-agent | awk '{print $2}'`

18:02:27
#ps aux | grep l3-agent

18:02:27
#ps aux | grep l3-agent

18:02:29
#l3-agent
Removing stale pidfile
18:02:29
#l3-agent
Removing stale pidfile
18:02:32
#ps aux | grep l3-agent
root   6061  3,0  1,4  8296  7048  ??  Rs   19:02     0:01,15 l3-agent (perl5.8
18:02:32
#ps aux | grep l3-agent
root   6061  3,0  1,4  8296  7048  ??  Rs   19:02     0:01,15 l3-agent (perl5.8
18:02:33
#man 5 passwd
18:02:33
#man 5 passwd
18:02:45
#man -a passwd
18:02:45
#man -a passwd
18:03:03
#man passwd
18:03:03
#man passwd
18:04:06
#man passwd
18:04:06
#man passwd
18:04:36
#apropos user
NgMkSockNode(3), NgNameNode(3), NgSendMsg(3), NgSendAsciiMsg(3), NgSendMsgReply(3), NgRecvMsg(3), NgAllocRecvMsg(3), NgRecvAsciiMsg(3), NgAllocRecvAsciiMsg(3), NgSendData(3), NgRecvData(3), NgAllocRecvData(3), NgSetDebug(3), NgSetErrLog(3) - netgraph user library
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
archive_write_disk_new(3), archive_write_disk_set_options(3), archive_write_disk_set_skip_file(3), archive_write_disk_set_group_lookup(3), archive_write_disk_set_standard_lookup(3), archive_write_disk_set_user_lookup(3), archive_write_header(3), archive_write_data(3), archive_write_finish_entry(3), archive_write_close(3), archive_write_finish(3) - functions for creating objects on disk
atm(8)                   - user configuration and display command for HARP ATM interface
audit_user(5)            - events to be audited for given users
authpf(8)                - authenticating gateway user shell
cam_open_device(3), cam_open_spec_device(3), cam_open_btl(3), cam_open_pass(3), cam_close_device(3), cam_close_spec_device(3), cam_getccb(3), cam_send_ccb(3), cam_freeccb(3), cam_path_string(3), cam_device_dup(3), cam_device_copy(3), cam_get_device(3) - CAM user library
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
18:04:36
#apropos user
NgMkSockNode(3), NgNameNode(3), NgSendMsg(3), NgSendAsciiMsg(3), NgSendMsgReply(3), NgRecvMsg(3), NgAllocRecvMsg(3), NgRecvAsciiMsg(3), NgAllocRecvAsciiMsg(3), NgSendData(3), NgRecvData(3), NgAllocRecvData(3), NgSetDebug(3), NgSetErrLog(3) - netgraph user library
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
archive_write_disk_new(3), archive_write_disk_set_options(3), archive_write_disk_set_skip_file(3), archive_write_disk_set_group_lookup(3), archive_write_disk_set_standard_lookup(3), archive_write_disk_set_user_lookup(3), archive_write_header(3), archive_write_data(3), archive_write_finish_entry(3), archive_write_close(3), archive_write_finish(3) - functions for creating objects on disk
atm(8)                   - user configuration and display command for HARP ATM interface
audit_user(5)            - events to be audited for given users
authpf(8)                - authenticating gateway user shell
cam_open_device(3), cam_open_spec_device(3), cam_open_btl(3), cam_open_pass(3), cam_close_device(3), cam_close_spec_device(3), cam_getccb(3), cam_send_ccb(3), cam_freeccb(3), cam_path_string(3), cam_device_dup(3), cam_device_copy(3), cam_get_device(3) - CAM user library
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
18:04:54
#whatis user
NgMkSockNode(3), NgNameNode(3), NgSendMsg(3), NgSendAsciiMsg(3), NgSendMsgReply(3), NgRecvMsg(3), NgAllocRecvMsg(3), NgRecvAsciiMsg(3), NgAllocRecvAsciiMsg(3), NgSendData(3), NgRecvData(3), NgAllocRecvData(3), NgSetDebug(3), NgSetErrLog(3) - netgraph user library
atm(8)                   - user configuration and display command for HARP ATM interface
authpf(8)                - authenticating gateway user shell
cam_open_device(3), cam_open_spec_device(3), cam_open_btl(3), cam_open_pass(3), cam_close_device(3), cam_close_spec_device(3), cam_getccb(3), cam_send_ccb(3), cam_freeccb(3), cam_path_string(3), cam_device_dup(3), cam_device_copy(3), cam_get_device(3) - CAM user library
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
cr_cansee(9)             - determine visibility of objects given their user credentials
cr_seeotheruids(9)       - determine visibility of objects given their user credentials
csio_build(3), csio_build_visit(3), csio_decode(3), csio_decode_visit(3), buff_decode(3), buff_decode_visit(3), csio_encode(3), csio_encode_visit(3), buff_encode_visit(3) - CAM user library SCSI buffer parsing routines
cuserid(3)               - get user name associated with effective UID
dconschat(8)             - user interface to dcons(4)
edquota(8)               - edit user quotas
18:04:54
#whatis user
NgMkSockNode(3), NgNameNode(3), NgSendMsg(3), NgSendAsciiMsg(3), NgSendMsgReply(3), NgRecvMsg(3), NgAllocRecvMsg(3), NgRecvAsciiMsg(3), NgAllocRecvAsciiMsg(3), NgSendData(3), NgRecvData(3), NgAllocRecvData(3), NgSetDebug(3), NgSetErrLog(3) - netgraph user library
atm(8)                   - user configuration and display command for HARP ATM interface
authpf(8)                - authenticating gateway user shell
cam_open_device(3), cam_open_spec_device(3), cam_open_btl(3), cam_open_pass(3), cam_close_device(3), cam_close_spec_device(3), cam_getccb(3), cam_send_ccb(3), cam_freeccb(3), cam_path_string(3), cam_device_dup(3), cam_device_copy(3), cam_get_device(3) - CAM user library
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
cr_cansee(9)             - determine visibility of objects given their user credentials
cr_seeotheruids(9)       - determine visibility of objects given their user credentials
csio_build(3), csio_build_visit(3), csio_decode(3), csio_decode_visit(3), buff_decode(3), buff_decode_visit(3), csio_encode(3), csio_encode_visit(3), buff_encode_visit(3) - CAM user library SCSI buffer parsing routines
cuserid(3)               - get user name associated with effective UID
dconschat(8)             - user interface to dcons(4)
edquota(8)               - edit user quotas
18:05:03
#whatis passwd
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:03
#whatis passwd
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:08
#apropos passwd
kpasswd(1)               - Kerberos 5 password changing program
kpasswdd(8)              - Kerberos 5 password changing server
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_passwdqc(8)          - Password quality-control PAM module
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
rpc.yppasswdd(8)         - server for updating NIS passwords
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:08
#apropos passwd
kpasswd(1)               - Kerberos 5 password changing program
kpasswdd(8)              - Kerberos 5 password changing server
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_passwdqc(8)          - Password quality-control PAM module
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
rpc.yppasswdd(8)         - server for updating NIS passwords
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:15
#apropos passwd
kpasswd(1)               - Kerberos 5 password changing program
kpasswdd(8)              - Kerberos 5 password changing server
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_passwdqc(8)          - Password quality-control PAM module
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
rpc.yppasswdd(8)         - server for updating NIS passwords
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:15
#apropos passwd
kpasswd(1)               - Kerberos 5 password changing program
kpasswdd(8)              - Kerberos 5 password changing server
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_passwdqc(8)          - Password quality-control PAM module
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
rpc.yppasswdd(8)         - server for updating NIS passwords
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:25
#man -k passwd
18:05:25
#man -k passwd
18:05:37
#whatis passwd
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:37
#whatis passwd
passwd(1), yppasswd(1)   - modify a user's password
passwd(5), master.passwd(5) - format of the password file
SSL_CTX_set_default_passwd_cb(3), SSL_CTX_set_default_passwd_cb_userdata(3) - set passwd callback for encrypted PEM file handling
passwd(1)                - compute password hashes
18:05:44
#man -f passwd
18:05:44
#man -f passwd
18:06:01
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
krb5_auth_context(3), krb5_auth_con_init(3), krb5_auth_con_free(3), krb5_auth_con_setflags(3), krb5_auth_con_getflags(3), krb5_auth_con_setaddrs(3), krb5_auth_con_setaddrs_from_fd(3), krb5_auth_con_getaddrs(3), krb5_auth_con_genaddrs(3), krb5_auth_con_getkey(3), krb5_auth_con_setkey(3), krb5_auth_con_getuserkey(3), krb5_auth_con_setuserkey(3), krb5_auth_con_getlocalsubkey(3), krb5_auth_con_setloca
makecontext(3), swapcontext(3) - modify and exchange user thread contexts
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_setcred(3)           - modify / delete user credentials for an authentication service
passwd(1), yppasswd(1)   - modify a user's password
pw(8)                    - create, remove, modify & display system users and groups
vslock(9), vsunlock(9)   - lock/unlock user space addresses in memory
UI_new(3), UI_new_method(3), UI_free(3), UI_add_input_string(3), UI_dup_input_string(3), UI_add_verify_string(3), UI_dup_verify_string(3), UI_add_input_boolean(3), UI_dup_input_boolean(3), UI_add_info_string(3), UI_dup_info_string(3), UI_add_error_string(3), UI_dup_error_string(3), UI_construct_prompt(3), UI_add_user_data(3), UI_get0_user_data(3), UI_get0_result(3), UI_process(3), UI_ctrl(3), UI_s
18:06:01
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
krb5_auth_context(3), krb5_auth_con_init(3), krb5_auth_con_free(3), krb5_auth_con_setflags(3), krb5_auth_con_getflags(3), krb5_auth_con_setaddrs(3), krb5_auth_con_setaddrs_from_fd(3), krb5_auth_con_getaddrs(3), krb5_auth_con_genaddrs(3), krb5_auth_con_getkey(3), krb5_auth_con_setkey(3), krb5_auth_con_getuserkey(3), krb5_auth_con_setuserkey(3), krb5_auth_con_getlocalsubkey(3), krb5_auth_con_setloca
makecontext(3), swapcontext(3) - modify and exchange user thread contexts
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_setcred(3)           - modify / delete user credentials for an authentication service
passwd(1), yppasswd(1)   - modify a user's password
pw(8)                    - create, remove, modify & display system users and groups
vslock(9), vsunlock(9)   - lock/unlock user space addresses in memory
UI_new(3), UI_new_method(3), UI_free(3), UI_add_input_string(3), UI_dup_input_string(3), UI_add_verify_string(3), UI_dup_verify_string(3), UI_add_input_boolean(3), UI_dup_input_boolean(3), UI_add_info_string(3), UI_dup_info_string(3), UI_add_error_string(3), UI_dup_error_string(3), UI_construct_prompt(3), UI_add_user_data(3), UI_get0_user_data(3), UI_get0_result(3), UI_process(3), UI_ctrl(3), UI_s
18:07:10
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"

18:07:10
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"

18:07:19
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"
| less
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
krb5_auth_context(3), krb5_auth_con_init(3), krb5_auth_con_free(3), krb5_auth_con_setflags(3), krb5_auth_con_getflags(3), krb5_auth_con_setaddrs(3), krb5_auth_con_setaddrs_from_fd(3), krb5_auth_con_getaddrs(3), krb5_auth_con_genaddrs(3), krb5_auth_con_getkey(3), krb5_auth_con_setkey(3), krb5_auth_con_getuserkey(3), krb5_auth_con_setuserkey(3), krb5_auth_con_getlocalsubkey(3), krb5_auth_con_setloca
makecontext(3), swapcontext(3) - modify and exchange user thread contexts
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_setcred(3)           - modify / delete user credentials for an authentication service
passwd(1), yppasswd(1)   - modify a user's password
18:07:19
#apropos user | egrep -i "Add|Delete|FRemove|Modify|Change"
| less
adding_user(8)           - procedure for adding new users
adduser(8)               - command for adding new users
adduser.conf(5)          - adduser(8) configuration file
chpass(1), chfn(1), chsh(1), ypchpass(1), ypchfn(1), ypchsh(1) - add or change user database information
krb5_auth_context(3), krb5_auth_con_init(3), krb5_auth_con_free(3), krb5_auth_con_setflags(3), krb5_auth_con_getflags(3), krb5_auth_con_setaddrs(3), krb5_auth_con_setaddrs_from_fd(3), krb5_auth_con_getaddrs(3), krb5_auth_con_genaddrs(3), krb5_auth_con_getkey(3), krb5_auth_con_setkey(3), krb5_auth_con_getuserkey(3), krb5_auth_con_setuserkey(3), krb5_auth_con_getlocalsubkey(3), krb5_auth_con_setloca
makecontext(3), swapcontext(3) - modify and exchange user thread contexts
opiepasswd(1)            - Change or set a user's password for the OPIE authentication system
pam_setcred(3)           - modify / delete user credentials for an authentication service
passwd(1), yppasswd(1)   - modify a user's password
18:07:27
#PAGER=cat man passwd
PASSWD(1)               FreeBSD General Commands Manual              PASSWD(1)
NAME
     passwd, yppasswd -- modify a user's password
SYNOPSIS
     passwd [-l] [user]
     yppasswd [-l] [-y] [-d domain] [-h host] [-o]
DESCRIPTION
     The passwd utility changes the user's local, Kerberos, or NIS password.
     If the user is not the super-user, passwd first prompts for the current
     password and will not continue unless the correct password is entered.
...
     /etc/auth.conf      configure authentication services
SEE ALSO
     chpass(1), kinit(1), login(1), login.conf(5), passwd(5), kerberos(8),
     kpasswdd(8), pw(8), pwd_mkdb(8), vipw(8)
     Robert Morris and Ken Thompson, UNIX password security.
NOTES
     The yppasswd command is really only a link to passwd.
HISTORY
     A passwd command appeared in Version 6 AT&T UNIX.
FreeBSD 6.2                      June 6, 1993                      FreeBSD 6.2

Статистика

Время первой команды журнала17:54:53 2009- 8-31
Время последней команды журнала18:07:27 2009- 8-31
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 3.96
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.21
Количество командных строк в единицу времени, команда/мин 8.04
Частота использования команд
man36|========================| 24.83%
whatis21|==============| 14.48%
apropos12|========| 8.28%
grep10|======| 6.90%
ps8|=====| 5.52%
passwd8|=====| 5.52%
vim8|=====| 5.52%
egrep6|====| 4.14%
Change"6|====| 4.14%
Delete6|====| 4.14%
FRemove6|====| 4.14%
Modify6|====| 4.14%
awk4|==| 2.76%
l3-agent2|=| 1.38%
kill2|=| 1.38%
ls2|=| 1.38%
PAGER=cat1|| 0.69%
exit1|| 0.69%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$