Novell Home

Changing all your Rconag Passwords in One Fell Swoop

Novell Cool Solutions: Tip
By Tim Hansen

Digg This - Slashdot This

Posted: 27 Jul 2005
 

PROBLEM: Remote.NLM's corresponding ldremote.ncf file is server dependent. The same password will encrypt differently on different servers. So when it comes time to change the Remote Console password on all your servers, they all must be visited, if you want them all the same. This is a time-consuming job if you have many servers.

SOLUTION: Rconag6.nlm's password encryption, however, is server independent. This allows you to automate change the rconip password on all your servers. Start by creating a new ldrconag.ncf on one server. Then copy it to sys:system on all your other servers. Now all you have to do is unload rconag6.nlm and run ldrconag.ncf to get them to use the new password. But these two steps can be automated with cron and an additional NCF file.

EXAMPLE: Create an NCF file to unload and reload rconag6.nlm.

ResetRcon.NCF:
  unload rconag6.nlm
  ldrconag

Then add a line to all your servers' SYS:ETC\CRONTAB files that executes ResetRcon.NCF early in the morning, like 4 am, a time when you won't normally be connected with rconip or rconj. If CRONTAB's contents are standard across all your servers, simply create a new one and copy it rather than editing on each server.

CRONTAB:
  0 4 * * *  ResetRcon.NCF

That's it! Now you can change all your rconag6 passwords by creating one ldrconag.ncf file and copying it to all your servers. Note: cron.nlm is loaded by default in autoexec.ncf in NetWare 5.1 or later.

If you have any questions you may contact Tim at tim.hansen@wicourts.gov


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell