![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| may a corrupted .gz file be repaired? | JohnTinker | UNIX for Dummies Questions & Answers | 3 | 03-19-2008 03:03 PM |
| Could be a corrupted file? | kaugrs | HP-UX | 1 | 01-16-2008 12:22 PM |
| Help! passwd file corrupted | Tony Montana | UNIX for Dummies Questions & Answers | 2 | 05-21-2005 08:45 AM |
| detecting corrupted file | starless | Shell Programming and Scripting | 6 | 09-24-2003 10:03 PM |
| corrupted tar file | klintsovi | UNIX for Dummies Questions & Answers | 1 | 07-21-2001 09:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Good Day
Our HP box was hacked and the passwd file has been altered,there are only 2 user accounts active,and these dont have any administrative rights.I need to edit the passwd file to correct the su and root entries. Does any body have any suggestions as to how i can do this with out the root account (maybe a "live cd" to edit the files??) Thank you |
|
||||
|
Passwd edit
Thx for the reply, but this is where my problems start.
Firstly i try a tape recovery,once it gets to a point where i can select the files to recover it fails ie ERROR : Tar: blocksize =0;broken pipe ERROR: File: /usr/ccs not found ERROR: file: /usr/obam not found and it carries on with further errors Secondly i try a DVD recovery and boot from the DVD,but when i try to load files and dependencies, it tells me the file system is full. That is I try to edit the passwd file , vi isnt loaded, so I add the file to the list and it trys to add the files to the system so i can edit the passwd file.But returns an error that the file system is full, so basically i am $##@@ right now. So i was thinking of another tool that i could use to edit the passwd file ? ![]() |
|
|||||
|
Use the shell itself to edit the passwd file:
echo "fixup::0:0::/:/usr/bin/ksh" >> /etc/passwd then reboot and login as fixup to finish the job. Also this link may be helpful: Expert Recovery Using the Core Media |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|