The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do you reset Samba root PW w/o knowing it? mehow SUN Solaris 2 01-20-2008 06:48 PM
SCO Unix 5.0.5 lost root password DPT PM2022A/9X Eugene67 SCO 2 11-12-2007 10:45 AM
I would like to reset my password matrixmadhan Post Here to Contact Site Administrators and Moderators 5 04-30-2007 10:46 PM
Not receiving my reset password whyaskedhere Forum Support Area for Unregistered Users & Account Problems 1 10-16-2005 11:20 AM
Forget root password of unixware system rajesh_v_u UNIX for Dummies Questions & Answers 1 12-03-2003 05:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-29-2008
82026 82026 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
How to reset root password of old Unix System V

Hi all,

This is first time I met unix in my life. I purchased old Scanning Elecron Microscope which came with 486/33MHz PC running Unix System V, ver. 3.6. The one simple user name/passw is known so I can boot and login. But can not shutdown! It asks root or su passw. I'm very sensitive not to destroy any configuration. As advised on this foum I found /etc/passwd file but inside is only 'x' in places of passwords - means they are in shadow file. I found it however I was not allowed even to look in to it.
My idea is such - to boot from floppy, take this shadow file and then try to use JtR cracker. Or take out HDD, put on another Unix machine and copy or look in to shadow file then.
Can somebody advise - would it work to go this way?
- would all configuration and startup information survive if I would access HDD booted not from it?
- can somebody recomend where to download light bootable floppy version of suitable for me Unix?
  #2 (permalink)  
Old 11-29-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
You will need bootable media that was used to install the os or that came with the os. The problem you will have is that your file system may not be readable by any other os. Attaching the HD to another box might be worth a try though. If you get access to shadow file, you will be able to read and write to it. Just remove the encrypted password. Or copy the encrypted password from the account whose password you know. If you give JtR, say, 500 passwords, it can quickly break a few most of the time. But if your root password is a good one, it can take many weeks.

Can't the guy who sold you the system tell you the password?
  #3 (permalink)  
Old 11-29-2008
82026 82026 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
Quote:
Originally Posted by Perderabo View Post
You will need bootable media that was used to install the os or that came with the os. The problem you will have is that your file system may not be readable by any other os. Attaching the HD to another box might be worth a try though. If you get access to shadow file, you will be able to read and write to it. Just remove the encrypted password. Or copy the encrypted password from the account whose password you know. If you give JtR, say, 500 passwords, it can quickly break a few most of the time. But if your root password is a good one, it can take many weeks.

Can't the guy who sold you the system tell you the password?
The seller is just a surplus dealer. He does not know what the unix is. Also he dont know (dont tell) the real prev user.

So I dont have any bootable media, and to hook HDD on another box looks the best option. Do you think a current Linux'es would be able to talk to Sys5 UNIX file system?

I'm still not sure if UNIX uses some encrypted files or general? Means If I would have same OS loaded on another box would I be able to read files from new hooked HDD?
  #4 (permalink)  
Old 11-29-2008
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,656
Remove the hard drive with the root file system on it and mount it using another system, and then edit the password file.

When you have physical access to a hard drive, you can, generally speaking, always change the root password.

So, first you need to find out what type of filesystem you have. If the filesystem is one supported by the Linux kernal, you can simply boot from a Linux kernal and then mount the disk partition with the password file, and then edit it.

That is how I would do it.
  #5 (permalink)  
Old 11-30-2008
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
Unix SVR3 came out from AT&T about 20 years ago and the last major release was 3.2.
You need to know which company marketed your unix, the version, and the medium.
Please post the output from unix commands:

uname -a

cat /etc/copyright

Any useful messages before you get before the login prompt (if not the same as above) ?


PS. What size is your floppy drive? Is is this a server with a SCSI disc?
  #6 (permalink)  
Old 12-01-2008
82026 82026 is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
yes it appeared to be more complicated. The HDD is scsi.
I found Adaptec scsi adapter, connected my traget HDD and booted another machine with puppy linux CD. The HDD was found at boot and there what I could see with dmesg :

# dmesg
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec 2940 SCSI adapter>
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
scsi 0:0:0:0: Direct-Access MAXTOR LXT-340S 6.73 PQ: 0 ANSI: 1 CCS
target0:0:0: Beginning Domain Validation
target0:0:0: Ending Domain Validation
SCSI device sda: 665154 512-byte hdwr sectors (341 MB)
sda: Write Protect is off
sda: Mode Sense: 57 00 00 08
SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 665154 512-byte hdwr sectors (341 MB)
sda: Write Protect is off
sda: Mode Sense: 57 00 00 08
SCSI device sda: write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: unknown partition table
sd 0:0:0:0: Attached scsi disk sda

The disk was not listed on desktop for ones available to mount. I guess prelast message "sda: unknown partition table" was the reason. This was on my new linux box.

On the native machine during boot message pops up:

UHC UNIX System V Rel. 4.0 Version 3.6

then many messages about loaded modules

The uname -a returns:
fib1 4.0 3.6 i386 386/AT (fib1 - is user )

/etc/copyright - does not exist

With this original box flopies are formated at 1.44M and also I managed to make tar backups of some data. But my puppy linux could not mount them either.

Any ideas how to move on?
  #7 (permalink)  
Old 01-22-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,912
UHC was UHC Corp out of Houston, TX. They were selling a rebadged version of SVR4 for i386. i.e. USL's Destiny product which later became the basis for SCO UNIXware.
Any SCO UNIXware platform should be able to mount and read the filesystem.
Sponsored Links
Closed Thread

Bookmarks

Tags
unix commands, unix download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0