RS6000 7012-320H

From: Alexander Schreiber <>
Date: Mon Oct 15 04:21:38 2001


On Mon, Oct 15, 2001 at 04:09:24AM +0000, Ken Seefried wrote:
> >If the internal disk is SCSI, you could attach it to any other system
> >(for example Linux), and write a utility that goes through the raw
> >disk looking for 'root:\([^:]*\):0:0:' and replace it with 'root::0:0:\1'
> Good thought, but it's not quite that easy. As I recall, AIX defaults to
> the JFS file system. This is an IBM proprietary, journalized filesystem,
> and would not be trivial to "write a utility" to safely modify it. Standard
> Linux (or any other Unix, for that matter) will not recognize it.

This is not a problem - the idea is going through the _raw_ device and
replacing any occurrences of the password hash (with some padding). So
you don't need to know anything about the filesystem layout, as long
as the files in question are stored by the filesystem in plain (which
almost all filesystems do).

> Luckily, there is a Linux port of JFS ( I
> dunno if it will mount a native JFS filesystem from a legacy AIX box, but it
> should show you what you need to do to get started.

Of course, if this works it would be a much easier approach than hacking
raw blocks on disk.

If UNIX is dead, the necromancer who is animating the corpse is doing a
damn fine job.        -- Par Leijonhufvud ( in a.s.r.
Received on Mon Oct 15 2001 - 04:21:38 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:18 BST