What SD Core Solo for Linux leaves out, adds and does differently.
SD Core Solo for Linux LS2.0-0 is the single-user edition of SD Core for Linux
LC2.0-0, and the language, the query processor, the file system, the editors,
the full-screen pages and nearly every command are the same. This page is for a
reader who knows the multiuser product. The User set applies to both.
a local sign-in asks for no SD password — Linux has authenticated you
every session asks for the account password: at the keyboard, over ssh, and through the API
a command on the command line (sd list customers) needs no password
sd-solo list customers uses a copy of the account password kept for you, in a file only you can read, so scripts and scheduled jobs need no typing
administration is being SDSYS
administration is admin and a password set at installation
modify.password, run by SDSYS
set.password: your own account password with no admin (it asks the current one), set.password admin after admin, set.password global by the SD Core for Linux server only. It also updates the kept copy
remote.sdsys, the administrator's ssh door
not in Solo: there is no sdsys to let in
The kept copy is the password itself, in clear, in a file only you can
read (mode 0600, in a 0700 directory), because Linux has nothing that lets a
job with no session unlock a secret for you. Anyone who can read your files can
read it, as they could read a ~/.pgpass. See
The account and its passwords.
the administrator verbs are SDSYS's, and only SDSYS has them
the same verbs are in your account and need admin first — including eight that had no check of their own because only SDSYS had them: CONFIG, LISTU, LIST.LOCKS, LIST.READU, LOCK, CLEAR.LOCKS, SET.DATE, CLEAN.ACCOUNT (CONFIG GPL and CONFIG CONTRIB, which the sign-on banner tells everyone to type, need no admin)
the edit gates voc-edit, bp-edit and dict-edit, per account
no edit gates.ED VOC, a program's WRITE or DELETE to the VOC, COPY into it, and saving or deleting a sentence with .S and .Dneed admin. What SD writes to the VOC as a side effect — CREATE.FILE's entry, the command stack — does not
the sh, os, net and ai gates of each account, set with modify.account
the same switches for the one account, set with set.os.access (sh, os), set.net.access and set.ai gate after admin; off as delivered. See Operating system access
SDSYS can CATALOG ... GLOBAL
nobody changes the global catalog, admin or not. On a managed computer it holds the SD Core for Linux server's programs. See Other hardening
remote.ssh {on \| off} moves the firewall rule for port 22; remote.api {on \| local \| off} the system socket and the firewall
remote.ssh and remote.api, each off, local or open, move Solo's own socket units (ports 4251 and 4249) and never a firewall. See ssh access and API access
update.accounts updates every account
updates the one account, and an upgrade runs it for you
scheduled jobs defined by SDSYS (set.job, tool.jobs) and run as a system service
scheduled jobs are yours: any scheduler that can run sd-solocommand. See Scheduled jobs
run.in and basic ... no.catalog, to work in another account from SDSYS
not in Solo: there is no other account
the master files page tool.entries, and the account holder's gate page tool.mygates
not in Solo
the shared account (shared), its group and its documentation directory
not in Solo. The documentation PDFs are in ~/SDCoreSolo/pdf, and pdf shows one
the audit trail is written by a root daemon
you write your own audit trail: nothing in Solo is root
New in Solo. A computer installed with a global password is managed: an
SD Core for Linux server also manages it and signs in with that password. The
installer lets the global password be left blank, in which case no server manages
the computer; there is no "standalone or managed" question. The server can put compiled programs into the global
catalog (global.bp.out, sync.global.catalog), keep a list of commands
the user may not run (deny.verbs), and administer the account's files over the
API (indices, configure.file, create.file, delete.file). An installer control file,
sd-solo-setup.conf, sets up many computers the same way, leaving the account
password to be chosen at first login. The server can also install its
own ssh key over the API, and the client library pins a server's TLS certificate
the first time it connects. See Managed mode.
installsdcore.sh, run by a user who can sudo, installs for the computer
installsdsolo.sh installs for one user, all in ~/SDCoreSolo, run as that user. sudo only for the build packages, a firewall rule and linger
the installer asks whether a session starts at the home screen or the command prompt
no question: a session starts at the home screen; set.start.default terminal (after admin) changes it
deletesdcore.sh, and an upgrade is uninstall-keeping-accounts then install
deletesdsolo.sh, and installsdsolo.sh --upgrade upgrades in place with a safety copy that is put back if anything fails
a system sd.service and sdclient.socket
user units: sd-solo.service, and with an API sd-solo-api.socket, and with ssh sd-solo-ssh.socket. They run as you, and stop when your last session ends unless you enabled linger
the system programs' BASIC source is installed
compiled programs only; no system source is installed
sd -internal needs sudo
sd-solo -internal is closed once the installer has finished: it needs a one-shot marker file the installer writes before each of its own steps
each account lands in sd over ssh on port 22 (ForceCommand for the group)
Solo runs its own ssh listener on port 4251, as you, with no sudo and no change to the computer's ssh server, so both products can be installed and reached together. You sign in with your Linux account name and password (a key is optional), straight into sd-solo; no shell, no scp/sftp, no forwarding. See ssh access
the API on port 4247
the API on port 4249, off unless chosen when installing
SDConnectLocal is disabled: a client connects with SDConnect and the account password.
The files route of the API (the Linux groups sdfiles, sdfileswrite and sdfilesadmin) is not in Solo; API request 29 is behind the NET gate and NETFILES.
option inherit.ownership is not in Solo: every file is yours already.
A session reading from a pipe ends at end of input, with or without
OFF, instead of waiting at the prompt.
The audit trail is not append-only. The multiuser product can make it
so with chattr +a, which needs root; Solo cannot, so you can edit your own
audit trail. It is a record for you, not evidence against you.
The API's TLS relay cannot become nobody, because nothing in Solo is
root. The same system-call filter that SD Core puts on it after it has dropped
its privileges is all that locks it down here: the relay can copy bytes and
nothing else, and it is killed if it tries to open a file, make a connection
or run a program.