- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: I modified the SYSUAF.DAT ,can not log in
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 08:32 PM
03-19-2008 08:32 PM
I modified the SYSUAF.DAT ,can not log in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 09:58 PM
03-19-2008 09:58 PM
Re: I modified the SYSUAF.DAT ,can not log in
restore sysuaf and rightslist from backup.
if you used a text editor on sysuaf.dat you may find that version ;-1 still exists, then you can just rename the spurious one
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 10:12 PM
03-19-2008 10:12 PM
Re: I modified the SYSUAF.DAT ,can not log in
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 10:51 PM
03-19-2008 10:51 PM
Re: I modified the SYSUAF.DAT ,can not log in
The system authorization file can generally only be modified using the AUTHORIZE utility.
If the file was modified using a conventional text editor, then it was likely damaged. In most cases, the editor saved the file as a new version. This can be confirmed by doing a DIRECTORY SYSUAF.DAT;* command. If this was done, there should be two versions of the SYSUAF.DAT file. If so, the newest version (the version with the larger number) can be deleted.
A note of caution that probably does not apply in this specific situation. It is possible that the SYSUAF has been redirected using a logical name. This would change the above advice somewhat.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 02:48 AM
03-20-2008 02:48 AM
Re: I modified the SYSUAF.DAT ,can not log in
http://docs.hp.com/en/BA322-90077/index.html
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 06:18 AM
03-20-2008 06:18 AM
Re: I modified the SYSUAF.DAT ,can not log in
It appears that SYSUAF wasn't so much as modified here, but that it was (somehow) corrupted. The details on how the corruption arose are critical to how to resolve this; on what steps led up to the corruption.
I'd probably first take a complete disk BACKUP /IMAGE, using the bootable DVD environment. This to save off a copy, should the recovery efforts not proceed as planned. The copy allows resetting the system back to its corrupted state, and another attempt at resolving the error.
If the SYSUAF file was edited directly and PURGE was invoked, you'll likely need to restore it from your most recent BACKUP. But if the file was directly edited and the editing session then exited and there was no PURGE, a lower version of SYSUAF is likely still valid, and can be used.
You can potentially RENAME the top version(s) out of the way, and bring the valid SYSUAF back to the top of the version stack. If there were several edits of SYSUAF, there will be several versions.
If AUTHORIZE was used and not direct access into SYSUAF, then something that was changed has locked out the accounts. Recovery here involves reversing whatever happened, using AUTHORIZE. Or a restoration from BACKUP, if that fails.
To get to where you can enter commands to resolve the immediate access problem, you can follow the steps below:
http://64.223.189.234/node/204
http://64.223.189.234/node/280
And when you get to the $ prompt here, you'll be able to enter SET NOON and then some DCL commands. The commands depend on what you did to corrupt the file.
If you edited and exited SYSUAF, the command could move (RENAME) the higher version(s) of SYSUAF out of the way.
If the corruption involved use of AUTHORIZE, you could invoke AUTHORIZE and re-enable SYSTEM or other username.
This is a very limited environment, so various mechanisms will not work as you might expect.
Restoring a BACKUP (of some or all of your system disk) is among the last and least desirable approaches to use here, as you can need to restore other files tied to SYSUAF if your BACKUP is sufficiently old and you're making a file-based recovery attempt, and password changes and such made between the BACKUP and the corruption will be lost. The safest approach is a whole-disk recovery, at least in terms of consistency. It may come to this, but you want to avoid it.
Do also review your BACKUP cycle, and do consider the installation and configuration of a testing system or a bootstrap into a testing environment. Making changes in a production environment is not without its hazards. Even the most experienced of OpenVMS system managers can occasionally botch a critical command or a critical operation.
Stephen Hoffman
HoffmanLabs LLC