/l3/users/10-12-2007/unix-win/fbsd1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 |
|
#vim /etc/pam.d/login
![]() 8c8 < auth sufficient pam_winbind.so --- > #auth sufficient pam_winbind.so 14c14 < account sufficient pam_winbind.so --- > #account sufficient pam_winbind.so |
#vim /etc/pam.d/login
![]() 8c8 < auth sufficient pam_winbind.so --- > #auth sufficient pam_winbind.so 14c14 < account sufficient pam_winbind.so --- > #account sufficient pam_winbind.so |
#vim /etc/pam.d/login
![]() |
#vim /etc/pam.d/system
![]() 8c8 < #auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 16a17 > account sufficient pam_winbind.so |
#vim /etc/pam.d/system
![]() 8c8 < #auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 16a17 > account sufficient pam_winbind.so |
#vim /etc/pam.d/system
![]() |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
$less /etc/pam.d/system
![]() |
$less /etc/pam.d/system
![]() |
$less /etc/pam.d/system
|
#ssh root@127.0.0.1
![]() Password: Password: |
#ssh root@127.0.0.1
![]() Password: Password: |
$ps usershow -a
![]() ps: illegal option -- s usage: ps [-aCcefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]] [-M core] [-N system] [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]] ps [-L] |
$ps usershow -a
![]() ps: illegal option -- s usage: ps [-aCcefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]] [-M core] [-N system] [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]] ps [-L] |
#vim /etc/pam.d/system
![]() 8c8 < auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 17c17 < account sufficient pam_winbind.so --- > account sufficient pam_winbind.so |
#vim /etc/pam.d/system
![]() 8c8 < auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 17c17 < account sufficient pam_winbind.so --- > account sufficient pam_winbind.so |
#vim /etc/pam.d/system
![]() |
$pw usershow -a
![]() root:*:0:0:russian:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0::0:0:Bourne-again Superuser:/root: daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5::0:0:System &:/:/usr/sbin/nologin bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin ... cups:*:193:193::0:0:CUPS Owner:/nonexistent:/sbin/nologin truslan:*:1002:1002::0:0:Ruslan:/home/truslan:/usr/local/bin/bash squid:*:100:100::0:0:squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin administrator:*:10000:10007::0:0:Administrator:/home/administrator:/usr/local/bin/bash guest:*:10002:10008::0:0:Guest:/home/guest:/usr/local/bin/bash support_388945a0:*:10003:10007::0:0:SUPPORT_388945a0:/home/support_388945a0:/usr/local/bin/bash krbtgt:*:10004:10007::0:0:krbtgt:/home/krbtgt:/usr/local/bin/bash iusr_dc:*:10005:10007::0:0:IUSR_DC:/home/iusr_dc:/usr/local/bin/bash iwam_dc:*:10006:10007::0:0:IWAM_DC:/home/iwam_dc:/usr/local/bin/bash userwin:*:10007:10007::0:0:userwin Win:/home/userwin:/usr/local/bin/bash |
$pw usershow -a
root:*:0:0:russian:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0::0:0:Bourne-again Superuser:/root: daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5::0:0:System &:/:/usr/sbin/nologin bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin ... cups:*:193:193::0:0:CUPS Owner:/nonexistent:/sbin/nologin truslan:*:1002:1002::0:0:Ruslan:/home/truslan:/usr/local/bin/bash squid:*:100:100::0:0:squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin administrator:*:10000:10007::0:0:Administrator:/home/administrator:/usr/local/bin/bash guest:*:10002:10008::0:0:Guest:/home/guest:/usr/local/bin/bash support_388945a0:*:10003:10007::0:0:SUPPORT_388945a0:/home/support_388945a0:/usr/local/bin/bash krbtgt:*:10004:10007::0:0:krbtgt:/home/krbtgt:/usr/local/bin/bash iusr_dc:*:10005:10007::0:0:IUSR_DC:/home/iusr_dc:/usr/local/bin/bash iwam_dc:*:10006:10007::0:0:IWAM_DC:/home/iwam_dc:/usr/local/bin/bash userwin:*:10007:10007::0:0:userwin Win:/home/userwin:/usr/local/bin/bash |
$pw usershow -a
![]() =1Soup: compatwitch.conf" 10 lines, 184 characters group: files winbind group_compat: nis #hosts: files dns hosts: files winbind dns networks: files ~ ~ ~ ~ ... cups:*:193:193::0:0:CUPS Owner:/nonexistent:/sbin/nologin truslan:*:1002:1002::0:0:Ruslan:/home/truslan:/usr/local/bin/bash squid:*:100:100::0:0:squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin administrator:*:10000:10007::0:0:Administrator:/home/administrator:/usr/local/bin/bash guest:*:10002:10008::0:0:Guest:/home/guest:/usr/local/bin/bash support_388945a0:*:10003:10007::0:0:SUPPORT_388945a0:/home/support_388945a0:/usr/local/bin/bash krbtgt:*:10004:10007::0:0:krbtgt:/home/krbtgt:/usr/local/bin/bash iusr_dc:*:10005:10007::0:0:IUSR_DC:/home/iusr_dc:/usr/local/bin/bash iwam_dc:*:10006:10007::0:0:IWAM_DC:/home/iwam_dc:/usr/local/bin/bash userwin:*:10007:10007::0:0:userwin Win:/home/userwin:/usr/local/bin/bash |
$pw usershow -a
![]() =1Soup: compatwitch.conf" 10 lines, 184 characters group: files winbind group_compat: nis #hosts: files dns hosts: files winbind dns networks: files ~ ~ ~ ~ ... cups:*:193:193::0:0:CUPS Owner:/nonexistent:/sbin/nologin truslan:*:1002:1002::0:0:Ruslan:/home/truslan:/usr/local/bin/bash squid:*:100:100::0:0:squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin administrator:*:10000:10007::0:0:Administrator:/home/administrator:/usr/local/bin/bash guest:*:10002:10008::0:0:Guest:/home/guest:/usr/local/bin/bash support_388945a0:*:10003:10007::0:0:SUPPORT_388945a0:/home/support_388945a0:/usr/local/bin/bash krbtgt:*:10004:10007::0:0:krbtgt:/home/krbtgt:/usr/local/bin/bash iusr_dc:*:10005:10007::0:0:IUSR_DC:/home/iusr_dc:/usr/local/bin/bash iwam_dc:*:10006:10007::0:0:IWAM_DC:/home/iwam_dc:/usr/local/bin/bash userwin:*:10007:10007::0:0:userwin Win:/home/userwin:/usr/local/bin/bash |
$pw usershow -a
root:*:0:0:russian:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0::0:0:Bourne-again Superuser:/root: daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5::0:0:System &:/:/usr/sbin/nologin bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin ... cups:*:193:193::0:0:CUPS Owner:/nonexistent:/sbin/nologin truslan:*:1002:1002::0:0:Ruslan:/home/truslan:/usr/local/bin/bash squid:*:100:100::0:0:squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin administrator:*:10000:10007::0:0:Administrator:/home/administrator:/usr/local/bin/bash guest:*:10002:10008::0:0:Guest:/home/guest:/usr/local/bin/bash support_388945a0:*:10003:10007::0:0:SUPPORT_388945a0:/home/support_388945a0:/usr/local/bin/bash krbtgt:*:10004:10007::0:0:krbtgt:/home/krbtgt:/usr/local/bin/bash iusr_dc:*:10005:10007::0:0:IUSR_DC:/home/iusr_dc:/usr/local/bin/bash iwam_dc:*:10006:10007::0:0:IWAM_DC:/home/iwam_dc:/usr/local/bin/bash userwin:*:10007:10007::0:0:userwin Win:/home/userwin:/usr/local/bin/bash |
#ssh user@192.168.16.23
![]() Password: Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#ssh user@192.168.16.23
![]() Password: Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#ssh user@192.168.16.23
Password: Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#vim /etc/pam.d/system
![]() 16c16 < account required pam_krb5.so --- > #account required pam_krb5.so |
#vim /etc/pam.d/system
![]() 16c16 < account required pam_krb5.so --- > #account required pam_krb5.so |
#vim /etc/pam.d/system
![]() |
#ssh root@127.0.0.1
![]() Password: |
#ssh root@127.0.0.1
![]() Password: |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh root@127.0.0.1
![]() Password: Password: Password: |
#ssh root@127.0.0.1
![]() Password: Password: Password: |
#vim /etc/pam.d/login
![]() |
#vim /etc/pam.d/login
![]() |
#vim /etc/pam.d/login
![]() |
#scp
![]() usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 |
#scp
![]() usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 |
#scp
![]() usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
![]() Password: system 100% 823 0.8KB/s 00:00 |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
Password: system 100% 823 0.8KB/s 00:00 |
#less /root/systemfree3
![]() |
#less /root/systemfree3
|
#diff systemfree3 /etc/pam.d/system
![]() 8c8 < auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 17,18c17,18 < account sufficient pam_winbind.so < account required pam_login_access.so --- > account sufficient pam_winbind.so > #account required pam_login_access.so 24d23 < session required pam_mkhomedir.so umask=0022 skel=/etc/skel |
#diff systemfree3 /etc/pam.d/system
![]() 8c8 < auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 17,18c17,18 < account sufficient pam_winbind.so < account required pam_login_access.so --- > account sufficient pam_winbind.so > #account required pam_login_access.so 24d23 < session required pam_mkhomedir.so umask=0022 skel=/etc/skel |
#diff systemfree3 /etc/pam.d/system
![]() 8c8 < auth sufficient pam_winbind.so --- > auth sufficient pam_winbind.so 17,18c17,18 < account sufficient pam_winbind.so < account required pam_login_access.so --- > account sufficient pam_winbind.so > #account required pam_login_access.so 24d23 < session required pam_mkhomedir.so umask=0022 skel=/etc/skel |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
![]() |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
![]() |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
![]() |
#scp user@192.168.16.23:/etc/pam.d/system ./systemfree3
![]() |
#pwd
![]() /root |
#pwd
![]() /root |
#pwd
![]() /root |
#pwd
/root |
#vim /etc/pam.d/system
![]() 18c18 < #account required pam_login_access.so --- > account required pam_login_access.so |
#vim /etc/pam.d/system
![]() 18c18 < #account required pam_login_access.so --- > account required pam_login_access.so |
#vim /etc/pam.d/system
![]() 18c18 < #account required pam_login_access.so --- > account required pam_login_access.so |
#vim /etc/pam.d/system
![]() |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#vim /etc/pam.d/system
![]() 23a24,26 > session required pam_mkhomedir.so umask=0022 skel=/et > c/skel > |
#vim /etc/pam.d/system
![]() 23a24,26 > session required pam_mkhomedir.so umask=0022 skel=/et > c/skel > |
#vim /etc/pam.d/system
![]() |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
#dmesg -a
![]() \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mount -t unionfs -o -b /sys $HOME/sys \^[[25;1H\^[[K\^[[7mbyte 12318\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 12319\^[[27m ... \^[[25;1H\^[[K\^[[7mbyte 13742\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 13743\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mounts all file systems except those of type NFS and NULLFS. |
#dmesg -a
![]() \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mount -t unionfs -o -b /sys $HOME/sys \^[[25;1H\^[[K\^[[7mbyte 12318\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 12319\^[[27m ... \^[[25;1H\^[[K\^[[7mbyte 13742\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 13743\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mounts all file systems except those of type NFS and NULLFS. |
#dmesg -a
\^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mount -t unionfs -o -b /sys $HOME/sys \^[[25;1H\^[[K\^[[7mbyte 12318\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 12319\^[[27m ... \^[[25;1H\^[[K\^[[7mbyte 13742\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K \^[[25;1H\^[[K\^[[7mbyte 13743\^[[27m \^[[25;1H\^[[K \^[[KESC\^H\^H\^HESC \^[[K[\^H[ \^[[KB\^HB\^[[25;1H \^[[25;1H\^[[K mounts all file systems except those of type NFS and NULLFS. |
#cd ../squid26/ss
![]() |
#cd ../squid26/ss
![]() |
#ss
![]() |
#ss
![]() |
#ss
![]() |
#ssh user@192.168.16.23
![]() Password: Last login: Wed Dec 12 11:12:21 2007 from 192.168.16.21 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=79401; pidfile=/home/user/.lilalo/l3-agent.pid |
#ssh user@192.168.16.23
![]() Password: Last login: Wed Dec 12 11:12:21 2007 from 192.168.16.21 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=79401; pidfile=/home/user/.lilalo/l3-agent.pid |
#ssh user@192.168.16.23
Password: Last login: Wed Dec 12 11:12:21 2007 from 192.168.16.21 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=79401; pidfile=/home/user/.lilalo/l3-agent.pid |
$vim /etc/nsswitch.conf
![]() |
$vim /etc/nsswitch.conf
![]() |
$vim /etc/nsswitch.conf
|
$su
![]() su: pam_start: system error |
$su
![]() su: pam_start: system error |
$su
![]() su: pam_start: system error |
$su
![]() su: pam_start: system error |
#vim /etc/nsswitch.conf
![]() 1c1,2 < group: compat --- > #group: compat > group: files winbind 3c4,5 < hosts: files dns --- > #hosts: files dns > hosts: files winbind dns 5c7,8 < passwd: compat --- > #passwd: compat > passwd: files winbind |
#vim /etc/nsswitch.conf
![]() 1c1,2 < group: compat --- > #group: compat > group: files winbind 3c4,5 < hosts: files dns --- > #hosts: files dns > hosts: files winbind dns 5c7,8 < passwd: compat --- > #passwd: compat > passwd: files winbind |
#vim /etc/nsswitch.conf
![]() 1c1,2 < group: compat --- > #group: compat > group: files winbind 3c4,5 < hosts: files dns --- > #hosts: files dns > hosts: files winbind dns 5c7,8 < passwd: compat --- > #passwd: compat > passwd: files winbind |
#vim /etc/nsswitch.conf
![]() |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
#ssh administrator@127.0.0.1
![]() Password: Password: Password: |
#wbinfo -p
![]() Ping to winbindd succeeded on fd 4 |
#wbinfo -p
Ping to winbindd succeeded on fd 4 |
Время первой команды журнала | 11:22:20 2007-12-12 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:34:54 2007-12-12 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 29.70 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.21 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 8.04 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008