Setting up the normal user account on Debian GNU/Linux to use sudo.

Setting up the normal user account on Debian GNU/Linux to use sudo Setting up your normal user account on Debian to use the sudo command instead of the su command is very simple. This is the contents of my /etc/sudoers file. This line: neo ALL=(ALL:ALL) ALLneo ALL=(ALL:ALL) ALL Is the one that defines our normal … Read more

How to enable sudo on your Linux system with the visudo command.

The visudo command for Linux allows a user to edit the sudoers file and change permissions for users on the system. Open the sudoers file this way. NEVER edit it with a standard text editor. ┌─[jason@neo]─[~] └──╼ $su Password: root@neo:/home/jason# visudo┌─[jason@neo]─[~] └──╼ $su Password: root@neo:/home/jason# visudo This is the result of my editing. I have … Read more

How to set an IP address for a VLAN on a Cisco 2960G switch.

To set an IP address on a VLAN on a Cisco switch, firstly access the configuration section for the VLAN in configuration mode. arya(config)#interface vlan 1arya(config)#interface vlan 1 Then the administrator may set an IP address for the VLAN. arya(config-if)#ip address 172.18.31.210 255.255.255.0arya(config-if)#ip address 172.18.31.210 255.255.255.0 Then you are all set. To save the running … Read more

How I got Xorg mouse and keyboard working on FreeBSD 10

I recently installed FreeBSD 10 in VMware and I had problems getting the mouse and keyboard to work with Xorg. I solved this in the following manner. I added these four lines to my /etc/rc.conf file. moused_enable="NO" moused_nondefault_enable="NO" hald_enable="YES" dbus_enable="YES"moused_enable="NO" moused_nondefault_enable="NO" hald_enable="YES" dbus_enable="YES" The /etc/rc.conf file looks like this. hostname="deusexmachina" ifconfig_em0="DHCP" ifconfig_em0_ipv6="inet6 accept_rtadv" sshd_enable="YES" # … Read more

How to enable the HTTP proxy in OpenSuse 12.3.

See the original page here: this is how to add a http proxy to OpenSUSE so that the zypper command will work correctly: http://www.securitronlinux.com/opensuse-12-3-tips-and-tricks-for-using-your-new-linux-system/#proxy. Just add these lines to the /etc/sysconfig/proxy and then save and you should now be able to install software packages through the proxy with no problems. PROXY_ENABLED="yes"   ## Type: string … Read more

How to enable LLVM rendering in Unity on Linux Mint and Ubuntu.

The Unity desktop in Ubuntu 13.04 supports a different rendering mode that will increase performance on lower specced machines. To enable this, enter the command below to create an empty file in the /etc/X11/Xsession.d directory. sudo touch /etc/X11/Xsession.d/99force-llvmsudo touch /etc/X11/Xsession.d/99force-llvm Then type sudo vim.tiny /etc/X11/Xsession.d/99force-llvm and enter this text. export UNITY_LOW_GFX_MODE=1export UNITY_LOW_GFX_MODE=1 Then press ESC … Read more