Connect Accounting Utilities Here is a list of commands you can use to get data about user logins: who Shows a listing of currently logged-in users. w Shows who is logged on and what they are doing. last Shows a list of last logged-in users, including login time, logout time, login IP address, etc. lastb Same as last, except that by default it shows a log of the file /var/log/btmp , which contains all the bad login attempts. lastlog This command reports data maintained in /var/log/lastlog , which is a record of the last time a user logged in. ac Prints out the connect time in hours on a per-user basis or daily basis etc. This command reads /var/log/wtmp . dump-utmp Converts raw data from /var/run/utmp or /var/log/wtmp into ASCII-parsable format.
Creating a ssh key no password SSH login without password Password -less logins with OpenSSH How to set up ssh so you aren't asked for a password showcase: pc1: your pc pc2: remote server 1. In the local pc1 run ssh-keygen then.. in the same local pc1 run the next following commando cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat >> ~/.ssh/authorized_keys"
Please subscribe to my site www.jamesjara.com to get more tutorials. INSTALLING HADOOP IN centos 6 INSTALLING HIVE IN centos 6 INSTALLING DERBY IN centos 6 hadoop-0.20.203.0rc1 this is the guide for the installation of Hadoop ecosystem, is very extended so please follow step by step ====INSTALLATION===== 1. Installing java yum install sun-java6-jdk 2.Adding a dedicated user for hadoop This will add the user hdoopuser and the group hdoopgroup to your local machine. /usr/sbin/useradd hdoopuser groupadd hdoopgroup usermod -a -G hdoopgroup hdoopuser 3.Configuring SSH su - hdoopuser #login as hdoopuser ssh-keygen -t rsa -P "" #generate key without password cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys #enable the new key chmod 0600 $HOME/.ssh/authorized_keys #enable empty password 4.Disabling IPv6 sed -i 's/^\(NETWORKING\s*=\s*\).*$/\NETWORKING=NO/' /etc/sysconfig/network 5.Installation/Conf/startup
instalar audio y video en linux yum install audacious*, mplayer, mplayer-gui, xine, xine-lib-extras-nonfree, xmms*, amarok, smplayer, smplayer-themes, moc, easytag, grip
rpm -qa rpm_name y si usted no sabe el nombre exacto puede buscarlo con ejemplo: s hotrod-1.0-1.i386.rpm rpm -qa | grep hotrod this will list out all the installed rpm's.
create a tar file tar –cvf myfiles.tar mydir/ (add z if you are dealing with or creating .tgz (.tar.gz) files) agregue z si ud esta trabajando o creando TGZ tar.gz files
BTW, if you’re wondering how many libraries are still missing, run this command: $ ldd ./skype | grep 'not found' libXrender.so.1 => not found libXrandr.so.2 => not found libfreetype.so.6 => not found libfontconfig.so.1 => not found libz.so.1 => not found libgthread-2.0.so.0 => not found libglib-2.0.so.0 => not found libstdc++.so.6 => not found libgcc_s.so.1 => not found