Accounts Guide

Creating an account, changing your password, and deleting your account in OSAWARE.

OSAWARE works without an account — your programs and files stay in your browser in LOCAL mode. When you create an account, your work syncs to the cloud and follows you to any device you log into.

This guide covers the three commands you need to manage your account: REGISTER, PASSWORD, and DELETEACCOUNT, plus the supporting commands LOGIN, LOGOUT, and WHOAMI.

📖

Getting Started

How OSAWARE storage works and what an account changes.

1 Overview

Every command you'll run in this guide is typed at the OSAWARE prompt (the ] character at the start of a line). You don't need to install anything. If you can see the OSAWARE terminal, you can run these commands.

The three account-management commands are all interactive — they prompt you for any sensitive information (like passwords) one step at a time, with characters hidden as you type. You can press ESC at any prompt to cancel without making changes.

2 Storage Modes

OSAWARE has three independent storage modes. They never mix and never see each other's data.

ModeWhere Data LivesSync Across Devices
LOCAL Your browser (localStorage) No
REAL OSAWARE backend (the cloud) Yes — log in anywhere
DEV In-memory sandbox (testing only) No — wiped on refresh

LOCAL is what you start with. The moment you create an account or log in, you switch to REAL mode and your LOCAL work is preserved in the background. When you log out, you're back in LOCAL with everything you had before.

Your LOCAL data is never destroyed by logging in Logging in hides your LOCAL programs and files for the duration of the session and shows you your account's data instead. The moment you LOGOUT, your LOCAL sandbox returns exactly as it was. Each account is fully isolated from every other account and from LOCAL.

Creating an Account

Register a new account, sign in, and check your status.

3 Register

At the OSAWARE prompt, type REGISTER followed by a username in quotes. You'll be asked for a password.

] REGISTER "alice"
Enter password: ******
Registered and logged in as alice
(your LOCAL data is preserved and will return on LOGOUT)

That's it. You're now logged in, and your programs and files will sync across any device where you sign in with the same username and password.

Username and Password Rules

FieldRules
Username3 to 32 characters · letters, digits, and underscores only
PasswordAt least 6 characters, up to 128
UniquenessUsernames are globally unique — if it's taken, REGISTER will say so
Pick a password you'll remember OSAWARE does not currently offer password reset by email. If you forget your password, you'll need to contact an administrator. Your data will still be there — but plan ahead and pick something memorable.

4 Check Who You Are

To check who you're currently signed in as, use WHOAMI. It prints your username, or local if you're not logged into any account.

] WHOAMI
alice

This is useful at any time, especially if you're switching between LOCAL work and your account.

5 Login & Logout

To log out and return to LOCAL mode, use LOGOUT:

] LOGOUT
Logged out (was alice)

To log back in later — from any device, anywhere — use LOGIN:

] LOGIN "alice"
Enter password: ******
Logged in as alice
Logging in from a new device The first time you sign in on a new device, OSAWARE pulls your account's data from the backend. Your programs and files appear exactly as they were on the device where you last saved them.
⚙️

Managing Your Account

Change your password or delete your account when you no longer need it.

6 Change Password

Type PASSWORD at the prompt. You'll be asked three things in order: your current password, your new password, and the new password again to confirm.

] PASSWORD
Current password: ******
New password: *********
Confirm new password: *********
Password changed

After a successful change, you stay logged in on the device where you ran the command. Other devices where the same account is signed in are logged out automatically — they will need to enter the new password to get back in.

Cancelling or correcting Press ESC at any of the three prompts to cancel without changing anything. If the two new passwords don't match, you'll see "passwords do not match — try again" and you can rerun PASSWORD from the start.

7 Delete Account

Type DELETEACCOUNT at the prompt. You'll see a warning, then be asked to type your username and enter your password to confirm.

] DELETEACCOUNT
WARNING: This will archive your account.
  - You will be logged out everywhere
  - Your username will be freed for re-registration
  - Your data is preserved (admin can restore later)
Press ESC at any prompt to cancel.
Type your username to confirm: alice
Enter password to confirm: ******
Account archived: alice
You have been logged out. Your LOCAL data has returned.
This is a serious action Although your data is preserved on the server (so an administrator can restore it on request), you will be immediately logged out on every device, and your username will be released so anyone else can register it. Make sure this is what you want before confirming.

What Actually Happens

If you typed the wrong username You'll see "username does not match — cancelled" and your account is completely untouched. Pressing ESC at either prompt also cancels safely with no changes.
📋

Reference

Quick command lookup and common questions.

8 Command Reference

CommandWhat It Does
REGISTER "user" Create an account (prompts for password)
LOGIN "user" Sign in to an existing account (prompts for password)
LOGOUT Sign out and return to LOCAL mode
WHOAMI Print current account, or "local"
PASSWORD Change own password (3 masked prompts)
DELETEACCOUNT Archive own account and log out everywhere

For full BASIC documentation, type HELP at the OSAWARE prompt. For more on accounts specifically, type HELP AUTH.

9 Troubleshooting

"username already taken"

Someone else has already registered that name. Pick another. Usernames are first-come-first-served and there's no way to claim one that's in use, even if it appears inactive.

"invalid credentials"

The username and password combination doesn't match anything in the system. Double-check both — usernames are case-sensitive in the database, and so are passwords.

"new password must differ from current password"

The PASSWORD command rejects an unchanged password. Pick something genuinely new.

I changed my password and now another browser tab is signed out

That's expected. Changing your password invalidates all sessions except the one you used to make the change. Just sign in again on the other device with the new password.

I deleted my account by mistake

Your data is preserved on the server. Contact an administrator to request a restore. The username, however, may have been claimed by someone else in the interim — restoration will use a different username if needed.


OSAWARE · www.osaware.com