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…

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…

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"…

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….

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…

Read More

How to enable sudo on Debian 7.0 with the visudo command.

The visudo command is used on Linux systems to edit the /etc/sudoers file; this ensures that there are no errors before the changes are written to the actual file. As you can see below; I have added my user homer to the sudoers file. This allows me to run commands…

Read More