Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Dec 01, 2023 1:33 am


News News of Red Hat Certified Engineer/Technician RHCE/RHCT

Site map of Red Hat Certified Engineer/Technician RHCE/RHCT » Forum : Red Hat Certified Engineer/Technician RHCE/RHCT

Red Hat Certified Engineer/Technician RHCE/RHCT topics and questions

Message
 Post subject: Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding
PostPosted: Thu Jan 14, 2010 8:59 am 
Code:
Feb 25 20:38:49 bigboy named[4593]: /etc/named.conf:99: configuring key 'ddns_key': bad base64 encoding
Feb 25 20:38:49 bigboy named[4593]: loading configuration: bad base64 encoding


The above two errors will occur when bind(named) runs for the first time, unless you generate a valid base64 string and add it to named.conf:
Code:
# /usr/sbin/dns-keygen
H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B


Copy the above string and updatenamed.conf, section key ddns_keyas follows:
Code:
key ddns_key
{
        algorithm hmac-md5;
        secret "H1Pl33tksEAXbEHq9rEfsVqxS7cCm8ie2W2Aa6UYTIGEGtXuhVFRGaIkjd6B";
};


Read more : Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding | Views : 5832 | Replies : 0

Top
 Post subject: Disable IPv6 in Red Hat Enterprise Linux 5
PostPosted: Sat Jan 09, 2010 12:02 pm 
By default, RHEL kernel comes with IPv6 enabled. Since many of us don't need it, it's pointless to recompile the kernel just to disable IPv6.

To disable IPv6 on RHEL 5 add the following lines in /etc/modprobe.conf:
Code:
alias net-pf-10 off
alias ipv6 off


This will require a reboot.

Read more : Disable IPv6 in Red Hat Enterprise Linux 5 | Views : 14680 | Replies : 2

Top
 Post subject: Smbpasswd - Failed to find entry for user / Failed to modify password entry for user
PostPosted: Sat Jan 09, 2010 6:05 am 
Even if you add the user via useradd command, samba will still not see it returning the following messages:

Code:
# smbpasswd httpd
New SMB password:
Retype new SMB password:
Failed to find entry for user httpd.
Failed to modify password entry for user httpd

Solution:

Code:
# smbpasswd -a httpd
New SMB password:
Retype new SMB password:
Added user httpd.

The reason for this is that samba uses different user/passwd files then the system.

Read more : Smbpasswd - Failed to find entry for user / Failed to modify password entry for user | Views : 6736 | Replies : 0

Top
 Post subject: Linux GRUB and grub.conf troubleshooting - part2
PostPosted: Mon Jan 04, 2010 11:04 am 
Coming in contact for the first time with a server that fails to boot (from grub configuration errors) can be difficult, if you don't have a copy of the grub.conf at hand.

List available disks at grub prompt
Code:
grub> find (hd        -->TAB key
  Possible disks are:   hd0 hd1


List available disk partition at grub prompt

grub> find (hd0, -->TAB key
Partition num: 0, Filesystem type is ext2fs, partition type is 0x83
... ...

Read more : Linux GRUB and grub.conf troubleshooting - part2 | Views : 2831 | Replies : 1

Top
 Post subject: Linux GRUB and grub.conf troubleshooting - part1
PostPosted: Mon Jan 04, 2010 10:37 am 
Troubleshooting GRUB requires knowing how grub works. Looking at a sample grub.conf file, we can see the commands that grub will accept at command line prompt.
node1# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# ...

Read more : Linux GRUB and grub.conf troubleshooting - part1 | Views : 2237 | Replies : 0

Top
 Post subject: Vsftpd and SELinux - Making them work together for system users
PostPosted: Sun Jan 03, 2010 2:53 pm 
Vsftpd will work by default if SELinux is turned of or set to permissive mode.

For security paranoias (like me), SELinux in Enforced mode will not, by default, allow users to FTP to their home directories. This is because their security context will be:
Code:
# ls -Zda ~user
drwxr-x---  user user system_u:object_r:default_t      /home2/user

system_u - system user
object_r - system object
default_t - default label

The above selinux security context will not allow vsftpd ...

Read more : Vsftpd and SELinux - Making them work together for system users | Views : 3976 | Replies : 0

Top

Last 10 active topics


Tutorials for general Unix

No new posts use "Ctr-A Ctr-\ " combination to terminate SCREEN session
View the latest post

Juniper SRX

No new posts SRX300 - How to connect to serial console via USB port in MacOS
View the latest post

Shell Scripting and Programming

No new posts DD (Disk Dump) show write progress
View the latest post
No new posts BASH shell script to mointor a directory and move file without overwriting destination
View the latest post
No new posts FreeBSD: Install python package manager (pip)
View the latest post

Virtualization

No new posts Vmware ESXi: create custom named vmdk virtual disk [cli]
View the latest post
No new posts Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts Synchronize OpenLDAP and Microsoft Active Directory
View the latest post

Routing and dynamic routing protocols

No new posts BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
View the latest post

TCP/IP Networking

No new posts Problem pinging and using server with mobile hotspot
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 617 | Total topics 987 | Total members 1192



cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO