I was thinking a lot to safe guard my Linux . Q: How to disable the guest user login ? $sudo /usr/lib/lightdm/lightdm-set-defaults -l false $sudo restart lightdm Q : How to Enable teh guest user login ? $sudo /usr/lib/lightdm/lightdm-set-defaults -l true $sudo restart lightdm
Category Archives: Linux
How to enable hibernate your ubuntu 12.04 ? Hibernation is the feature to turn off your computer temporarily to save power and battery life.But , In Ubuntu 12.04, the feature of hibernation is disabled by default . you can re enable it easily. Run the below command on terminal as root: root@kartook:/home/kartook# pm-hibernate […]
Install VSFTPD with CentOS $yum install vsftpd Turn on vsftpd auto start with $chkconfig –level 235 vsftpd on Open vsftpd.conf $nano /etc/vsftpd/vsftpd.conf Now Add all this lines below the vsftpd.conf anonymous_enable=NO chroot_local_user=YES listen_port=XXXXX ( Port should be above 1024 ) Restart vsftpd with service vsftpd restart. $service vsftpd restart
How To Install Asterisk1.6.2 On CentOS 5 Install dependencies: # yum -y install kernel-devel bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++ make libxml2-devel Download Asterisk and DAHDI: # wget https://launchpad.net/asterisk/1.6.2/1.6.2.24/+download/asterisk-1.6.2.24.tar.gz && wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz Extract Asterisk and DAHDI: # tar -xvzf asterisk-1.6.2.24.tar.gz && tar -xvzf dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz Build DAHDI: # cd […]
The nl command adds line numbers to its input, so you can pipe the output of ping to nl. Example : ping -c3 kartook.com | nl Ping = Command C3 = How many packets need to send kartook.com = which destination you want to ping | = Pipe ( interconnection between ping and […]
Stop ssh attacks with fail2ban in CentOS Every server on the web is subject to frequent breaking attempts, and when there are services running on default ports like 22 for ssh it becomes even more common. However, using a simple tool freely available called fail2ban we can easily keep those intruders out of our […]
One of the common knocks against Apple’s iPad is its keyboard. The entire premise of the iPad is its large, Multi-Touch keyboard, but some call the feature a roadblock to content creation. Wepreviously profiled a slim, convenient Logitech keyboard that will “kickstart your your transition from consumption to creation” on the iPad. Over the […]
RHEL 6 was officially released in November of 2010, and with Red Hat Enterprise Linux receiving a major update approximately every two years, RHEL 7 is due to be released sometime in 2013. Tim Burke, vice-president of Linux Engineering at Red Hat, noted that key themes for RHEL 7 will include data center operational […]
Change MAC Address in Linux # ifconfig [interface name] down # ifconfig [interface name] hw ether [new MAC address] # ifconfig [interface name] up Example: # ifconfig eth0 down # ifconfig eth0 hw ether 1A:2B:3C:4F:5E:9F # ifconfig eth0 up