How to remove passwords so that you login straight away.

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: How to remove passwords so that you login straight away.
Post by: pTeK on July 08, 2024, 02:07:55 PM
Hi.

 Unfortunately my NextStep 3.3 installation does not allow me to pass the login screen, it just shows the wheel of death and does not allow for keyboard input, but I can do keyboard activities in single user-mode. Yes I know it's a big security risk having no password, this is a temporary stop gap measure.

 How do I set no password so that it logs in straight away like it does straight after a fresh installation. When I do:

# passwd me

As soon as I hit enter, it won't allow no password to be accepted as a password. Any one know what files I have to change so I can log in as me by default, I can use "su -" afterwards to login as root.

I read the NS/OS FAQ and see that you can:

dwrite loginwindow DefaultUser <login-name>

But when I use dread -l No loginwindow attributes are being listed.

Thanks.
Title: Re: How to remove passwords so that you login straight away.
Post by: user217 on July 08, 2024, 02:35:38 PM
After some trial and error:

1. In single-user mode, bring up the system daemons with:
sh /etc/rc &2. Use nu -M to bulk-rewrite the entry for me (UID 20):
nu -M 20 me "" 20 20 "My Account" /me /bin/csh .The "" is the unencrypted password, and the . on the end is the localhost NetInfo domain.
3. Reboot.
Title: Re: How to remove passwords so that you login straight away.
Post by: pTeK on July 09, 2024, 01:40:09 AM
Quote from: Rhetorica on July 08, 2024, 02:35:38 PMAfter some trial and error:

1. In single-user mode, bring up the system daemons with:
sh /etc/rc &2. Use nu -M to bulk-rewrite the entry for me (UID 20):
nu -M 20 me "" 20 20 "My Account" /me /bin/csh .The "" is the unencrypted password, and the . on the end is the localhost NetInfo domain.
3. Reboot.

An absolute legend. This now has NeXTSTEP3.3 w/Patch 3 up and running in 640x480 on my Dell Inspiron 5150. Now to get find a compatible Screen driver and to get hc0 disabled on startup. Sadly I can not double like your post.
Title: Re: How to remove passwords so that you login straight away.
Post by: user217 on March 05, 2025, 01:09:54 PM
Slight revisions to my post, since I apparently can't remember anything. Mostly gathered from other forum threads.

1. Start single user mode by typing:
-sat the boot: prompt.

2. If you've been doing any amount of rebooting lately, you probably need to run:
/usr/etc/fsck -p
3. Then bring up daemons with:
sh /etc/rc &This might also run fsck for you, but sometimes it's nice to do it yourself. I can't count the number of times I've booted with config=Default only to come back to a machine that's already rebooted and gotten stuck loading bad drivers all over again. Doing it manually in single-user mode lets you skip the hazard of troublesome auto-reboots.

4. Feel like trashing your NetInfo config? Sometimes I do:
mv /etc/netinfo /etc/netinfo.bad
cp -r /usr/template/client/etc/netinfo /etc/netinfo

5. Rewrite the 'me' account:
/etc/nu -M 20 me "" 20 20 "My Account" /me /bin/csh .

6. Guess where 'reboot' lives? That's right, it's also in /etc!
/etc/reboot

(more to be added, as i continue arguing with drivers)

Go to top  Forum index