[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "mounting" on a read only filesystem, shadow passwords



On Sun, Mar 11, 2001 at 04:52:15PM +0100, Joost van Baal wrote:
> One little question: I've got my disk layed out like this under 
> linux:
> 
> /dev/hda1 /gnu
> /dev/hda2 /
> /dev/hda6 /usr
> /dev/hda7 /home
> /dev/hda8 /var
> 
> I'd like to see my linux filesystem while running the hurd, and I'd 
> like to mount this readonly. (Apart from /home .)  If I do, while 
> running the hurd:
> 
> root@yosida /# settrans -c /linux /hurd/ext2fs -r /dev/hd0s2
> root@yosida /# settrans -c /linux/home /hurd/ext2fs /dev/hd0s7
> settrans: /linux/usr: Read-only file system
> 
> Of course: I understood a translator wants to write in the 
> filesystem.  How could I achieve this?  I don't think symlinks will 
> help in this case.

Well, there is a tradeoff. If you use a passive translator, it will be
broken under Linux, right? Indeed, a symlink approach might be very helpful
here. You could link /home [under linux] to /trick17/home, which is a
translator for hd0s7 on the Hurd filesystem (hda1), and a mount point for
hd0s7 on linux. To avoid all of this, you can just set an active translator:

root@yosida /# settrans -ac /linux/home /hurd/ext2fs /dev/hd0s7

(note the -a option). This should not write anything to /linux. You need to
repeat the command at every boot, though.
 
> And another thing: is there support for shadow passwords in the 
> hurd?  I saw it's not used when doing the tar-install.

Yes. "shadowconfig on", as on linux. It is not the default in Debian, but I
think it might be an option in the installation routine. It will be an
option in ours, too, when we have one :)

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: