Sei sulla pagina 1di 17

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

date 20120421054200 date 0421054200 date 04212012054200 date 0421054200 date 042105422012 tail -f /var/log/messages | grep cron date vim /etc/cron.d/b _sip service crond restart tail -f /var/log/messages | grep cron date tail -f /var/log/messages | grep cron tail -f /var/log/messages vim /etc/cron.d/b _sip service crond restart date ll vim dumpdatabase_sip.sh date vim /etc/cron.d/b _sip service crond restart date cd /opt/sybase/bac up/ ls clear ls date ls ll clear ls pwd cd .. ls -ld bac up/ pwd ls -ld tareas/ chown -R sybase.sybase tareas/ chown -R sybase.sybase bac up/ ls -ld tareas/ ls -ld bac up/ vim /etc/cron.d/b _sip service crond restart date ls cd bac up/ ls clear ls date ls ll cd .. cd tareas/ ls ll su sybase su - sybase vim /opt/sybase/interfaces vim /home/migracion/ORION15.0.3 vim /opt/sybase/interfaces

63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122

su - sybase m dir /home/migracion ls cd /home/migracion/ ls unzip ORION15.0.3.zip LS ll cd ORION15.0.3 LS ls vim readme.txt cd /home/migracion/ORION15.0.3/shellscripts/ tail - f orion.log tail -f orion.log vim orion.log iptables -F vim orion.log vim orion2.log vim orion.log ll vim migrateorion.sh su - sybase netstat -nl | grep 500 cd /opt/sybase/ASE-15_0/install/ ./showserver su - sybase vim /etc/rc.local ill 3316 ./showserver sh /etc/rc.local vim /opt/sybase/ASE-15_0/install/aquiles_sip.log ls /opt/sybase/SYSAM-2_0/licenses su - sybase reboot /opt/sybase/ASE-15_0/install/showserver netstat -nl | grep 500 netstat -an | grep 500 netstat -l | grep 500 netstat -a | grep 500 netstat -n | grep 500 netstat -na | grep 500 netstat -nl | grep 500 vim /opt/sybase/ASE-15_0/install/aquiles_sip.log vim /opt/sybase/ASE-15_0/install/aquiles_tramite.log iptables -F exit passwd root clear ntsysv clear netstat -nl | more ntsysv clear ls df -h clear exit cd df -h

123 top 124 clear 125 cd 126 ls 127 vim /etc/samba/smb.conf 128 rm -rf /etc/samba/smb.conf 129 vim /etc/samba/smb.conf 130 vim /etc/ rb5.conf 131 authconfig-tui 132 cd 133 wget http://info.inpe.gob.pe/RHEL6.2/Pac ages/nscd-2.12-1.47.el6.x86_64.r pm 134 nsloo up info.inpe.gob.p 135 nsloo up info.inpe.gob.pe 136 vim /etc/resolv.conf 137 wget http://10.4.0.15/RHEL6.2/Pac ages/nscd-2.12-1.47.el6.x86_64.rpm 138 ls 139 rpm -ivh nscd-2.12-1.47.el6.x86_64.rpm 140 clear 141 authconfig-tui 142 cd 143 ls 144 vim /etc/ rb5.conf 145 init jespejo 146 nsloo up www.google.com 147 vim /etc/sysconfig/networ -scripts/ifcfg-eth0 148 vim /etc/resolv.conf 149 nsloo up www.google.com 150 clear 151 vim /etc/sysconfig/networ -scripts/ifcfg-eth0 152 vim /etc/sysconfig/networ -scripts/ifcfg-eth0:1 153 nsloo up www.google.com 154 init jespejo 155 list 156 destroy 157 cd 158 clear 159 service smb start 160 rpm -qa | grep samba 161 wget http://info.inpe.gob.pe/RHEL6.2/Pac ages/samba-3.5.10-114.el6.x86_64 .rpm 162 rpm -ivh http://info.inpe.gob.pe/RHEL6.2/Pac ages/samba-3.5.10-114.el6.x8 6_64.rpm 163 vim /etc/samba/smb.conf 164 service smb restart 165 service smb winbind restart 166 service winbind restart 167 wget passwd 168 clear 169 updatedb 170 locate winbind 171 locate wbinfo 172 rpm -qa | grep samba 173 wbinfo 174 getent passwd 175 clear 176 ls 177 rpm -qa | grep samba 178 locate winbind 179 exit

180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239

tcpdump -n -i eth0 host 10.4.1.126 tcpdump -n -i eth0 host 10.4.0.9 exit free -m clear df -h tcpdump -n -i eth0 host '10.1.72.97' tcpdump -n -i eth0 host '10.1.72.98' df -h clear cd ls su - sybase tcpdump -n -i eth0 port 5000 clear ls top clear ls reboot eclear top netstat -nl | grep 500 tcpdump -n -i eth0 host 10.1.72.95 tcpdump -n -i eth0 host '10.1.72.97' iptables -F iptables -X iptables -Z iptables -t nat -F tcpdump -n -i eth0 host '10.1.72.97' tcpdump -n -i eth0 host '10.1.72.95' clear free -m clear cd ls cat /proc/cpuinfo cat /proc/cpuinfo | more qclear clear cd ls cd exit vim /etc/rc.local clear netstat -nl | more clear exit netstat -na | grep 500 netstat -n | grep 500 netstat | grep 500 netstat -ml | grep 500 netstat --ao | grep 500 netstat -ao | grep 500 netstat -l | grep 500 netstat -al | grep 500 netstat -na | grep 500 clear exit

240 241 242 243 244 or 245 ore 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297

more tail more more more

/opt/sybase/ASE-15_0/install/aquiles_sip.log -n1000 /opt/sybase/ASE-15_0/install/aquiles_sip.log | more /opt/sybase/ASE-15_0/install/aquiles_sip.log /opt/sybase/ASE-15_0/install/aquiles_sip.log | grep "2012/04/23" /opt/sybase/ASE-15_0/install/aquiles_sip.log | grep "2012/04/23" | m

more /opt/sybase/ASE-15_0/install/aquiles_sip.log | grep "2012/04/23" | m cd /opt/sybase/bac up/ ls clear du -sh * su - sybase cd /etc/cron ls cd /etc/cron.d ls cat b _sip ls rm -rf b _sip ls cd ls df -h clear cd ls clear cd ls uname -r cat /etc/redhat-release rpm -qa | grep samba getent passwd init jespejo vim /etc/resolv.conf init jespejo list exit vim /etc/ip_monitor vim /etc/ip_sybase vim /etc/ip_monitor vim /etc/ip_sybase tcpdump -n -i eth0 host 10.4.0.6 clear exit clear cd ls fdis -l free -m cat /proc/cpuinfo | more cd /opt/sybase/ASE-15_0/install/ ls cd .. cd . cd .. cd data/ ls du -sh *

298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357

pwd cd .. du -sh data/ cd ls ifconfig vim /etc/pam.d/login cat /etc/motd cat /etc/banner/mensaje.txt >> /etc/motd last who w clear w show who w lastb clear lastb lastlog ac netstat -tulp netstat -ulp netstat -tlp netstat -tulp netstat -tup netstat -tulp netstat -tul netstat -tulp netstat -tup netstat -tup | wc -l vim /etc/inittab vim /etc/init/control-alt-delete.conf clear vim /etc/bash vim /etc/bashrc echo $TMOUT tail -f /var/log/messages vim /etc/bashrc clear exit cd ls list destroy clear wbinfo rpm -qa | grep samba rpm -qf samba-winbind-clients rpm -ql samba-winbind-clients rpm -qa | grep samba clear ls rpm -qa | grep samba loate wbin locate wbinfo getent passwd clear passwd root

358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417

rpm -qa | grep winbind rpm -qa | grep samba clear rpm -qa | grep samba cd ls rpm -ivh samba-winbind-3.5.10-114.el6.x86_64.rpm clear wbinfo -g service smb restart service winbind restart cd ls vim /etc/samba/smb.conf cd /var/lib/samba/ ls ls -ld winbindd_ ll authconfig-tui vim /etc/hosts net ads joint -S leonidas -U administrador net ads join -S leonidas -U administrador service smb restart service wimbind restart service winbind restart clear ch config smb on ch config winbind on cd ll wbinfo -g wbinfo -u clear passwd root vim /etc/hosts.allow vim /etc/hosts.deny clear vim /etc/rc.firewall clear vim /etc/rc.firewall sh /etc/rc.firewall vim /etc/rc.firewall ifconfig vim /etc/rc.firewall sh /etc/r.cf sh /etc/rc.firewall sh /etc/r.cf vim /etc/rc.firewall sh /etc/r.cf sh /etc/rc.firewall vim /etc/rc.firewall sh /etc/rc.firewall vim /etc/rc.firewall sh /etc/rc.firewall vim /etc/rc.firewall clear sh /etc/rc.firewall vim /etc/rc.firewall sh /etc/rc.firewall iptables -L

418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477

clear ls vim /etc/rc.firewall sh /etc/rc.firewall clear vim /etc/hosts.allow vim /etc/ssh/sshd_config vim /etc/banner/mensaje.txt m dir /etc/banner vim /etc/banner/mensaje.txt clear vim /etc/ssh/sshd_config vim /etc/pam.d/system-auth clear service sshd restart vim /etc/pam.d/system-auth ls -ld /lib/security/$ISA/pam_m homedir.so locate pam_m homedir vim /etc/pam.d/system-auth service sshd restart vim /etc/pam.d/system-auth ls -ld /lib64/security/pam_m homedir.so clear vim /etc/pam.d/system-auth updatedb locate pam_m homedir.so vim /etc/pam.d/system-auth ls cd ls service smb restart service winbind restart wbinfo -g wbinfo -u vim /etc/pam.d/system-auth vim /etc/rc.firewall vim /etc/ip_sybase sh /etc/rc.firewall vim /etc/rc.firewall sh /etc/rc.firewall clear cd ls vim /etc/sudoers vim /etc/pam.d/system-auth vim /etc/ssh/sshd_config service smb restart service winbind restart id demo cd /var/lib/samba/ ls clear ls rm -rf * service smb restart ls service winbind restart ls ll getent passwd

478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537

authconfig-tui ll ls getent passwd -l getent passwd service winbind restart ls l ll cd .. ls cd /var/lib/samba/ ls cd /var/spool/samba/ ls ll cd /var/lib/samba/ ls clear ll service smb restart ls service smb stop service smb start service smb restart tail -f /var/log/messages cd ls rpm -e samba rpm -ivh samba-3.5.10-114.el6.x86_64.rpm cd /var/lib/samba/ ls service smb restart rpm -qa | grep samba clear rpm -qa | grep samba rpm -e samba-client rpm -e samba-winbindrpm -e samba-winbind rpm -e samba-winbind-clients rpm -e samba-common rpm -e samba-winbind-clients rpm -e samba rpm -e samba-winbind-clients rpm -e libsmbclient vim /etc/ssh/sshd_config service sshd restart vim /etc/ssh/sshd_config service sshd restart cd ls m dir samba cd samba ls rpm -ivh * rpm -qa | grep samba rpm -ivh samba-3.5.10-114.el6.x86_64.rpm rpm -ivh samba-common-3.5.10-114.el6.x86_64.rpm rpm -ivh samba-3.5.10-114.el6.x86_64.rpm rpm -ivh samba-client-3.5.10-114.el6.x86_64.rpm

538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597

