How to allow users to connect only to the ftp

Sometimes you need to give ftp access to a user, but forbid him to login the system. The easiest way to do that is to make /usr/sbin/nologin the user’s default shell, on Debian based systems, and /sbin/nologin on Fedora distros.

How to move and rename files in Linux with mv

Mv can both rename and move files. It is a powerfull generical command, working on all GNU-unixes. In this article I will teach you how to move and rename files and folders, with practical examples: How to rename files (and

How to upgrade from Fedora 16 to Fedora 17

You can easily upgrade from Fedora 16 to Fedora 17. And when I say easy, I mean two commands easy: As root: # yum install preupgrade # preupgrade The preupgrader will fetch the packages needed for the upgrade to Fedora

How to install, upgrade and remove packages with rpm

RPM stands for Red Hat Package Manager. Fedora, openSUSE or Mandrake are all rpm based packages. rpm is used for installing .rpm packages, displaying package info or uninstalling packages. In this article I will show you how to use the

How to permanently disable the Xorg Beep in Linux

The annoying Xorg beep can be disabled permanently. You only need to remove pcspkr from the kernel and add it in the blacklist: Remove pcspkr from kernel: $ sudo modprobe -r pcspkr Blacklist the pcspkr: Adding the pcspkr to blacklist

How to use the yum package manager like a Ninja

Yum (yellowdog update modifier) is the main package manager for Fedora. It downloads the binaries, installs the package and fixes the dependencies. Yum uses rpm (in background) to install packages. 1. How to install packages with yum: yum install packagename

How to give passwordless root priviledges to a normal user

To give root priviledges to a normal user, you need to edit the /etc/sudoers file. Do not edit the /etc/sudoers file by hand, because you may damage it. Use visudo. visudo opens the /etc/sudoers file in the default text editor.

How to give a normal user shutdown and reboot access on a Linux station

Sometimes you may need to allow a normal user to shutdown or reboot the system. You can do that easily, by adding a line in /etc/sudoers. The allowed user will get root priviledges only for the shutdown and reboot commands.

How to schedule your Unix / Linux system to shutdown or reboot

In Linux, only the superuser is allowed to shutdown or reboot the system, unless some special settings have been made. How to shutdown or reboot your Linux station: The command for shutdown/reboot is called “shutdown” and can be scheduled: You

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!