January 2007

Q. How do I secure the portmap service? I am using Debian Linux. A. According to wikipedia, “Portmap is server software running under Unix-like systems that converts RPC program numbers into DARPA protocol port numbers. Its design objective was to minimize the number of ports in use, but this never happened as it never had [...]

{ 1 comment }

Q. How do I clear or remove last login information? I would like to clear all the login information. I am using Fedora Core 6 Linux. A. /var/log/lastlog file stores user last login information. This is binary file. You need to use lastlog command to formats and prints the contents of the last login log [...]

{ 11 comments }

Under KDE or Gnome desktop I get nice facility to search all man pages for particular command or phrase. I am login to remote server over the ssh session. How do I search all the man pages for a particular command at Linux shell prompt?

{ 1 comment }

What files are in a RPM package?

by Vivek Gite on January 24, 2007 · 4 comments

Q. How do I find out what files are in RPM package called gnupg? A. You can use rpm command itself to list the files inside a RPM package. rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an [...]

{ 4 comments }

How do I add or remove hardware device driver from running Linux kernel?

{ 12 comments }

Q. How do I limit what users can log onto a my Linux server system via OpenSSH / SSHD server? A. OpenSSH server allows to specify usernames for login. According to man page syntax is as follows:: AllowUsers user1 user2 AllowUsers keyword can be followed by a list of user name patterns, separated by spaces. [...]

{ 0 comments }

Q. How do I configure squid for NTLM authentication? A. You need to use squid ntlm_auth helper tool. It o allow external access to Winbind’s NTLM authentication function. ntlm_auth uses winbind to access the user and authentication data for a domain. Make sure winbindd is working winbindd is a daemon that provides a number of [...]

{ 16 comments }