rpm -ivh samba-winbind-clients-3.5.10-114.el6.x86_64.rpm rpm -ivh samba-winbind-3.5.10-114.el6.x86_64.rpm rpm -qa | grep samba cd /var/lib/samba/ ls clear service smb restart cd /etc/samba/ ls cat smb cat smb.conf rm -rf smb.conf mv smb.conf.rpmsave smb.conf service smb restart service winbind restart clear net ads joint -S leonidas -U administrador net ads join -S leonidas -U administrador init jespejo destroy net ads join -S leonidas -U administrador clear service smb restart service winbind restart getent passwd wbinfo -g wbinfo -u vim /etc/ssh/sshd_config servhce sshd restart service sshd restart ch config sshd on ch config smb on ch config winbind on clear cd ls id demo cd ls vim /etc/sudoers locate cd locate cd | grep "cd" locate cd | more /sbin/cd ls -ld /opt/ ls -ld /opt/sybase/ cd /opt/sybase/ ls ll vim /etc/sudoers ls cd .. ls clear ll chown sybase.grp_dba sybase ll cd sybase/ ls ll

598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657

e ll cd ls m dir demo chmod 760 demo/ ls -ld demo/ chmod 750 demo/ ls -ld demo/ chmod 750 /opt/sybase/ ls /opt/sybase/ ls -ld /opt/sybase/ clear cd ls vim /etc/s el/.bash_profile ls -ld /bin/su clear cd ls cd /opt/sybase/ ls -ld bac up/ chown sybase.grp_dba bac up/ chmod -R 770 bac up/ chown -R sybase.grp_dba bac up/ ls -ld bac up/ cd bac up/ ls ll clear cd ls vim /home/lsanchez/.bash_profile cat /opt/sybase/.bash_profile >> /home/lsanchez/.bash_profile vim /home/lsanchez/.bash_profile clear exit clear cd netstat -nl | grep 500 exit service smb stats service smb status service winbind status wbing -g wbinfo -g authconfig-tui wbinfo -g wbinfo -u clear service winbind restart service smb restart wbinfo -g wbinfo -u ifconfig init jespejo list destroy clear ls

658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717

vim /etc/rc.firewall nsloo up www.google.cm nsloo up www.google.com iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWRD ACCEPT iptables -P FORWARD ACCEPT nsloo up www.google.com vim /etc/resolv.conf nsloo up www.google.com clear service smb restart service winbind restart wbinfo -g wbinfo -u clear sh /etc/rc.firewall cd wbinfo -u exit wbinfo -h wbinfo -g vim /etc/resolv.conf vim /etc/sysconfig/networ -scripts/ifcfg-eth0 nsloo up www.google.com vim /etc/resolv.conf nsloo up www.google.com wbinfo -g service smb restart service winbind restart clear wbinfo -g wbinfo -u clear cd exit cd clear m dir /home/migracion/monitoreo cd /home/migracion/monitoreo vim mon.sql vim mon2.sql pwd ls -ld /home/migracion/monitoreo chown sybase.root /home/migracion/monitoreo ls -ld /home/migracion/monitoreo su sybase ls chown sybase.root * ls ll vim exec.sh ll vim exec.sh pwd vim exec.sh ll chown sybase.root * chmod 770 exec.sh ll

718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777

su - sybase su - sybase ill -9 3506 cd ps -A | grep vim ps -aux | grep vim lsof lsof | grep vim lsof | grep vim ill -9 16260 cd /home/migracion/ ls cd monitoreo/ ls clear ll chmod 770 exectruncate.sh ll clear history | grep vim history | grep vim | more vim /etc/bashrc clear exit ifconfig service sshd restart vim /etc/ssh/sshd_config service sshd restart clear exit wbinfo -g wbinfo -u service smb status init jespejo ls net time set net time -s ares net time -S leonidas init jespejo ntpdate -s leonidas init jespejo destroy crontab -e clear service crond restart ls df -h cd /opt/ ls cd sybase/ ls cd bac up/ ls clear ls du -sh * clear cd ls cd /home/migracion/

778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837

