Sponsored Content
Special Forums Cybersecurity How to reset root password of old Unix System V Post 302263286 by 82026 on Monday 1st of December 2008 08:13:45 AM
Old 12-01-2008
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?
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Not able to reset mysql root password

Hi, My root password for mysql has some problem as it dosent allow me to login.... all commands to reset it failed. so I removed mysql yum remove mysql and installed it by yum install mysql mysql-devel mysql-server and it installed fine I gave chkconfig --levels 235 mysqld on... (1 Reply)
Discussion started by: viji19812001
1 Replies

2. UNIX for Advanced & Expert Users

How to reset the ldap root password?

How to change the ldap root password. I have generated the password by using "slappasswd " command, but In my root machine "/etc/ldap/sldap.d" file is not there. instead of the file sldap.d directory only is there. please help me...? (0 Replies)
Discussion started by: ungalnanban
0 Replies

3. Red Hat

Fedora reset root password

I need some help with Fedora. I am trying to reset the root password. When I tried to login I was not able to. I kept getting the authentication failure message. I got the password reset success message. passwd: all authentication tokens updated successfully. I then thought maybe the root... (6 Replies)
Discussion started by: cokedude
6 Replies

4. Emergency UNIX and Linux Support

Reset AIX root password without shutting down the system

Hi All, I'm stuck in a severe problem here , Someone have changed the root password and he cannot remember it and there is no other user privileged user on the system , But I do have access to a non privileged user. On the top of the system an application which requires a theoretical ... (5 Replies)
Discussion started by: h@foorsa.biz
5 Replies

5. Solaris

solaris 8 reset root password from OSX

Hello, I have two old Solaris machines $ uname -a SunOS unknown 5.8 Generic_117350-39 sun4u sparc SUNW,UltraAX-e2 unfortunately, it has been so long ago that i have used these that the root password has left my head... i can log into one of the machine as a normal user, but am unable to... (4 Replies)
Discussion started by: Norman Khine
4 Replies

6. Solaris

How to reset forgotten mysql root password?

Hi All, I just found one thread on this forum on this subject here: Forgot MYSQL password root | Unix Linux Forums | Web Development but unfortunately the issue was not resolved. I have the same problem with the same error message. The background is that I built a Solaris 11 x86 server... (11 Replies)
Discussion started by: hicksd8
11 Replies

7. UNIX for Advanced & Expert Users

NCR UNIX system v/386 release 4 recover root password

we have NCR 3455 system from long time as attached all information for server (images) , so we need your help to assist us to get root password which lost it , really we appreciate your efforts if you can send us the procedure for resting the administrator (root) password which this server... (0 Replies)
Discussion started by: univoip
0 Replies

8. UNIX for Beginners Questions & Answers

Linux root Password Reset

Hi , I ve a question about the Linux system root password change. Which can be done using grub menu without inputting the old password.:confused: So If anybody can change the root password without any password and then how it is secure. Anybody can manipulate the other user using the... (6 Replies)
Discussion started by: pradyumnajpn10
6 Replies
SG_MAP(8)							     SG3_UTILS								 SG_MAP(8)

NAME
sg_map - displays mapping between linux sg and other SCSI devices SYNOPSIS
sg_map [-a] [-h] [-i] [-n] [-scd] [-sd] [-sr] [-st] [-V] [-x] DESCRIPTION
Sometimes it is difficult to determine which SCSI device a sg device name (e.g. /dev/sg0) refers to. This command loops through the sg devices and finds the corresponding SCSI disk, cdrom or tape device name (if any). Scanners are an example of SCSI devices that have no alternate SCSI device name apart from their sg device name. OPTIONS
-a assume the sg devices have alphabetical device names and loop through /dev/sga, /dev/sgb, etc. Default is numeric scan. Note that sg device nodes with an alphabetical index have been deprecated since the linux kernel 2.2 series. -h print usage message then exit. -i in addition do a standard INQUIRY and output vendor, product and revision strings for devices that are found. -n assume the sg devices have numeric device names and loop through /dev/sg0, /dev/sg1, etc. Default is numeric scan -scd display mappings to SCSI cdrom device names of the form /dev/scd0, /dev/scd1 etc -sd display mappings to SCSI disk device names -sr display mappings to SCSI cdrom device names of the form /dev/sr0, /dev/sr1 etc -st display mappings to SCSI tape device names -V print out version string then exit (without further ado). -x after each active sg device name is displayed there are five digits: <host_number> <bus> <scsi_id> <lun> <scsi_type> NOTES
If no options starting with "-s" are given then the mapping to all SCSI disk, cdrom and tape device names is shown. If the device file system (devfs) is present a line noting this is output. The "native" devfs scsi hierarchy makes the relationship between a sg device name and any corresponding disk, cdrom or tape device name easy to establish. This replaces the need for this command. However many applications will continue to look for Linux SCSI device names in their traditional places. [Devfs supplies a compatibility daemon called devfsd whose default configuration adds back the Linux device names in their traditional positions. Quite often the mapping information can be derived by observing the output of the command: "cat /proc/scsi/scsi". However if devices have been added since boot this can be deceptive. In the linux kernel 2.6 series something close to the mapping shown by this utility can be found by analysing sysfs. The main difference is that sysfs analysis will show the mapping between sg nodes and other SCSI device nodes in terms of major and minor numbers. While major 8, minor 16 will usually be /dev/sdb this is not necessarily so. Facilities associated with udev may assign major 8, minor 16 some other device node name. This version of sg_map has been extended to cope with sparse disk device node names of the form "/dev/sd<str>" where <str> can be one of [a-z,aa-zz,aaa-zzz]. See the sg_map26 utility for a more precise way (i.e. less directory scanning) for mapping between sg device names and higher level names; including finding user defined names. This utility was written at a time when hotplugging of SCSI devices was not supported in Linux. It used a simple algorithm to scan sg device nodes in ascending numeric or alphabetical order, stopping after there were 5 consecutive errors. In the linux kernel 2.6 series, this utility uses sysfs to find which sg device nodes are active and only checks those. Hence there can be large "holes" in the numbering of sg device nodes (e.g. after an adapter has been removed) and still all active sg device nodes will be listed. This utility assumes that sg device nodes are named using the normal conventions and searches from /dev/sg0 to /dev/sg4095 inclu- sive. EXAMPLES
My system has a SCSI disk, a cd writer and a dvd player: $ sg_map # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sr0 /dev/sg2 /dev/sr1 In order to find which sg device name corresponds to the disk: $ sg_map -sd # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sg2 The "-x" option gives the following output: sg_map -x # Note: the devfs pseudo file system is present /dev/sg0 1 0 1 0 0 /dev/sda /dev/sg1 2 0 4 0 5 /dev/sr0 /dev/sg2 2 0 6 0 5 /dev/sr1 When a SCSI scanner is added the output becomes: $ sg_map # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sr0 /dev/sg2 /dev/sr1 /dev/sg3 By process of elimination /dev/sg3 must be the scanner. EXIT STATUS
The exit status of sg_map is 0 when it is successful. Otherwise see the sg3_utils(8) man page. AUTHOR
Written by Doug Gilbert REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) 2000-2006 Douglas Gilbert This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_map26(8) , scsi_info(8) , scsidev(8) , devfsd(8) sg3_utils-1.23 December 2006 SG_MAP(8)
All times are GMT -4. The time now is 06:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy