IA/System Admin

HP SnA 2일차 오후-2

kiostory 2012. 6. 20. 09:37

HP-UX rx233 B.11.31 ia64 hp server rx1620

login: root
Password:
Login incorrect
login: root
Password:
Last successful login:       Tue Jun 19 10:58:40 KST 2012 ::ffff:59.29.224.128 
Last authentication failure: Tue Jun 19 14:19:43 KST 2012 ::ffff:59.29.224.128 
1 authentication failures since the last successful authentication
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

Confidential computer software. Valid license from HP required for
possession, use or copying.  Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.

You have mail.

 

 

 

 

 

 

 

 

                                                                                                                                               
Value of TERM has been set to "vt100".
WARNING:  YOU ARE SUPERUSER !!


root@rx233   [/root]
# last
root     pts/ta       Tue Jun 19 14:19   still logged in
user26   pts/tc       Tue Jun 19 14:11 - 14:18  (00:06)
user25   pts/tc       Tue Jun 19 13:51 - 13:53  (00:01)
user25   pts/tc       Tue Jun 19 13:50 - 13:50  (00:00)
root     pts/tb       Tue Jun 19 10:58   still logged in
root     pts/ta       Tue Jun 19 10:58 - 14:19  (03:21)
root     pts/tb       Tue Jun 19 09:58 - 10:58  (01:00)
root     pts/ta       Tue Jun 19 09:35 - 10:58  (01:23)
root     pts/ta       Mon Jun 18 16:16 - 09:34  (17:18)
root     pts/ta       Mon Jun 18 16:07 - 16:15  (00:08)
root     console      Mon Jun 18 15:53 - 15:57  (00:03)
root     console      Mon Jun 18 15:45 - 15:45  (00:00)
root     console      Mon Jun 18 15:40 - 15:40  (00:00)
reboot   system boot  Mon Jun 18 15:38   still logged in
root     console      Mon Jun 18 15:32 - 15:35  (00:03)
reboot   system boot  Mon Jun 18 15:28 - 15:38  (00:09)
root     console      Mon Jun 18 15:16 - 15:19  (00:03)
root     console      Mon Jun 18 14:57 - 14:58  (00:00)
root     console      Mon Jun 18 14:51 - 14:57  (00:06)
root     console      Mon Jun 18 14:50 - 14:50  (00:00)
root     console      Mon Jun 18 13:41 - 13:41  (00:00)
root     pts/ta       Mon Jun 18 13:12 - 15:28  (02:16)
root     console      Mon Jun 18 10:56 - 13:40  (02:44)
root     pts/ta       Mon Jun 18 10:41 - 13:12  (02:31)
root     pts/ta       Mon Jun 18 10:00 - 10:40  (00:40)
root     pts/ta       Mon Jun 18 09:59 - 10:00  (00:00)
root     pts/ta       Mon Jun 18 09:58 - 09:59  (00:00)
reboot   system boot  Fri Jun 15 18:54 - 15:28 (2+20:34)

WTMPS_FILE  begins at Fri Jun 15 18:54:10

