View Single Post

   
  #1 (permalink)  
Old 02-16-2008, 04:34 AM
elton
 
Posts: n/a
Default Re: Help!! invalid root shell


Originally posted by Maciek Kanski

> On 15 Jan 2003 19:11:33 -0800, A M wrote:


> > Now I cant login/su or do anything and for the life of me,

> cannot


> > figure out how to login and suppress or use another shell.


>


> Well, U have to mount wd0a (on /mnt) when booting from install
> floppy/cdrom.


> Then edit manually /mnt/etc/master.passwd (with ed?) and run:


> pwd_mkdb -d /mnt/etc /mnt/etc/master.passwd


>


> Regards




How we can use the ed command to edit the read-only file? I did try,
the system

doesn't allow me doing this.



I tried to run pwd_mkdb, but the system cannot find it.



How I can edit themaster.passwd file and then run pwd_mkdb?



Thanks,



El


--
Posted via http://dbforums.com
Reply With Quote