5 ms·
Unix v4 (1973) – Live Terminal
- colesantiago 11mo agoJust a heads up: > By using this service, you acknowledge that terminal sessions may be logged for educational and debugging purposes. No personal data is collected beyond your IP address. Is this all open source and is the code available? So that we know where the data is truly going? Hard to trust it if it isn't fully OSS. This is a cool demo though.
- voidfunc 11mo agoEven if it was open source how do you know its not a fork?
- lo_zamoyski 11mo agoAnd even more to the point: this is a website. What is he afraid of this website doing that all the other websites don't already do? Why single this one out?
- StableAlkyne 11mo ago> Hard to trust it if it isn't fully OSS It's an emulated PDP-11, could you elaborate on the threat model here? I get that companies are being gross about logging everything online, but come on. It's okay to have fun. Who in their right mind is using this for anything other than curiosity's sake?
- altairprime 11mo ago> Hard to trust it Clarification requested: How is ‘trust’ applicable to this site?
- deleted 11mo ago[deleted]
- skulk 11mo agoI don't want them to see my blunders in the chess game I lost against the 40 year old computer program.
- znpy 11mo agoYeah it’s unlikely that this site will collect any meaningful data and it’s unlikely that you lose any meaningful data by playing with a virtual unix from the 70ies. You aren’t getting downvoted enough.
- mmooss 11mo agoIt would be an excellent phishing attack if your target is senior IT. You filter out every non-geek, of course, and certainly your responses would lean heavily toward an older crowd. They's all see 'Unix v4', be too excited to consider the risks, and being a 1973 OS assume it is innocent and safe (not thinking about the platform delivering it). Maybe you'd get too many retirees ... Now you just need
- publicdebates 11mo agoSession Error Rate limit exceeded: 10 per 1 minute
- hnthrowaway0315 11mo agoI managed to get in after a few tries. But then I got a timeout. I think I'm going to wait until the HN deathhug is over :D
- charcircuit 11mo agoDid they get a license from Novell for this or is this as illegal as many of the other emulator sites with copyrighted software on them? Considering the page doesn't mention it, I'm leaning towards it being copyright infringement.
- LukeShu 11mo agoIn 2002, Caldera licensed Research Unix <= 7th edition and 32-bit 32V Unix under a BSD-style license. Gotta stick the "This product includes software developed or owned by Caldera International, Inc." notice on it though.
- charcircuit 11mo agoThis copy of Unix v4 came from AT&T and not one of the freely licensed ones Caldera released. Caldera may own the rights now for this unearthed copy, but I am not aware that they have provided licenses for this new release.
- spijdar 11mo agoIf your argument is that Caldera might not actually have the rights to UNIX in the first place to grant the license, that's fair. But the license they provided (http://www.lemis.com/grog/UNIX/ancient-source-all.pdf http://www.lemis.com/grog/UNIX/ancient-source-all.pdf) explicitly names versions 1, 2, 3, 4, 5, 6, and 7 of UNIX for the 16-bit PDP-11. Yes, these versions originated at AT&T (Bell Labs) but are distinct legally from SysIII and SysV UNIX, also from AT&T, which are explicitly not covered by the Caldera license.
- charcircuit 11mo agoThank you for finding this. >Redistributions of source code and documentation must retain the above copyright notice The archived tape doesn't have this, which contradicts the license. This makes me think the license may only be referring to a set of source code that they released with this license text already applied as opposed to what was recently archived. >Redistributions in binary form must reproduce the above copyright notice I don't see the copyright notice on that page. So at the very least that may need to be added.
- enricotr 11mo agoAlmost slashdotted.
- ramon156 11mo agoRate limited! a new record!
- yunnpp 11mo agoI'm going to guess we're on the same VPN.
- Deeg9rie9usi 11mo agoReading the source unearths interesting things: https://sigma-star.at/blog/2025/12/unix-v4-buffer-overflow/ https://sigma-star.at/blog/2025/12/unix-v4-buffer-overflow/
- mananaysiempre 11mo agoI kept expecting an exploit :) Something to poke at on a slow evening, I guess, though with the buffer in static memory it might be difficult.
- Deeg9rie9usi 11mo agoExploiting this is close to trivial because the adjacent buffer contains the pw entry. So, you can control what the input is compared with. That way the password check can be bypassed without injecting code.
- mananaysiempre 11mo agoGood point, thanks! The crypt() of the input, not the input itself, but guessing at the (PDP-11 assembly :/ ) code for crypt() a bit, it looks like it stops after 64 characters if it can’t find a null terminator before that, so 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef012345678901234567890123456789012345root:p3Y0ydAx: should work as an exploit, and indeed it does. (Arbitrary 64-character password, then 36 bytes to pad to the end of the 100-byte buffer, then the part of root’s /etc/passwd entry for said password until at least the second colon.)
- rst 11mo agoWell-known vulns are all over this code. For example, mkdir had a TOCTTOU which persisted into v7 (and I believe 2BSD); it was implemented as a setuid binary which did a mknod followed by a chown to create the directory. Code which invoked mkdir could set up a race replacing the root-owned directory, before the chown, with a link to something else -- which would then get chowned to the user running mkdir. The target had to be on the same filesystem as some writable directory, but on many installations of the day, a mkdir in /tmp followed by this race was good enough to get you ownership of /etc/passwd. This was finally cleaned up in 4.2bsd, when mkdir was made a single syscall which was guaranteed to alter only the particular inode it allocated.
- deleted 11mo ago[deleted]
- TZubiri 11mo agoGetting a rate limit error, but I haven't used the program.
- dim13 11mo agoGlad to have played with it a bit before it got Slashdotted. ;)
- Aperocky 11mo agoI wonder how hard is it to do the entire thing in browser/js. It seems hugged to death right now due to backend connections.
- PunchyHamster 11mo agopeople ran linux and win 95 in browser, would be fine
- mmastrac 11mo agoIf whoever wrote this wants to add an authentic (and somewhat period correct) terminal front-end, I wrote a VT420 hardware emulator that works in the browser and we can wire them together! https://mmastrac.github.io/blaze/ https://mmastrac.github.io/blaze/ (the API is undocumented but stupidly simple: an async js_read() function and a sync js_write() function)
- dboreham 11mo agoYou'll want VT-52 for this era.
- fl7305 11mo agoMore like the VT-05. The VT-52 came a few years later. But yeah, the VT-420 is way later. Fun fact: The VT-52 didn't have a loudspeaker for the bell sound. Instead, it had a electromechanical relay which was set up to self-oscillate. "Typing a character produced a noise by activating a relay. The relay was also used as a buzzer to sound the bell character, producing a sound that "has been compared to the sound of a '52 Chevy stripping its gears."
- Telemakhos 11mo agoYouTube has the sound: https://www.youtube.com/watch?v=bAafRXddfxc https://www.youtube.com/watch?v=bAafRXddfxc
- fl7305 11mo agoThanks, I remember it being much louder when I used it in the 80's. Made me jump out of the chair the first time I heard it.
- larsbrinkhoff 11mo agoI wrote a VT52 hardware simulation: https://github.com/larsbrinkhoff/terminal-simulator https://github.com/larsbrinkhoff/terminal-simulator
- timzaman 11mo agodeath by hn..
- xorvoid 11mo agoI'm amused at how circular this is. Unix v4 is first OS written in C, now running on top of an unbelievable amount of C (and C++). Classic circular computer science delight.
- omoikane 11mo agoI am glad it already has `ed`, the standard text editor. But it's lacking some features available in newer versions of ed, such as using 'n' to print line numbers.
- badc0ffee 11mo agoThe fi ligatures in the Help & Info section are killing me.
- dansquizsoft 11mo agoHey! So I'm actually the builder of UNIXV4.dev (via my company Squiz Software Pty Ltd). I went to bed last night with a couple of people poking around… woke up to a whole lot more. Appreciate the load test!! I’ve fixed the rate-limit issues people were hitting. There’s still a global cap of 100 concurrent sessions + per-user limits to keep things stable during spikes. I’ve also added an “Attributions & Acknowledgements” section. The backstory is wild: UNIX v4 being recovered from a ~1973 tape at the University of Utah after being effectively “lost” for decades. Reading about the recovery and then poking around in it under SIMH on my PC is what pushed me to wrap it up as a public, browser-based terminal that other people could take a look at - and hopefully get as much out of it as I did. Have fun exploring it all (especially all the primitive bits — remember: use "chdir" instead of "cd", and "#" is backspace). - Daniel
- nineteen999 11mo agoI spent about a week insulting Claude to get port it to x86_64. It's running nicely in QEMU. We're also trying to get the C compiler in there working as well.
- hulitu 10mo agoDo you use secure boot ?
- dveeden2 11mo agoThings that I noticed are not yet there in this version: /proc, uptime, uname Things that are working: `cal 2026`, coredumps Things that might be broken or aren't working as expected: ps (only returns "No mem") And utmp is in /tmp? And no /usr/sbin or /sbin? And nothing in /usr/local? The messages from `write root` are only in uppercase.
- btdmaster 11mo agoEverything really is a file: if you do `cat /` you'll get back the internal representation of the directory entries in / (analogous to ls) And they still had coredumps at the time if you press ctrl-\
- chuckadams 11mo agoI remember `cat` on directories working on Unixen much newer than v4. Not sure if it ever was the case on Linux tho.
- zahlman 11mo agoBeing able to cat directories like that doesn't surprise me as much as the contents being readable. Is there not a bunch of binary garbage in between the filenames?
- keepamovin 11mo agoAmber, always amber. Like the screens in Alien's Nostromo (1979). Thank you for this, I enjoy digital archaeology. :)