Monday, April 21, 2008
Remove Unix User Expiry Date
usermod -e "" username
The command will change shadow file, not manually. The value of parameter -e can be a date to set a new expiry date.
Sunday, April 13, 2008
.rhosts and remote login
A point should be considered is that the permissions of the owner of this file should be set. (chmod [700, 600,500,400] .rhosts).
-rwx------ 1 user1 other 20 Apr 13 17:39 .rhosts
Another file that is used by system to remote access after checking of .rhosts is /etc/hosts.equiv. Each recored line in this file contain hostname [username], means which user from which machine can access without password to this machine. Same as previous file + char can be used to indicate all host or/and all users.
Attend to this point that user is local user that exist in /etc/passwd of
server machine.
Saturday, April 12, 2008
Unix Change Timezone & Cron Job
TZ=IRST-4:30
format of this variable value depends on platform.
The file /etc/TIMEZONE should be chnaged to reflex settings after reboot.
after changing the timezone cron task should be restarted to apply new timezone information,
/etc/init.d/cron stop
/etc/init.d/cron start
or kill /usr/bin/cron task and start it again.
Tuesday, April 8, 2008
Internal Causes of Call release in Siemens IN 7b
1 = unallocated (unassigned) number | 55 = incoming calls barred within CUG |
Sunday, April 6, 2008
Swap VoMS Application or Database Cluster
1- chris application should be stopped and when starting the framework should run as last application
(/opt/xpress/SxFramework/scripts/Sx.sh SxFrameWork stop|start)
2- check sun cluster status
scstat
The status of cluster, like which app or db on which cluster, online or offline
Node name Status
--------- ------
Cluster node: voms1 Online
Cluster node: voms2 Online
3- Stop appropriate resource group
scswitch -F -g [rg_sxfwapp|rg_sxfwdb] (-F make offline)
4- Change primary node
scswitch -z -D [appvol|dbvol] -h [voms2|voms1] (-z change primary node)
5- Make resource online
scswitch -Z -g [rg_sxfwapp|rg_sxfwdb] (-Z make resources online)
6- Start chris application as mentioned above
Thursday, April 3, 2008
Sending Double Message in Dialogic Sigtran
To prevent sending more than one same message the retransmission configuration of both side must be same. In dialogic side it's done by CNTOS command and RMIN(retransmission min) and RMAX(retransmission max) parameters. In cisco itp side can be seen by sh cs7 m3ua command.
Windows XP Timezone and Daylight Saving
http://support.microsoft.com/kb/914387
TZEdit can edit time zone information.