logged sudo use
/var/log/secure
/var/log/secure
$ echo $HISTFILE $HISTSIZE $HISTFILESIZE/home/user/.bash_history 1000 1000 List previous number of history commands$ history 5 1033 sudo yum update 1034 echo $HISTFILE $HISTSIZE $HISTFILESIZE 1035 history 1036 echo $HISTFILE $HISTSIZE $HISTFILESIZE 1037 history 5 Ctrl + r to search a string history
$yum list available $yum list installed $yum list extras $yum list *vorbis* $yum list updates $yum info wordpress $yum info word* $yum search mp3 $yum whatprovides ogg123 $ yum grouplist
Command and Sample Output :: Description Show the first mount command in PATH:$ type mountmount is /bin/mount Show binary source, and man pages for mount:$ whereis mountmount: /bin/mount /sbin/mount.cifs /sbin/mount.nfs /sbin/mount.nfs4 /usr/share/man/man2/mount.2.gz /usr/share/man/man8/mount.8.gz Find bash.ps anywhere in the file system$ locate bash.ps/usr/share/doc/bash-3.1/bash.ps/usr/share/doc/bash-3.1/rbash.ps Find the umount command anywhere in your PATH or aliases$ which umount/bin/umount Find… Leer más »
Introduction To update the system applying the most recent corrective patches of security and to the operating system is not as difficult as many do not suppose, nor either must be a hell of dependencies between packages RPM as some others argue. The reality of the things is that it is much very simple and… Leer más »
https://bugzilla.redhat.com/show_bug.cgi?id=432251 http://www.milw0rm.com/exploits/5092http://www.milw0rm.com/exploits/5093 Linux Kernel 2.6.23 – 2.6.24 vmsplice Local Root Exploit 5444 R D qaaz 2008-02-09 Linux Kernel 2.6.17 – 2.6.24.1 vmsplice Local Root Exploit 21538 R D qaaz [usuario@svca cpp]$ lsexploit exploit.c[usuario@svca cpp]$ uname -aLinux svca 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20 EST 2008 i686 i686 i386 GNU/Linux[usuario@svca cpp]$ whoami usuario[usuario@svca cpp]$ ./exploit… Leer más »
Linux Serial Port The /dev/ttyS0 device, if configured, provides the ability to obtain serial tty sessions via the iLO Remote Serial Console. The Linux system must be configured correctly in order to obtain this support. Please refer to your specific Linux system implementation for appropriate commands. Some general guidelines are described below:
Q. How do enable console redirection in the BIOS Console redirection? It will allow me to see my remote dedicate server boot information and any diagnostic information that is normally printed to the screen. I’ve already enabled serial ports in my server BIOS and wired them up. Now how do I configure and access Linux… Leer más »
The following steps can be used to ssh from one system to another without specifying a password. Notes:
http://www.alcancelibre.org/staticpages/index.php/al-desktop create a al.repo on /etc/yum.repos.d with: [al] name = Red Hat Enterprise $releasever baseurl = http://www.alcancelibre.org/al/el/5/ enabled = 1 gpgcheck = 0 Then run: yum install amarok