root@rx233   [/root]
# last -R
root     pts/ta       59.29.224.128    Tue Jun 19 14:19   still logged in
user26   pts/tc       59.29.224.128    Tue Jun 19 14:11 - 14:18  (00:06)
user25   pts/tc       59.29.224.128    Tue Jun 19 13:51 - 13:53  (00:01)
user25   pts/tc       59.29.224.128    Tue Jun 19 13:50 - 13:50  (00:00)
root     pts/tb       59.29.224.128    Tue Jun 19 10:58   still logged in
root     pts/ta       59.29.224.128    Tue Jun 19 10:58 - 14:19  (03:21)
root     pts/tb       59.29.224.128    Tue Jun 19 09:58 - 10:58  (01:00)
root     pts/ta       59.29.224.128    Tue Jun 19 09:35 - 10:58  (01:23)
root     pts/ta       59.29.224.128    Mon Jun 18 16:16 - 09:34  (17:18)
root     pts/ta       59.29.224.128    Mon Jun 18 16:07 - 16:15  (00:08)
root     console                       Mon Jun 18 15:53 - 15:57  (00:03)
root     console                       Mon Jun 18 15:45 - 15:45  (00:00)
root     console                       Mon Jun 18 15:40 - 15:40  (00:00)
reboot   system boot                   Mon Jun 18 15:38   still logged in
root     console                       Mon Jun 18 15:32 - 15:35  (00:03)
reboot   system boot                   Mon Jun 18 15:28 - 15:38  (00:09)
root     console                       Mon Jun 18 15:16 - 15:19  (00:03)
root     console                       Mon Jun 18 14:57 - 14:58  (00:00)
root     console                       Mon Jun 18 14:51 - 14:57  (00:06)
root     console                       Mon Jun 18 14:50 - 14:50  (00:00)
root     console                       Mon Jun 18 13:41 - 13:41  (00:00)
root     pts/ta       59.29.224.128    Mon Jun 18 13:12 - 15:28  (02:16)
root     console                       Mon Jun 18 10:56 - 13:40  (02:44)
root     pts/ta       59.29.224.128    Mon Jun 18 10:41 - 13:12  (02:31)
root     pts/ta       59.29.224.128    Mon Jun 18 10:00 - 10:40  (00:40)
root     pts/ta       59.29.224.128    Mon Jun 18 09:59 - 10:00  (00:00)
root     pts/ta       59.29.224.128    Mon Jun 18 09:58 - 09:59  (00:00)
reboot   system boot                   Fri Jun 15 18:54 - 15:28 (2+20:34)

WTMPS_FILE  begins at Fri Jun 15 18:54:10

root@rx233   [/root]
# lastb
root     pts/ta       Tue Jun 19 14:19
          pts/tc       Tue Jun 19 14:03
 user25   pts/tc       Tue Jun 19 14:02
 user24   pts/tc       Tue Jun 19 14:02
 user25   pts/tc       Tue Jun 19 13:49
 rot      pts/ta       Mon Jun 18 16:07
  root    console      Mon Jun 18 15:31
 root     console      Mon Jun 18 14:57
 p        console      Mon Jun 18 14:50
 root     console      Mon Jun 18 14:50
 root     console      Mon Jun 18 14:50
 Admin    console      Mon Jun 18 13:41
 Admin    console      Mon Jun 18 13:40
 Admin    console      Mon Jun 18 13:40
 kk  root pts/ta       Mon Jun 18 09:58
 03   $?$ pts/ta       Mon Jun 18 09:58
 
BTMPS_FILE  begins at Mon Jun 18 09:58:21

root@rx233   [/root]
# lastb -R
root     pts/ta       59.29.224.128    Tue Jun 19 14:19
          pts/tc       localhost        Tue Jun 19 14:03
 user25   pts/tc       localhost        Tue Jun 19 14:02
 user24   pts/tc       localhost        Tue Jun 19 14:02
 user25   pts/tc       59.29.224.128    Tue Jun 19 13:49
 rot      pts/ta       59.29.224.128    Mon Jun 18 16:07
  root    console                       Mon Jun 18 15:31
 root     console                       Mon Jun 18 14:57
 p        console                       Mon Jun 18 14:50
 root     console                       Mon Jun 18 14:50
 root     console                       Mon Jun 18 14:50
 Admin    console                       Mon Jun 18 13:41
 Admin    console                       Mon Jun 18 13:40
 Admin    console                       Mon Jun 18 13:40
 kk  root pts/ta       59.29.224.128    Mon Jun 18 09:58
 03   $?$ pts/ta       59.29.224.128    Mon Jun 18 09:58
 
BTMPS_FILE  begins at Mon Jun 18 09:58:21

root@rx233   [/root]
# who
root       pts/ta       Jun 19 14:19
root       pts/tb       Jun 19 10:58

root@rx233   [/root]
# who -R
root       pts/ta       Jun 19 14:19  (59.29.224.128)
root       pts/tb       Jun 19 10:58  (59.29.224.128)

