| /l3/users/05-07-2012/NT-BSDadm/fbsd.net.nt/user :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 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 |
|
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$vimetd.conf
# #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmaa il/bin/qmail-smtpd ... il/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat #auth stream tcp6 nowait root internalexec msat 117,1 98% |
|
$cd ..
|
|
$cd ..
|
|
$cd ..
|
|
$cd ..
|
|
$cd usr
|
|
$cd share
|
|
$ls
calendar groff_font misc sendmail tmac dict info mk skel vi doc locale nls snmp zoneinfo examples man openssl syscons games me security tabset |
|
$cd doc
|
|
$egrep " ([^ ]*) " /tmp/ssh_cong
# $OpenBSD: ssh_config,v 1.26 2010/01/11 01:39:46 dtucker Exp $ # $FreeBSD: src/crypto/openssh/ssh_config,v 1.34.2.2.4.1 2010/12/21 17:09:25 kensmith Exp $ # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration files # or on the command line. # Configuration data is parsed as follows: # 1. command line options # 2. user-specific file # 3. system-wide file ... # Cipher 3des # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 # EscapeChar ~ # Tunnel no # TunnelDevice any:any # PermitLocalCommand no # VisualHostKey no # ProxyCommand ssh -q -W %h:%p gateway.example.com # VersionAddendum FreeBSD-20100308 |
|
$egrep -n [^ ]*) \1" /tmp/ssh_cong
4:# This is the ssh client system-wide configuration file. See 5:# ssh_config(5) for more information. This file provides defaults for 10:# 1. command line options 11:# 2. user-specific file 12:# 3. system-wide file 17:# Site-wide defaults for some commonly used options. For a comprehensive 22:# ForwardAgent no 23:# ForwardX11 no 24:# RhostsRSAAuthentication no 25:# RSAAuthentication yes ... 40:# Cipher 3des 41:# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc 42:# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 43:# EscapeChar ~ 44:# Tunnel no 45:# TunnelDevice any:any 46:# PermitLocalCommand no 47:# VisualHostKey no 48:# ProxyCommand ssh -q -W %h:%p gateway.example.com 49:# VersionAddendum FreeBSD-20100308 |
|
$ls -l
total 20 drwxr-xr-x 2 root wheel 512 Feb 18 2011 IPv6 drwxr-xr-x 2 root wheel 512 Feb 18 2011 atm drwxr-xr-x 4 root wheel 512 Feb 18 2011 bind9 drwxr-xr-x 5 root wheel 512 Feb 18 2011 legal drwxr-xr-x 2 root wheel 512 Feb 18 2011 ncurses drwxr-xr-x 2 root wheel 1536 Feb 18 2011 ntp drwxr-xr-x 2 root wheel 512 Feb 18 2011 papers drwxr-xr-x 23 root wheel 512 Feb 18 2011 psd drwxr-xr-x 13 root wheel 512 Feb 18 2011 smm drwxr-xr-x 13 root wheel 512 Feb 18 2011 usd |
|
$egrep -n " ([^ ]*)" /tmp/ssh_cong
1:# $OpenBSD: ssh_config,v 1.26 2010/01/11 01:39:46 dtucker Exp $ 2:# $FreeBSD: src/crypto/openssh/ssh_config,v 1.34.2.2.4.1 2010/12/21 17:09:25 kensmith Exp $ 4:# This is the ssh client system-wide configuration file. See 5:# ssh_config(5) for more information. This file provides defaults for 6:# users, and the values can be changed in per-user configuration files 7:# or on the command line. 9:# Configuration data is parsed as follows: 10:# 1. command line options 11:# 2. user-specific file 12:# 3. system-wide file ... 40:# Cipher 3des 41:# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc 42:# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 43:# EscapeChar ~ 44:# Tunnel no 45:# TunnelDevice any:any 46:# PermitLocalCommand no 47:# VisualHostKey no 48:# ProxyCommand ssh -q -W %h:%p gateway.example.com 49:# VersionAddendum FreeBSD-20100308 |
|
$egrep -n " ([^ ]*) \1tmp/ssh_cong
4:# This is the ssh client system-wide configuration file. See 5:# ssh_config(5) for more information. This file provides defaults for 10:# 1. command line options 11:# 2. user-specific file 12:# 3. system-wide file 17:# Site-wide defaults for some commonly used options. For a comprehensive 22:# ForwardAgent no 23:# ForwardX11 no 24:# RhostsRSAAuthentication no 25:# RSAAuthentication yes ... 40:# Cipher 3des 41:# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc 42:# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 43:# EscapeChar ~ 44:# Tunnel no 45:# TunnelDevice any:any 46:# PermitLocalCommand no 47:# VisualHostKey no 48:# ProxyCommand ssh -q -W %h:%p gateway.example.com 49:# VersionAddendum FreeBSD-20100308 |
|
$sed 's/:.*//' /etc/passwd | wc -c
137
|
|
$find /usr/share/doc -name \*.txt -exec grep -l 'GNU grep'
find: -exec: no terminating ";" or "+" |
|
$grepetd.conf
|
|
$grepetd.conf
|
|
$grepetd.conf
|
|
$grepetd.conf
|
|
$grepetd.conf
|
|
$sed 's/://' /etc/passwd
# $FreeBSD src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root*:0:0:Charlie &:/root:/usr/local/bin/bash toor*:0:0:Bourne-again Superuser:/root: daemon*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator*:2:5:System &:/:/usr/sbin/nologin bin*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$grep -inetd.conf
|
|
$grep -inetd.conf
|
|
$grep -inetd.conf
|
|
$sed '' /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$sed 's/://' /etc/passwd
# $FreeBSD src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root*:0:0:Charlie &:/root:/usr/local/bin/bash toor*:0:0:Bourne-again Superuser:/root: daemon*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator*:2:5:System &:/:/usr/sbin/nologin bin*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$sed 's/://' /etc/passwd
# $FreeBSD src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root*:0:0:Charlie &:/root:/usr/local/bin/bash toor*:0:0:Bourne-again Superuser:/root: daemon*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator*:2:5:System &:/:/usr/sbin/nologin bin*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$grep -i 'ab|net'
|
|
$grep -i 'ab|net'
|
|
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$find /usr/share/doc -name \*.txt -exec grep -l 'GNU grep'
find: -exec: no terminating ";" or "+" |
|
$cat passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$cat passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$cat passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$egrep 'oo|log' passwd
root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin |
|
$egrep 'varasswd
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin |
|
$egrep 'v|l' passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ root:*:0:0:Charlie &:/root:/usr/local/bin/bash daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin ... mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$egrep 'a passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$egrep 'a passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$egrep 'a passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ root:*:0:0:Charlie &:/root:/usr/local/bin/bash toor:*:0:0:Bourne-again Superuser:/root: daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico user:*:1001:1001:User &:/home/user:/usr/local/bin/bash |
|
$egrep 'w passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'w passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'w passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin news:*:8:8:News Subsystem:/:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ |
|
$egrep 'wd passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ |
|
$egrep 'wd passwd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ |
|
$ls -l
total 8 -rw-r--r-- 1 user wheel 3234 Nov 27 20:25 dirlist drwxr-xr-x 2 user wheel 2048 Nov 27 20:23 etccopy -rw-r--r-- 1 user wheel 1683 Nov 28 13:11 ssh_cong |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep 'wd|wnsswd
# $FreeBSD: src/etc/master.passwd,v 1.40.22.1.6.1 2010/12/21 17:09:25 kensmith Exp $ daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/texts
egrep: /home/user/texts: No such file or directory |
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|
|
$egrep FreeBSD ~/text
|