Article View: comp.sys.next.programmer
Article #660Re: Any way to edit inactive NetInfo and default data base files?
From: Art Isbell
Date: Mon, 13 Apr 1992 16:54
Date: Mon, 13 Apr 1992 16:54
22 lines
1642 bytes
1642 bytes
In article <1992Apr8.173016.25134@cubetech.com> andrew@cubetech.com writes: >In article <rlbvqINNmqf@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi >Ohzawa) writes: > >> Also, is there a way to edit default database without logging in as >> the owner of that account? > >You could always rename your default database and symbolically link the other >guy's database to your .NeXT directory... Then dwrite away... > Another possible solution is suggested by the documentation for NXSetDefaultsUser(). I've never tried this, but a simple Objective-C program should do the job if you have read and write permissions to the user's defaults database. -- Art Isbell Cubic Solutions NeXT Registered Developer NeXT software development and consulting Email: isbell@cats.UCSC.EDU Voice: (408)335-1154 USmail: 95018-9442 Fax: (408)335-2515
Technical Details
Message-ID:
<32768@darkstar.ucsc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!darkstar!cats.ucsc.edu!isbellReferences:
<rlbvqINNmqf@agate.berkeley.edu> <1992Apr8.173016.25134@cubetech.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!darkstar!cats.ucsc.edu!isbell From: isbell@cats.ucsc.edu (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Any way to edit inactive NetInfo and default data base files? Summary: Try a simple C program using NXSetDefaultsUser. Keywords: defaults Message-ID: <32768@darkstar.ucsc.edu> Date: 13 Apr 92 16:54:49 GMT References: <rlbvqINNmqf@agate.berkeley.edu> <1992Apr8.173016.25134@cubetech.com> Sender: usenet@darkstar.ucsc.edu Organization: Cubic Solutions - NeXT software development and consulting Lines: 22