root@rx233   [/root]
# cd /var/adm

root@rx233   [/var/adm]
# ll wtmps
-rw-rw-r--   1 adm        adm         156480 Jun 19 14:19 wtmps

root@rx233   [/var/adm]
# file wtmps
wtmps:          data

root@rx233   [/var/adm]
# ll wtmp
-rw-rw-r--   1 adm        adm          10620 Jun 18 15:57 wtmp

root@rx233   [/var/adm]
# file wtmp
wtmp:           data

root@rx233   [/var/adm]
# cat wtmp
system bootO Brmems1 O Bshems2 O Brun-level 33SO Bshems2O Brmems1O Bvxenablevxen O BvxenablevxenO Bbcheckrcbrc1 O Bbcheckrcbrc1O Bcatcprt O BcatcprtO BrcsqncO  sb_postisbux    FO  old timeO  new timeO  sb_postisbux  O CgettyconsO CkrsdkrsdO CsfdsfO Cesmdesmd      O Ccimservecim1
O Cshems3
         O Cshems3
                 O Cp_clientems4O CiocdsfdcdsfO Cclu_dsf_cdinO CutildutilO Cclu_dsf_cdiO HrootconsconsolO檳:gettyconsconsoleH O檳:LOGINconsconsoleHO檳\gettyconsconsoleH O檳\rootconsconsoleHO檳sgettyconsconsoleH O檳sgettyconsconsoleHO些 gettyconsconsoleRO些 rootconsconsoleO些 gettyconsconsoleRDO些 rootconsconsoleRO伺GgettyconsconsoleSO伺GrootconsconsoleO伺mgettyconsconsoleS$O伺miocdsfdcds  O史iiocdsfdcdsfZ        O史iutilduti    O史iutildutilZ  O?ip_clientems O史isfds        O史ikrsdkrs     O史ip_clientems4Z
        O史isfdsfdZ
                        O史ikrsdkrsdZ
                                        O史iiocdsfdcdsfO史liocdsfdcdsfZO史lutildutilO史lp_clientems4Z
O史lkrsdkrsdZ
            O史lutildutilZO史lp_clientems4ZO史lkrsdkrsdZO史lsfdsfdZ
                                                                  O史lsfdsfdZO史liocdsfdcdsf    O史niocdsfdcdsfZ!       O史nutildutil   O史np_clientems4        O史nsfdsfd      O史nkrsdkrsd    O史nutildutilZ& O史np_clientems4Z(      O史nsfdsfdZ)    O史nkrsdkrsdZ*  O史niocdsfdcdsfZ        O史zp_clientems4Z       O史zcimservecim1
