| category: System Administration |
Language:English, article number: 2001-02-13:5 |
Hide your Bind version
by , homepage: http://www.enderunix.org
Any user can get your bind version using following command:
$ nslookup -q=txt -class=CHAOS version.bind. remote.dns.server
Server: remote.dns.server
Address: 212.2.2.3
VERSION.BIND text = "8.2.2-P5"
to hide you version add folowing value to named.conf
version "[Secured !!! Please Go away idiot lamer ! ]";
in the options section as follows:
options {
directory "/var/named";
version "[Secured !!! Please Go away idiot lamer ! ]";
};
and restart your named. Finally when anyuser writes
$ nslookup -q=txt -class=CHAOS version.bind. remote.dns.server
Server: remote.dns.server
Address: 212.2.2.3
VERSION.BIND text = "Secured !!! Please Go away idiot lamer"
That's all
|
|
| category: System Administration |
Language:English, article number: 2001-02-08:1 |
How to delete and recreate /tmp
by
The directory /tmp is a special one. When you "stat" it, it shows a 1777 mod ie drwxrwxrwt. Well, it's the same for .X0-lock, .X11-unix and .font-unix.
"t" means that the files in the directory can only be deleted by the owner even though the directory is world writable.
So after a "mv /tmp /no_more_room/tmp or a rm /tmp", just do:
- mkdir /tmp
- chmod 1777 /tmp
To re-create it with the correct permissions. You have to do that if you want your x font server (xfs) to be working properly.
|
|
| category: Community |
Language:English, article number: 2001-01-04:1 |
Mojolin, The Linux Job Site, goes international
by Dan Barber , homepage: http://mojolin.com

Mojolin (http://www.mojolin.com) has added international support to its full featured online Job/Resume database. Job listings and resumes can now be entered with full location specifics. This new ability is complemented by a feature that allows an individual to search by countries, and by states and provinces in the United States and Canada. In addition, links have been provided to BabelFish for translation of the site into five different languages: German, French, Italian, Spanish and Portuguese. Other features include a nightly email agent which informs job seekers of the latest opportunities, and the ability for Webmasters to include Mojolin's job listings on their own sites.
|
|
| category: System Administration |
Language:English, article number: 2000-11-16:2 |
Blocking anyone to su to root
by Ismail YENIGUL , homepage: http://apache.cslab.itu.edu.tr
The su (Substitute User) command allows you to become other existing
users on the system. For example you can temporarily
become "root" and execute commands as the super-user "root". If
you don't want anyone to su to root or restrict "su" command to
certain users then add the following two lines to the top of
your "su" configuration file in the "/etc/pam.d/" directory.
1- Edit the su file (vi /etc/pam.d/su) and add the following two
lines to the top of the file:
auth sufficient /lib/security/pam_rootok.so debug
auth required /lib/security/pam_wheel.so group=wheel
After adding the two lines above, the "/etc/pam.d/su" file should
look like this:
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so debug
auth required /lib/security/pam_wheel.so group=wheel
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
password required /lib/security/pam_cracklib.so
password required /lib/security/pam_pwdb.so shadow use_authtok nullok
session required /lib/security/pam_pwdb.so
session optional /lib/security/pam_xauth.so Which means only those who are a member of the "wheel" group can su to root;
and to add a user to wheel group use:
root# usermod -G10 username
Ok, now everybody can not be root using su. When an user that is not in wheel group runs su command ,he/she can not be root even if he/she writes correct root password.
|
|
|