Home
Adding New telnet Service to Different Port PDF Print E-mail
Written by Administrator   

aix.jpgUsing your preferred editor, edit the file /etc/inetd.conf by adding the following:

telnet80 stream tcp6 nowait root /usr/sbin/telnetd telnetd

Note: Port number 80 is being used in this example.

Using your preferred editor, edit the file /etc/services by adding the following:

Last Updated on Sunday, 24 January 2010 01:03
 
Indicators of utmp corruption PDF Print E-mail
Written by gerryh   

aix.jpgCorruption of the utmp file shows up in two ways:

  1. The uptime and w commands show a time greater than 8000 days since the system was last booted.
    Users are shown as still logged in when in fact they are not.

Both types of corruption have many causes because both AIX commands and third party applications write to the utmp file.

Last Updated on Monday, 14 July 2008 17:25
 
Reset Your Lost Root Password PDF Print E-mail
Written by Peter   

suse_geeko.jpgBoot from the install CD
Boot from your first install CD and press F1 at the first screen. Then choose "Rescue System" from the menu.

At the prompt type:


# root


*note* - You do NOT need a password.

edit the "passwd" file
At the next prompt, enter:

# cd /etc

# vi passwd

Last Updated on Monday, 14 July 2008 17:45
 
How do I change the speed of a network adapter? PDF Print E-mail
Written by Peter   

sunlogo.gifThere are two ways:

add the following entries to /etc/system:

  • Set all hme interfaces to 100MB full duplex
  • set hme:hme_adv_autoneg_cap=0
  • set hme:hme_adv_100T4_cap=0
  • set hme:hme_adv_100fdx_cap=1
  • set hme:hme_adv_100hdx_cap=0
  • set hme:hme_adv_10fdx_cap=0
  • set hme:hme_adv_10hdx_cap=0
  • End hme interfaces


The above example will force all adapters on to 100mb full duplex

The other way is as follows:

Last Updated on Sunday, 24 January 2010 09:33
 
AIX Useful Commands - Devices PDF Print E-mail
Written by gerryh   
mknod (device) c (major no) (minor no)        Creates a /dev/ device file.
mknod /dev/null1 c 2 3

chdev -l (device) -a (attribute)=(new value)         Change a device attribute
chdev -l sys0 -a maxuproc=80

rmdev -l (device)           Change device state from available to defined
rmdev -l (device) -d        Delete the device
rmdev -l (device) -SR       S stops device, R unconfigures child devices
Last Updated on Monday, 14 July 2008 17:24
 
Configuring NTP PDF Print E-mail
Written by gerryh   
aix.jpg1) Stop the xntpd daemon

The xntpd daemon is managed by the System Resource Controller (SRC).

To verify that the xntpd daemon is active : lssrc -s xntpd : status

should be "active"

To stop the xntpd subsystem : stopsrc -s xntpd

Note : xntpd is automatically started in /etc/rc.tcpip. To verify this :

cat /etc/rc.tcpip | grep xntpd.

Last Updated on Monday, 14 July 2008 17:33
 
How to fix the utmp file PDF Print E-mail
Written by Peter   

aix.jpgRebooting clears the utmp file and is the recommended method of correcting the results of corruption.

The following is an awk script that can be used to attempt to clean out bad entries in the /etc/utmp file. It may not clean certain types of corruption and a reboot will be required to clean up the file.

WARNING: Since the utmp file is constantly being changed, there is always the possibility that an attempt at correction (other than by rebooting) may corrupt the /etc/utmp file.

Last Updated on Monday, 14 July 2008 17:25
 
How to Join a Suse Client to a Windows 2003 Domain PDF Print E-mail
Written by gerryh   

suse_geeko.jpgThis process will require the krb5-client (it is best to install ALL of the packages), Samba, and Samba-Winbind.

Use the following steps in the order that they appear to join the SUSE client to the Windows 2003 Server domain.  Any issues please use the Forum/shoutbox (for registered users ONLY - but it is free!) for additional help and assistance.

 

Step 1: Install the Required Packages - This can be done through Yast

Step 2: Edit the /etc/krb5.conf File

[logging]
default = FILE10000:/var/log/krb5lib.log
[libdefaults]
ticket_lifetime = 24000
default_realm = DOMAIN.INTERNAL
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5 aes256-cts arcfour-hmac-md5
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc des-cbc-md5 aes256-cts arcfour-hmac-md5
[realms]
DOMAIN.INTERNAL = {
kdc = domainserver.domain.internal
admin_server = domainserver.domain.internal
default_domain = DOMAIN.INTERNAL
}
[domain_realm]
.domain.internal = DOMAIN.INTERNAL
domain.internal = DOMAIN.INTERNAL

Last Updated on Monday, 14 July 2008 17:45
 
Reorganizing a file system PDF Print E-mail
Written by gerryh   

aix.jpgYou can reduce file system fragmentation as follows:

 

  • Copying the files to a backup media
  • Recreating the file system using the mkfs fsname command or deleting the contents of the file system
  • Reloading the files into the file system

 


For example, a system has a separate logical volume and file system hd11 (mount point: /home/op). Because we decide that file system hd11 needs to be reorganized, we perform the following steps:

Last Updated on Monday, 14 July 2008 17:25
 
AIX Useful Commands - BLV/Kernel Processes PDF Print E-mail
Written by Peter   
aix.jpgMirroring does not work with the BLV as it is not a true logical volume, bosboot must be run against the other disk after mirroring the rootvg.

bootlist -m (normal or service) -o                       displays bootlist

bootlist -m (normal or service) (list of devices)        change bootlist


Last Updated on Monday, 14 July 2008 17:24
 
<< Start < Prev 1 2 3 Next > End >>

Page 2 of 3
SoluFlex

Login Form



Who's Online

We have 2 guests online

Statistics

Members : 149
Content : 37
Web Links : 6
Content View Hits : 38783