Version 0.6.3
-----------------------
(mab) mods date tagged in source as 20240219 and 20240225 mab
Remove the ability to run the system in "insecure mode".
Remove SECURITY program from GPL.BP and $secure from gcat
Do not allow kernel(K$SECURE, >=0) to reset security flag.
VM - Add CHOWN function to OSPATH.
Example: CALL ospath(chown_parm,OS$CHOWN)
where chown_parm is a VM separated string <owner_name> VM <group_name> VM <file_path>
Note in version 2.6.6 OSPATH is an internal function (requires -internal at login to compile).
Also for most OS$CHOWN operations to work, user will need to be root.
GPL.BP/LOGIN
No longer allow NETWORK or SERIAL connections.
Always run in secure mode.
Do not auto create missing user account.
System admin will need to add user to sdusers group and create user default account ("create-account USER <username>" , see below) prior user login.
Change login behavior to:
on command:
sd -a<account> - if account exists, login otherwise terminate connection.
sd - if /home/sd/user_accounts/<username> exists, log to user account
else display "Account <user> not in register" and terminate connection
User must be member of sdusers group, if not terminate connection.
Note - This changes the current behavior of logging into the account found at the current directory.
Remove option to create account.
Mod CREATE-ACCOUNT
Rem was
CREATE.ACCOUNT
acc.name pathname {NO.QUERY}
Now
CREATE.ACCOUNT USER <username> {NO.QUERY} - account created in /home/sd/user_accounts/<username>, owner:group set to <username>:<username>
<username> must be found in sdusers group!
CREATE.ACCOUNT GROUP
acc.name {NO.QUERY} - account created in /home/sd/group_accounts/<
acc.name>, owner:group set to root:sdusers
CREATE.ACCOUNT OTHER
acc.name pathname {NO.QUERY} - account created in pathname, owner:group set to root:sdusers
User must be privileged (root) to use CREATE-ACCOUNT verb.
Mod DELETE-ACCOUNT
User must be privileged (root) to use DELETE-ACCOUNT verb.
Add to install script:
Create directories /home/sd/user_accounts and /home/sd/group_accounts
Add command to create user account in /home/sd/user_accounts/<$tuser>
Implementing AF_UNIX sockets (and removing AF_INET). All remote connections will only be allowed via a tunnel (ssh tunnel).
API changes:
Rebrand the GPL.BP/VBSRVR to APISRVR and associated notation.
SDConnectlocal(Account) - No Change. This connection method only works on the local system. It creates a forked process of sd and communicates via pipes,
no network involved.
SDConnectUDS(Account) - New connection method mostly for testing. This is still a local system connection only,
but connects via the Unix Domain Socket /tmp/sdsys/sdclient.socket. Connection method connects as initiating local user (the peer).
SDConnect(Host,Port,UserName,Password,Account) - Connect from remote via ssh tunnel.
If configuration file has APILOGIN=1 or not found: User and Password are validated, API server process runs with usr_id and grp_id as UserName
(remember all server connections start out as root).
If APILOGIN=0: UserName and Password are NOT validated, API server process runs with usr_id and grp_id as the User creating the ssh tunnel (peer)
User still must be a valid linux user.
Regardless of connection method, User MUST be member of sdusers group!
Update MESSAGES file, change references from SCARLETDME to String Database (sd)
Remove hold over users in $LOGINS
NOTE!! In order for this rev to build, libbsd-dev must be installed (sudo apt-get install libbsd-dev)
(mab) Create separate revision numbers for both the Virtual Machine and SD (defined in gplsrc/revstamp.h).
(mab) Add to SYSLOG sd command line.
(dsm) Created Depreciated directory for features that have been removed or modified from original function.
GPL.BP.zip contains code for removed features.
SD.VOCLIB.zip contains LISTxx code for 80x24 screen size.
(dsm) modified install script to be ubuntu specific and removed nosudo scripts.
added install of required os utilities and libraries.
The shared pcloud directory now contains zip files for the two ScarletDME installers that I created as well as all three releases of SD; 0.6.1, 0.6.2 & 0.6.3.