ls cd respaldo ls clear ls cd files/ ls cd .. ls cd TRAMITE15.0.3 ls cd .. ls cd ls cd /home/migracion/ ls clear ls cd respaldo ls cd files/ ls cd ls clear ls cd /opt/ ls cd install/ ls clear ls exit clear cd /opt/sybase/bac up/ ls crontab -l cd ls exit cd cd /home/migracion/ ls cd TRAMITE15.0.3 ls cd .. ls cd .. ls ls cd data/ ls cd .. ls cd migracion/ ls ls respaldo ls respaldo/files/ ls TRAMITE15.0.3

838 ls 839 cd .. 840 ls 841 ls data/ 842 cd 843 ls 844 cd /opt/ 845 ls 846 ls install/ 847 exit 848 cd /opt/sybase/ 849 ls 850 cd data/ 851 ls 852 pwd 853 du -sh * 854 cd 855 ls 856 cd /opt/sybase/data/ 857 ls 858 cd .. 859 du -sh data 860 cd 861 cd /opt/sybase/ 862 ls 863 clear 864 ls 865 cd ASE-15_0/ 866 ls 867 cd /opt/sybase/ASE-15_0/ 868 ls 869 clear 870 ls 871 cd install/ 872 ls 873 vim RUN_aquiles_sip 874 vim /opt/sybase/ASE-15_0/aquiles_sip.cfg 875 clear 876 ls 877 tail -n5000 aquiles_sip.log 878 tail -n5000 aquiles_sip.log | more 879 tail -n5000 aquiles_sip.log | grep "00110-18" 880 tail -n50000 aquiles_sip.log | grep "00110-18" 881 cat aquiles_sip.log | grep "00110-18" 882 tail -n50000 aquiles_sip.log 883 tail -n50000 aquiles_sip.log | grep "2012/05/30" 884 tail -n50000 aquiles_sip.log | grep "2012/05/30" | more 885 vim /etc/sysctl.conf 886 ulimit -a 887 clear 888 ulimit -a 889 vim /etc/sysctl.conf 890 updatedb 891 ls 892 cat RUN_aquiles_sip 893 vim /opt/sybase/ASE-15_0/aquiles_sip.cfg 894 cp /opt/sybase/ASE-15_0/aquiles_sip.cfg /opt/sybase/ASE-15_0/aquiles_sip. cfg.31may2012 895 vim /opt/sybase/ASE-15_0/aquiles_sip.cfg 896 clear

897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956

cd ls clear su - jespejo exit service smb restart service winbind restart wbinfo -g ntpdate -s leonidas wbinfo -g authconfig-tu authconfig-tui wbinfo -g wbinfo -u service smb restart wbinfo -u wbinfo winbind restart wbinfo -g wbinfo -u clear service winbind restart service smb restart clear wbinfo -g wbinfo -u wbinfo -g init jespejo destroy ls clear ls wbinfo -h wbinfo -g wbinfo -u authconfig-tui wbinfo .g wbinfo -g wbinfo -u cd /var/lib/samba/ ls clear ls ll cd winbindd_ cd winbindd_privileged/ s clear ls cd .. ls cd samba/ ls cd ls cd /var/lib/samba/ ls m dir /tmp/win mv * /tmp/win/ ls service smb restart

957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002

ls service winbind restart ls wbinfo -g wbinfo -u nsloo up www.google.com ls rm -rf * ls cp -a -v -r /tmp/win/* ./ ls clear service smb restart service winbind restart wbinfo -g wbinfo -u clear vim /etc/resolv.conf nsloo up www.google.com wbinfo -g service smb restart service winbind restart wbinfo -g wbinfo -u clear wbinfo -u cd exit vim /etc/sysconfig/networ -scripts/ifcfg-eth0 cat /etc/resolv.conf vim /etc/sysconfig/networ ing/profiles/default/ clear cd ls exit exit whoami exit whoami vim /etc/sysconfig/networ ing/profiles/default/ history clear history exit history history > /home/jpaja/comandos.txt

Potrebbero piacerti anche