Tag:
sudo

Allow sudo access without passwords in Ubuntu

by
Ryan
on
November 21, 2008

To give a specific user access to sudo without having to enter a password you have to edit the /etc/sudoers configuration file. For security reasons you should only edit the file using the visudo command.

$ sudo visudo

In Ubuntu the following lines are placed at the bottom of /etc/sudoers by default. This gives your default [...]

Read More
No Comments
ubuntu

Disable ext3 boot-time check with tune2fs

by
Ryan
on
October 26, 2008

The ext3 file system forces an fsck once it has been mounted a certain number of times. By default this maximum mount count is usually set between 20-30. On many systems such as laptops which can be rebooted quite often this can quickly become a problem. To turn off this checking you can use [...]

Read More
1 Comment
system administration

List all open files with lsof

by
Ryan
on
October 24, 2008

The lsof command stands for “list open files”. It can show all open files as well as sockets, memory mapped libraries, directories, pipes, and network sockets. It is an incredibly powerful tool which you can use to gather detailed information about what is happening on your system.
If you run lsof as a normal user [...]

Read More
No Comments
commands

Update your entire Gentoo Linux system

by
Ryan
on
October 10, 2008

Gentoo Portage makes it fairly easy to update all the installed packages on your system. The emerge and revdep-rebuild tools are powerful and make the process of recompiling everything much less painful than it sounds.
The emerge and revdep-rebuild commands require root privileges so switch to root or use sudo.
The first step is to synchronize your [...]

Read More
No Comments
gentoo

Submit commands as root with sudo

by
Ryan
on
October 1, 2008

Among the most valuable tools at a Linux administrators disposal is sudo. It lets ordinary users temporarily submit commands as root or another user.
To use use this command simply put sudo before any command you want to run with root permissions.

sudo command

To submit commands as another user use the ‘-u‘ option and the username. [...]

Read More
No Comments
commands
Copyright 2008-2010 WiredRevolution.com. All rights reserved.