O史zkrsdkrsdZ   O史zsfdsfdZO史zutildutilZO史{rootconsconsoleSO史 fsdaemonfs02O史 esmdesmd      O史 system bootO唆 shems2 O唆 rmems1 O唆 rmems1O唆 shems2O唆 run-level 33SO唆 vxenablevxen O唆 vxenablevxenO唆 bcheckrcbrc1 O唆 bcheckrcbrc1O唆 catcprt O唆 catcprtO唆 rcsqncO唆 gettycon O唆 krsdkrs O唆 sfdsf O唆 esmdesm O唆 cimservecim O唆 shems O唆 shemsO唆 p_clientems O唆 iocdsfdcds O唆 clu_dsf_cdi O唆 utilduti O唆 clu_dsf_cdiO唆krsdkrs    O四
                                                                                                                                               krsdkrsdv    O四
         sfdsf        O四
                         sfdsfdw      O四
                                         utilduti     O四
krsdkrsdO四krsdkrsd O四iocdsfdcdsfO四p_clientems4O四iocdsfdcdsf O四p_clientems4 O四utildutilO四utildutil O四sfdsfdO四sfdsfd O四krsdkrsd O四krsdkrsd     O四utildutil    O四iocdsfdcdsf  O四p_clientems4 O四sfdsfd       O四utildutil    O四iocdsfdcdsf  O四p_clientems4         O四sfdsfd       O四iocdsfdcdsf  O四sfdsfdO四p_clientems4        O四cimservecimO四krsdkrsd       O四utildutilO四rootconsconsolO四(fsdaemonfs02O四(esmdesmO四(system bootO四 shems2 O四 rmems1 O四 shems2O四 run-level 33SO四 rmems1O四 vxenablevxen O四 vxenablevxenO四 bcheckrcbrc1 O四 bcheckrcbrc1O四 catcprt O四 catcprtO四 rcsqncO士8gettycon O士8krsdkrs O士8sfdsf O士8esmdesm O士8cimservecim O士8shems O士8shemsO士8p_clientems O士8iocdsfdcds O士8clu_dsf_cdi O士8utilduti O士8clu_dsfO寺Rgettyconsconsole O寺RNgettyconsconsole        "O士Nrootconsconsole    O奢 gettyconsconsole
root@rx233   [/var/adm]
#

root@rx233   [/var/adm]
# >wtmp

root@rx233   [/var/adm]
# ll wtmp 
-rw-rw-r--   1 adm        adm              0 Jun 19 14:33 wtmp

root@rx233   [/var/adm]
# strings wtmp

root@rx233   [/var/adm]
# strings /usr/bin/cp
Usage:  cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file
        cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_directory
        cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory
        cp -R[-H | -L | -P] [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target
        cp -r[-H | -L | -P] [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target
cp: cannot open
cp: cannot mknod
cp: cannot mkrnod
cp: cannot symlink
cp: cannot readlink
e:fiprRSHLP
e:fiprRSHLP
cp: %s: not a directory
cp: cannot create %s:
cp: cannot stat %s:
cp: cannot set the permission bits on %s:
cp: Warning: cannot cpacl to %s:
cp: cannot set the permission bits on %s:
cp: malloc failed:
cp: malloc failed:
cp: looping detected for %s:
cp: cannot access %s:
cp: %s: Operation not supported on socket
cp: %s: is a directory.  Need "-R" option.
cp: %s and %s are identical
cp: %s/%s: Name too long
cp: %s and %s are identical
cp: %s: Not a directory.
cp: cannot set the permission bits on %s:
cp: cannot access %s:
cp: cannot access %s:
cp: utime failed %s:
cp: cannot set the permission bits on %s:
cp: Warning: cannot cpacl to %s:
cp: cannot set the permission bits on %s:
cp: chown failed %s:
cp: utime failed %s:
cp: cannot set the permission bits on %s:
cp: chown failed %s:
warning: skipped socket: %s
cp: couldn't unlink %s:
link failed:
cp: cannot access %s:
cp: cannot access %s:
cp: cannot preserve extent attributes - file %s not copied.
overwrite %s?
cp: couldn't unlink %s:
cp: cannot create %s:
cp: cannot access %s:
cp: couldn't unlink %s:
cp: %s copied without extent attributes.
cp: cannot preserve extent attributes - file %s not copied.
cp: couldn't unlink %s:
cp: bad copy to %s:
cp: couldn't unlink %s:
cp: cannot close %s:
cp: utime failed %s:
cp: cannot access %s:
cp: Warning: cannot cpacl to %s:
cp: cannot set the permission bits on %s:
cp: cannot set the permission bits on %s:
cp: cannot set the permission bits on %s:
cp: chown failed %s:
cp: Warning: cannot cpacl to %s:
cp: cannot set the permission bits on %s:
cp: %s/%s: Name too long.
cp: %s copied without extent attributes.
cp: cannot preserve extent attributes - file %s not copied.
cp: couldn't unlink %s:
(%s/%s)
         $()*+-.[\]^{|}
warn
force
ignore
cp:
%s%s
%s/%s
cp:
vxfs
vxfs
vxfs
read
write
%s/%s

root@rx233   [/var/adm]
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk2_p2

root@rx233   [/var/adm]
# file /etc/lvmtab
/etc/lvmtab:    data

root@rx233   [/var/adm]