diff --git a/site/_includes/footer_custom.html b/site/_includes/footer_custom.html
index 44c92c9e..6fdcd310 100644
--- a/site/_includes/footer_custom.html
+++ b/site/_includes/footer_custom.html
@@ -1,4 +1,4 @@
-
Checked against tacctl 0.2.28 · Reference: the repository docs and man tacctl · About These Docs
+Checked against tacctl 0.2.29 · Reference: the repository docs and man tacctl · About These Docs
© 2026 Everett C. Haimes III. MIT licensed.
{%- capture issue_title %}docs: {{ page.title }}{% endcapture -%}
{%- capture issue_body %}Page: {{ page.url | absolute_url }}
diff --git a/site/about-these-docs.md b/site/about-these-docs.md
index 7fa12bd8..29af06b9 100644
--- a/site/about-these-docs.md
+++ b/site/about-these-docs.md
@@ -8,7 +8,7 @@ doctype: explanation
# About These Docs
-*What this documentation covers, how it relates to the repository docs, and the conventions it follows · Checked against tacctl 0.2.28*
+*What this documentation covers, how it relates to the repository docs, and the conventions it follows · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-about-these-docs.pdf){: .pdf-link }
diff --git a/site/access-lifecycle.md b/site/access-lifecycle.md
index 2851955a..00fbc2df 100644
--- a/site/access-lifecycle.md
+++ b/site/access-lifecycle.md
@@ -9,7 +9,7 @@ doctype: how-to
# Access Lifecycle
-*Joiners, movers and leavers · Checked against tacctl 0.2.28*
+*Joiners, movers and leavers · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-access-lifecycle.pdf){: .pdf-link }
@@ -80,12 +80,23 @@ tacctl user email alice clear # remove it
``, and the `user email` line says only `op=set` or `op=clear`.
Names are lower case: letters, digits, `_` and `-` (`alice-smith`). A period
-is refused, because every user has an account on the tacctl server and a
-period cannot be part of a Linux account name. Every `user` verb, `passwd`
-and `config linux uid` refuse it, whether the user exists or not, with
-`Username must contain only letters, numbers, underscores and hyphens (a
-period cannot be part of a Linux account name).` `root` and `tacquito` are
-reserved.
+is refused, because a user gets an account on the tacctl server only when
+the name is a Linux account name, and a period cannot be part of one. Every
+`user` verb, `passwd` and `config linux uid` refuse it, whether the user
+exists or not, with `Username must contain only letters, numbers,
+underscores and hyphens (a period cannot be part of a Linux account name).`
+`root` and `tacquito` are reserved.
+
+A new name is at most 32 characters, the longest a Linux account name can
+be (0.2.29). `user add` and the new name of `user rename` refuse a longer
+one and change nothing: `Username '' is 33 characters; a user name is
+at most 32 (the longest a Linux account name can be).` A user an earlier
+release stored with a longer name keeps working (shown, changed, renamed
+and removed as before; `backup restore` and `tacctl upgrade` carry it), but
+has no account on the server or on a host; `tacctl config validate` lists it
+under `Names:`. Rename it with `tacctl user rename `. A
+name that starts with a digit or `-` (`1alice`) is still accepted, but has
+no account either.
**A user stored with a period: the upgrade renames it (0.2.26).** 0.2.20 and
0.2.21 accepted a period, so a store from then can still hold a name with one
@@ -267,8 +278,9 @@ make the change; otherwise the command says why and sets nothing. A user
cannot when:
- the server is not enrolled (`tacctl host enroll --local`);
-- the name has upper case letters, so it is no Linux account name (a
- leftover from before new names were lower case; rename it);
+- the name is no Linux account name: it has upper case letters or more
+ than 32 characters (a leftover from an earlier release), or starts with
+ a digit or `-` (rename it);
- the user is disabled;
- the user's group has no privilege level;
- the server is still registered in a scope it shares with devices (an
diff --git a/site/audit-and-compliance.md b/site/audit-and-compliance.md
index eb8e3802..a421f3ba 100644
--- a/site/audit-and-compliance.md
+++ b/site/audit-and-compliance.md
@@ -9,7 +9,7 @@ doctype: how-to
# Audit and Compliance
-*Audit trail, evidence and periodic reviews · Checked against tacctl 0.2.28*
+*Audit trail, evidence and periodic reviews · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-audit-and-compliance.pdf){: .pdf-link }
diff --git a/site/backups-and-undo.md b/site/backups-and-undo.md
index 875aec49..5953bc79 100644
--- a/site/backups-and-undo.md
+++ b/site/backups-and-undo.md
@@ -9,7 +9,7 @@ doctype: how-to
# Backups and Undo
-*Snapshots, comparing them, and restoring tacctl's configuration · Checked against tacctl 0.2.28*
+*Snapshots, comparing them, and restoring tacctl's configuration · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-backups-and-undo.pdf){: .pdf-link }
@@ -217,21 +217,21 @@ before it again, a superuser converts the state with `tacctl rollback`
first, then installs that release:
```bash
-tacctl rollback 0.2.27 # the dry run: its steps and warnings; writes nothing
-tacctl rollback 0.2.27 --apply # convert the state (add --yes when it warns)
-tacctl upgrade --branch 0.2.27 # install 0.2.27
+tacctl rollback 0.2.28 # the dry run: its steps and warnings; writes nothing
+tacctl rollback 0.2.28 --apply # convert the state (add --yes when it warns)
+tacctl upgrade --branch 0.2.28 # install 0.2.28
```
-`tacctl rollback` takes fourteen targets: `0.2.27`, the release before this
-one, and also `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`, `0.2.22`, `0.2.21`, `0.2.20`,
-`0.2.19`, `0.2.18`, `0.2.17`, `0.2.16`, `0.2.9` and `0.2.3`. It refuses, the
+`tacctl rollback` takes fifteen targets: `0.2.28`, the release before this
+one, and also `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`, `0.2.22`, `0.2.21`,
+`0.2.20`, `0.2.19`, `0.2.18`, `0.2.17`, `0.2.16`, `0.2.9` and `0.2.3`. It refuses, the
dry run too and with nothing changed:
- while a Junos apply is not settled (`PENDING` or unknown);
- when the store cannot be read: a limit that cannot be seen is not hidden;
-- for every target but `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`,
+- for every target but `0.2.28`, `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`,
`0.2.22`, `0.2.21`, `0.2.20` and `0.2.19`, while an emergency lockdown locks a group;
-- for every target but `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24` and `0.2.23`, while an emergency
+- for every target but `0.2.28`, `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24` and `0.2.23`, while an emergency
lockdown has enrolled hosts, or a lifted one still waits for a host: an
older release cannot lift sshd's lockdown drop-in on a host. The refusal
names the hosts: lift the lockdown, then `tacctl host sync `.
@@ -241,38 +241,52 @@ dry run too and with nothing changed:
who has file transfer, and the quotas and rates). No release before 0.2.28
reads that key, 0.2.27 included (its reader answers `settings: unknown key
'file_transfer'`, the console falls back to its defaults and the commands
-that write the file fail), so **every target removes it**. With the settings
+that write the file fail), so **every target but `0.2.28` removes it**
+(0.2.28 reads it, as this release does). With the settings
set, `--apply` takes a snapshot first, removes the key, keeps every other
setting and needs no `--yes`; the dry run lists the removal as a step of its
own with what it held. It ends with a note: until the older release is
installed, run no `tacctl console file-transfer` that sets something (it
writes the key again; run the rollback again if one was run), and the
-snapshot holds the 0.2.28 state, which only 0.2.28 restores. The settings are
+snapshot holds the 0.2.29 state, which only 0.2.29 restores. The settings are
kept nowhere else: **set them again after the upgrade.**
-The target `0.2.27` converts nothing else. 0.2.27 reads every file this
-release writes but that one setting, so with the file transfer settings unset
+The target `0.2.28` converts **nothing**. 0.2.28 reads every file this
+release writes, so the rollback removes no key and no field, takes no
+snapshot, needs no `--yes` and leaves every file alone: the file transfer
+settings, the limits of the stored reports, the chassis members of the pull
+records, the reports in the users' homes, the per-tier sudoers drop-in and
+everything else stay. It still refuses while a device's apply is not settled,
+and it ends with `tacctl upgrade --branch 0.2.28`, with no closing note. What
+this release changed outside the stored files is 0.2.28's to undo or keep:
+after that upgrade a file uploaded through the console is 0600 again (0644
+less the umask) whatever mode the client asks for; the files uploaded in
+between keep their mode.
+
+The target `0.2.27` converts nothing but the file transfer settings above.
+0.2.27 reads every file 0.2.28 and this release write but that one setting,
+so with the file transfer settings unset
the rollback removes no key and no field, takes no snapshot, needs no `--yes`
and leaves every file alone. The limits of the stored reports, the chassis
members of the pull records, every report in the users' homes (the PDF ones
included), the marker `/var/lib/tacctl/pdf-tools-offered` with its packages,
the per-tier sudoers drop-in, the break-glass firewall and the other
settings 0.2.27 knows all stay. It still refuses while a device's apply is
-not settled, and it ends with `tacctl upgrade --branch 0.2.27`. What this
-release changed outside the stored files is 0.2.27's to undo or keep: after
-the rollback the support bundle of a Cisco IOS device starts its identity
+not settled, and it ends with `tacctl upgrade --branch 0.2.27`. What 0.2.28
+and this release changed outside the stored files is 0.2.27's to undo or
+keep: after the rollback the support bundle of a Cisco IOS device starts its identity
lines with the tail of a long command's echo again; bundles made in between
stay as they were made.
The target `0.2.26` converts **nothing but the file transfer settings**
-above. 0.2.27 and this release changed no other stored file 0.2.26 reads
+above. 0.2.27, 0.2.28 and this release changed no other stored file 0.2.26 reads
strictly, so with those settings unset the rollback removes no key and no
field, takes no snapshot, needs no `--yes` and leaves every file alone. The
limits of the stored reports, the chassis members of the pull records, every
report in the users' homes, the per-tier sudoers drop-in, the break-glass
firewall and the other settings 0.2.26 knows all stay. It still refuses while
a device's apply is not settled, and it ends with `tacctl upgrade --branch
-0.2.26`. What 0.2.27 and this release changed outside the stored files is
+0.2.26`. What 0.2.27, 0.2.28 and this release changed outside the stored files is
0.2.26's to undo or keep: after the rollback a row of `show switch` with a
blank version column is not read again, and the reports of a user below the
operator tier hold the model, serial number and release again, as in 0.2.26.
@@ -290,7 +304,7 @@ rename it before a rollback to 0.2.26 or older.
The target `0.2.25` removes the **limits of the stored reports** and converts
nothing else but the file transfer settings above. 0.2.25 reads every file
-0.2.26, 0.2.27 and this release write but those limits, so the rollback removes `reports.max_size` and `reports.max_count` from
+0.2.26 to 0.2.28 and this release write but those limits, so the rollback removes `reports.max_size` and `reports.max_count` from
`tacctl.yaml` and the users' own `reports_max_size` and `reports_max_count`
from `store.yaml` (0.2.25 refuses both: its `config validate` reports the
keys, its `backup restore` refuses a snapshot that has them, and every store
@@ -298,8 +312,8 @@ command fails on the fields).
- With none of them set (and no file transfer settings), it converts nothing,
takes no snapshot and needs no `--yes`. With a setting or a limit it takes
- a snapshot first, and says that the snapshot holds the 0.2.28 state and is
- to be restored with 0.2.28 only,
+ a snapshot first, and says that the snapshot holds the 0.2.29 state and is
+ to be restored with 0.2.29 only,
and says what 0.2.25's restore refuses: a `tacctl.yaml` with a key it does
not know (a setting was removed), a `store.yaml` with a field it does not
know (only a user's own limit was), or both.
@@ -312,7 +326,7 @@ command fails on the fields).
or `max-count `); `backup recover` does not bring them back.
- It puts back the per-tier sudoers drop-in 0.2.25 wrote (this release's
without the rows of `device reports`) when the file is exactly the text
- 0.2.26, 0.2.27 and this release write: the dry run shows the step, `--apply` writes it after
+ 0.2.26 to 0.2.28 and this release write: the dry run shows the step, `--apply` writes it after
`visudo -cf`, and a file `tacctl` did not write is left.
- **What stays.** The chassis `members` of the pull records (0.2.25 ignores
the key) and every report in the users' homes. The reports are the users'
@@ -336,11 +350,11 @@ master prints its own label is rolled back again, as in 0.2.24.
The target `0.2.23` removes the limits as above, and the one key 0.2.24 added
to the stored files, the setting of the break-glass firewall: after a snapshot,
when the setting is set, together with the nftables table, its rules file and
-its boot unit (every target but `0.2.27`, `0.2.26`, `0.2.25` and `0.2.24` does; the nftables
+its boot unit (every target but `0.2.28`, `0.2.27`, `0.2.26`, `0.2.25` and `0.2.24` does; the nftables
package stays). With the key unset, no firewall file and no limit it takes no
snapshot and needs no `--yes`. It also puts back 0.2.23's sudoers drop-in,
without the operator's `log failures *`, when the file is exactly the text
-0.2.24 and 0.2.25 wrote, or the one 0.2.26, 0.2.27 and this release write.
+0.2.24 and 0.2.25 wrote, or the one 0.2.26 to 0.2.28 and this release write.
> **A hold that stands stays, without the firewall.** The older release's
> server completes the TCP handshake of the held address again, so a device
@@ -380,8 +394,8 @@ you add `--yes`:
| The dry run warns of | What happens after the rollback | What to do first |
|---|---|---|
-| Users who log in to the server and lack its scope (every target but `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`, `0.2.22` and `0.2.21`) | The plan adds the scope of the server's own login (`tacctl`) to the scopes of each, and names them, because an older release answers that login only for users who have it. A warning, so `--apply` needs `--yes`. | Nothing: it is part of the rollback |
-| Users with an email address, or SNMPv3 users beyond one per level (every target but `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24` and `0.2.23`) | They are removed, and the rollback keeps the snapshot that holds them | After the upgrade, `tacctl backup recover ` (§4.3) |
+| Users who log in to the server and lack its scope (every target but `0.2.28`, `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24`, `0.2.23`, `0.2.22` and `0.2.21`) | The plan adds the scope of the server's own login (`tacctl`) to the scopes of each, and names them, because an older release answers that login only for users who have it. A warning, so `--apply` needs `--yes`. | Nothing: it is part of the rollback |
+| Users with an email address, or SNMPv3 users beyond one per level (every target but `0.2.28`, `0.2.27`, `0.2.26`, `0.2.25`, `0.2.24` and `0.2.23`) | They are removed, and the rollback keeps the snapshot that holds them | After the upgrade, `tacctl backup recover ` (§4.3) |
| Users with a limit of their own for the stored reports (every target before `0.2.26`) | The limits are removed (`--apply` needs `--yes`), and the snapshot holds them. The dry run names each user with the values; the audit line names the users, never a value | After the upgrade, set them again with `tacctl user reports-limit` (`backup recover` does not bring them back) |
| Users who must change their password | The requirement is removed. Once the older release renders, those users (superusers aside) can log in to the devices with the password they were to change. | Have them change it, or keep this release |
| Scopes with a strict Junos management filter | The mode is removed. The older release plans the `ssh-only` filter, which accepts by default again. | Keep this release, or leave those scopes' filters out of the older release's plans |
@@ -390,7 +404,7 @@ you add `--yes`:
Without a warning, the rollback also removes the console's colour setting
and the per-user system-shell and password-cache choices, and writes a
-`list-max` that never asks as 1000. Every target removes the file transfer
+`list-max` that never asks as 1000. Every target but `0.2.28` removes the file transfer
settings (see above), with a snapshot first and no `--yes`.
> **Until the older release is installed,** do not run
@@ -432,7 +446,7 @@ Every step, per target, is in the repository's
| Remove the kept copy | `tacctl backup unkeep ` | Superuser |
| Put back only email addresses or SNMPv3 users | `tacctl backup recover [--only email,snmp-users]` | Superuser |
| Find the snapshot before a change | `journalctl -t tacctl \| grep 'cmd end'` | Superuser |
-| Prepare the release before this one (dry run) | `tacctl rollback 0.2.27` | Superuser |
+| Prepare the release before this one (dry run) | `tacctl rollback 0.2.28` | Superuser |
---
diff --git a/site/break-glass.md b/site/break-glass.md
index 94c40710..b163d5a7 100644
--- a/site/break-glass.md
+++ b/site/break-glass.md
@@ -9,7 +9,7 @@ doctype: how-to
# Break Glass
-*Local emergency accounts, and holding a device or host back from the server · Checked against tacctl 0.2.28*
+*Local emergency accounts, and holding a device or host back from the server · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-break-glass.pdf){: .pdf-link }
@@ -162,6 +162,18 @@ refuses the connection before tacquito sees it.
| WTI | Works only if the unit's TACACS+ *Fallback Local* is `On`. With `Off`, nobody gets in until you release the hold; use the serial console. |
| Linux host | The host's local administrator and its console work. tacctl users cannot log in or use `sudo` there. |
+From the tacctl server (its console included), an engineer or superuser
+reaches a held device as its local account with `--login` (0.2.29):
+
+```bash
+tacctl ssh sw1 --login netadmin # the device asks for netadmin's password
+```
+
+The device needs a pinned host key and must be in one of your scopes. The
+device asks for the account's password itself; tacctl never asks for it or
+keeps it. The session's audit lines carry `login=netadmin`. An enrolled host
+is refused: hosts are reached as you.
+
The engineer can print the back-out for the failed change with
`tacctl device config plan sw1 --backout`.
@@ -175,6 +187,8 @@ The engineer can print the back-out for the failed change with
- `host sync`, `enroll`, `move`, `unenroll` and `forget` refuse a held host,
and `host sync --all` skips it (and names it).
- `tacctl ssh` warns you and connects; your tacctl login will fail there.
+ With `--login ` (§3) the warning says you log in as the
+ device's local account, and the session goes on.
---
@@ -206,6 +220,7 @@ held address again ([Backups and Undo](backups-and-undo.md) §5).
| Record Junos `root` | `tacctl scope breakglass add root` | Superuser |
| Hold | `tacctl breakglass hold --reason ""` | Superuser |
| List holds | `tacctl breakglass list` | Engineer (own scopes) |
+| Log in to a held device as a local account | `tacctl ssh --login ` | Engineer (own scopes) |
| Release | `tacctl breakglass release ` | Superuser |
| Set what the server does with a held address's TCP connections | `tacctl config breakglass-firewall [reject\|drop\|off]` | Superuser |
| Back-out for the failed change | `tacctl device config plan --backout` | Engineer |
diff --git a/site/command-reference-map.md b/site/command-reference-map.md
index 5465e9e8..49c0ead4 100644
--- a/site/command-reference-map.md
+++ b/site/command-reference-map.md
@@ -9,7 +9,7 @@ doctype: reference
# Command Reference Map
-*From each tacctl command family to its reference page and the task page that uses it · Checked against tacctl 0.2.28*
+*From each tacctl command family to its reference page and the task page that uses it · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-command-reference-map.pdf){: .pdf-link }
@@ -41,7 +41,7 @@ both.
| `tacctl emergency` | Emergency lockdown, devices and enrolled hosts | [Emergency commands](https://github.com/rett/tacctl/blob/master/docs/cli/emergency.md) | [Emergency Lockdown](emergency-lockdown.md) |
| `tacctl log` | Authentication logs, failures, accounting, with filters by time, user, device and kind, and `--json` | [Maintenance commands](https://github.com/rett/tacctl/blob/master/docs/cli/maintenance.md) | [Day-to-Day Device Operations](day-to-day-device-operations.md) §1.4, [Superuser Daily Operations](superuser-daily-operations.md) §9, [Audit and Compliance](audit-and-compliance.md) §1, [Troubleshooting](troubleshooting.md) |
| `tacctl backup` | Snapshots, diff, restore (also of a snapshot that holds a user with a period), keep, unkeep, recover | [Maintenance commands](https://github.com/rett/tacctl/blob/master/docs/cli/maintenance.md) | [Backups and Undo](backups-and-undo.md) §4.4 |
-| `tacctl upgrade`, `rollback` | Updating tacctl, which renames users whose name has a period; preparing the state for an earlier release (`rollback 0.2.27` is the release before); the upgrade offers the PDF tools of the device reports, once | [Upgrading](https://github.com/rett/tacctl/blob/master/docs/install/upgrading.md) | [Access Lifecycle](access-lifecycle.md) §2, [Backups and Undo](backups-and-undo.md) §5 |
+| `tacctl upgrade`, `rollback` | Updating tacctl, which renames users whose name has a period; preparing the state for an earlier release (`rollback 0.2.28` is the release before); the upgrade offers the PDF tools of the device reports, once | [Upgrading](https://github.com/rett/tacctl/blob/master/docs/install/upgrading.md) | [Access Lifecycle](access-lifecycle.md) §2, [Backups and Undo](backups-and-undo.md) §5 |
| `tacctl backend`, `store` | Backends and the store | [Maintenance commands](https://github.com/rett/tacctl/blob/master/docs/cli/maintenance.md) | Out of scope for this documentation |
| `tacctl config` | Settings (including the server's timing scale, `config devices timeout-scale`, the SNMP defaults of `config snmp`, the break-glass firewall and the limits of the stored reports, `config reports`) and the device configuration walkthroughs | [Config commands](https://github.com/rett/tacctl/blob/master/docs/cli/config.md), [tacctl.yaml settings](https://github.com/rett/tacctl/blob/master/docs/cli/tunables.md) | [Vendor Notes](vendor-notes.md), [Superuser Daily Operations](superuser-daily-operations.md) §4.9, §4.10, [Break Glass](break-glass.md) §2.1 |
| `tacctl server` | This server's own settings: an overview, its console name, the address devices and hosts reach it at, listeners, the metrics exporter | [Server commands](https://github.com/rett/tacctl/blob/master/docs/cli/server.md) | [Superuser Daily Operations](superuser-daily-operations.md) §11 |
diff --git a/site/concepts.md b/site/concepts.md
index 7b1dfc39..432a8ba2 100644
--- a/site/concepts.md
+++ b/site/concepts.md
@@ -9,7 +9,7 @@ doctype: explanation
# Concepts
-*Users, groups, scopes and tiers, and the other words tacctl uses · Checked against tacctl 0.2.28*
+*Users, groups, scopes and tiers, and the other words tacctl uses · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-concepts.pdf){: .pdf-link }
diff --git a/site/connecting-to-devices.md b/site/connecting-to-devices.md
index f3475041..05fc1d1b 100644
--- a/site/connecting-to-devices.md
+++ b/site/connecting-to-devices.md
@@ -9,7 +9,7 @@ doctype: how-to
# Connecting to Devices
-*tacctl ssh by name, plain ssh with pinned keys, and what to do when a connection is refused · Checked against tacctl 0.2.28*
+*tacctl ssh by name, plain ssh with pinned keys, and what to do when a connection is refused · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-connecting-to-devices.pdf){: .pdf-link }
@@ -54,7 +54,8 @@ device brings you back.
How the login works:
- ssh runs **as you**, with your own tacctl username and password. No
- agent, no key, no other login. As root it refuses.
+ agent, no key, no other login (but a device's local account, below). As
+ root it refuses.
- Only an active tacctl user whose scopes include the device's scope may
connect, at every tier. A refusal is logged (`ssh DENY`).
- ssh accepts only the host keys pinned for that device in the registry.
@@ -75,6 +76,27 @@ In a system shell, `tacctl shell --password-cache` does the same for one
shell session. The ssh audit line ends `password=asked` for the line that
prompted and `password=cached` for a line that used the cache.
+**As a local account of the device (0.2.29).** Engineers and superusers can
+log in as one of the device's own accounts instead of as themselves: the way
+in while a [break-glass hold](break-glass.md) stands, and the way to log in
+as another account in the console, where the words after `--` are the remote
+command and ssh's own `-l` is refused.
+
+```bash
+tacctl ssh sw1 --login admin # as the device's local account admin
+```
+
+- It works for registered devices of any vendor; an enrolled host is
+ refused, since hosts are reached as you.
+- The device needs a pinned host key: without one the line is refused and
+ names `tacctl device hostkey accept`, because a local password
+ goes only to a device whose key was verified.
+- The device must be in one of your scopes, as for every ssh.
+- The device asks for the account's password at its own prompt. tacctl never
+ asks for it, caches it or stores it, and the password cache is not used.
+- The session's audit lines carry `login=admin`; a refusal is
+ `ssh DENY ... reason=login-host` or `reason=login-unpinned`.
+
---
## 3. Plain `ssh` and `scp`
@@ -104,7 +126,7 @@ ssh sw1
| Device `unconfigured` | No scope covers its address | A superuser adds the prefix to a scope | S |
| **Pinned and offered fingerprints printed** | The device's host key changed: replaced, reset, upgraded, or something is wrong | **Stop.** Follow §5. Never bypass the pin. | E |
| Unpinned device refused for a pull | No key is pinned | Check the key on the console, then `tacctl device hostkey accept` | E |
-| Warning that break-glass is held | The server is deliberately not answering this device | Your tacctl login will fail there. `tacctl device show ` says who holds it and why. | — |
+| Warning that break-glass is held | The server is deliberately not answering this device | Your tacctl login will fail there. `tacctl device show ` says who holds it and why. An engineer can log in as a local account: `--login ` (§2). | — |
| Red `EMERGENCY LOCKDOWN` line | Your group is locked out of the scope | Expected during an incident. Contact the superuser named in the line. | — |
| Refused as root | ssh always runs as you | Run it from your own account | — |
| Old IOS: ssh negotiation fails | The device offers only legacy algorithms | `tacctl device legacy-ssh enable` | E |
@@ -245,6 +267,7 @@ run goes, use `--timing`
| Find a device | `tacctl device list ` | Everyone |
| Connect | `tacctl ssh ` | Everyone (own scopes) |
| One command | `tacctl ssh -- ` | Everyone |
+| As a local account of the device | `tacctl ssh --login ` | Engineer |
| Plain ssh config | `tacctl device client-config > ~/.ssh/tacctl.conf` | Everyone |
| Show pinned keys | `tacctl device hostkey ` | Engineer |
| Re-pin a verified key | `tacctl device hostkey set SHA256:` | Engineer |
diff --git a/site/day-to-day-device-operations.md b/site/day-to-day-device-operations.md
index ce8310bb..2b7d2db1 100644
--- a/site/day-to-day-device-operations.md
+++ b/site/day-to-day-device-operations.md
@@ -9,7 +9,7 @@ doctype: how-to
# Day-to-Day Device Operations
-*A console-first guide for operators and engineers · Checked against tacctl 0.2.28*
+*A console-first guide for operators and engineers · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-day-to-day-device-operations.pdf){: .pdf-link }
diff --git a/site/emergency-lockdown.md b/site/emergency-lockdown.md
index 32ad32fd..c83ee535 100644
--- a/site/emergency-lockdown.md
+++ b/site/emergency-lockdown.md
@@ -9,7 +9,7 @@ doctype: how-to
# Emergency Lockdown
-*Refusing the logins of chosen groups on a scope, and lifting it again · Checked against tacctl 0.2.28*
+*Refusing the logins of chosen groups on a scope, and lifting it again · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-emergency-lockdown.pdf){: .pdf-link }
diff --git a/site/engineer-guide-device-changes.md b/site/engineer-guide-device-changes.md
index 3e8533cd..36ece10d 100644
--- a/site/engineer-guide-device-changes.md
+++ b/site/engineer-guide-device-changes.md
@@ -9,7 +9,7 @@ doctype: how-to
# Engineer Guide: Device Changes
-*Register, compare, plan and apply device AAA configuration · Checked against tacctl 0.2.28*
+*Register, compare, plan and apply device AAA configuration · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-engineer-guide-device-changes.pdf){: .pdf-link }
diff --git a/site/exit-codes.md b/site/exit-codes.md
index 9142a84f..2c15726d 100644
--- a/site/exit-codes.md
+++ b/site/exit-codes.md
@@ -9,7 +9,7 @@ doctype: reference
# Exit Codes
-*What each tacctl exit status means on shift and in scripts · Checked against tacctl 0.2.28*
+*What each tacctl exit status means on shift and in scripts · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-exit-codes.pdf){: .pdf-link }
diff --git a/site/getting-started.md b/site/getting-started.md
index 70bbf4e1..363d978c 100644
--- a/site/getting-started.md
+++ b/site/getting-started.md
@@ -9,7 +9,7 @@ doctype: tutorial
# Getting Started
-*Your first login, the console and the shell, and where to go next · Checked against tacctl 0.2.28*
+*Your first login, the console and the shell, and where to go next · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-getting-started.pdf){: .pdf-link }
@@ -131,7 +131,9 @@ Ctrl-C at the prompt ends the line with status 130 and starts nothing; an
empty answer stores nothing. A wrong password stays only until the first ssh
that ends with status 255, which forgets it. Without a terminal, for a device
with no pinned host key, or with an option of ssh's own after `--`, ssh asks
-for the password itself, as it always did, and nothing is cached.
+for the password itself, as it always did, and nothing is cached. A line
+with `--login ` (a device's own account) never uses the cache:
+the device asks for that account's password, and it is not kept.
### 1.4 File transfer: your reports and bundles (0.2.28)
@@ -159,9 +161,13 @@ scp notes.txt alice@tacacs.example.net:
another size (superusers have none until one is set), and the reports and
support bundles count. A write over it is refused whole. A transfer may be
slowed by a rate a superuser set; it waits and is not refused.
-- **New files are private.** The console's umask is 077: a new file is 0600
- and a new directory 0700, so a file you upload with `scp` has no executable
- bit. Set another mode afterwards (`chmod` in `sftp`).
+- **New files are private.** The console's umask is 077: a new file gets
+ the mode your client asks for, without the group and other bits, so a
+ script uploaded at 0755 is 0700 and keeps its execute bit, and a file at
+ 0644 is 0600. A client that asks no mode gets 0600. A new directory is
+ 0700, whatever the client asks. `scp -p` keeps the mode of the source
+ (0755). Set another mode afterwards with `chmod` in `sftp`. A file that
+ already exists keeps its mode.
- **A transfer lasts as long as the connection.** The idle timeout of the
console does not apply to it. A listing is in the order of the file system,
not sorted.
diff --git a/site/glossary.md b/site/glossary.md
index 751b1a65..ef4111d7 100644
--- a/site/glossary.md
+++ b/site/glossary.md
@@ -9,7 +9,7 @@ doctype: explanation
# Glossary
-*The words tacctl and this documentation use, in one list · Checked against tacctl 0.2.28*
+*The words tacctl and this documentation use, in one list · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-glossary.pdf){: .pdf-link }
diff --git a/site/incident-response-runbooks.md b/site/incident-response-runbooks.md
index d588ba21..776d490a 100644
--- a/site/incident-response-runbooks.md
+++ b/site/incident-response-runbooks.md
@@ -9,7 +9,7 @@ doctype: how-to
# Incident Response Runbooks
-*Step-by-step security and availability runbooks · Checked against tacctl 0.2.28*
+*Step-by-step security and availability runbooks · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-incident-response-runbooks.pdf){: .pdf-link }
@@ -170,7 +170,9 @@ tacctl breakglass hold sw1 --reason "INC-4821 failed AAA paste"
and the local break-glass accounts for the scope
(`tacctl scope breakglass site-a`).
2. Log in with the local account. How, per vendor (Cisco, Junos, WTI):
- [Break Glass](break-glass.md) §3.
+ [Break Glass](break-glass.md) §3. From the tacctl server an engineer
+ types `tacctl ssh sw1 --login `; the device asks for that
+ account's password.
3. Fix or back out. The engineer can print the back-out with
`tacctl device config plan sw1 --backout`.
4. Release, then verify:
diff --git a/site/index.md b/site/index.md
index e7a2a7b3..2e4b77b9 100644
--- a/site/index.md
+++ b/site/index.md
@@ -8,7 +8,7 @@ doctype: reference
# tacctl documentation
-*The tacctl operations documentation: where to start, by role and by situation · Checked against tacctl 0.2.28*
+*The tacctl operations documentation: where to start, by role and by situation · Checked against tacctl 0.2.29*
[Printable PDF](pdf/tacctl-home.pdf){: .pdf-link }
diff --git a/site/linux-host-operations.md b/site/linux-host-operations.md
index 2b92fcbd..79b13cab 100644
--- a/site/linux-host-operations.md
+++ b/site/linux-host-operations.md
@@ -9,7 +9,7 @@ doctype: how-to
# Linux Host Operations
-*Keeping enrolled Linux hosts in step · Checked against tacctl 0.2.28*
+*Keeping enrolled Linux hosts in step · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-linux-host-operations.pdf){: .pdf-link }
@@ -86,7 +86,7 @@ What a sync does:
| User state | Effect on the host |
|---|---|
-| New in the host's scope | Account created (with a UID consistent across hosts). A user name with upper case letters (from before new names were lower case) is skipped with a warning: it is no Linux account name, and `tacctl user rename` fixes it. |
+| New in the host's scope | Account created (with a UID consistent across hosts). A user name with upper case letters or more than 32 characters (from an earlier release), or that starts with a digit or `-`, is skipped with a warning: it is no Linux account name, and `tacctl user rename` fixes it. |
| Disabled | Account expired: no login, ssh keys included. Files kept. |
| Must change the password | As disabled, on every host but the tacctl server, until the user changes it there; the next sync opens it again. `host show` counts it with the disabled accounts. |
| Re-enabled | Restored |
diff --git a/site/operator-field-guide.md b/site/operator-field-guide.md
index 5e2e61ec..4c76a1fb 100644
--- a/site/operator-field-guide.md
+++ b/site/operator-field-guide.md
@@ -9,7 +9,7 @@ doctype: how-to
# Operator Field Guide
-*For NOC, help-desk and network support staff · Checked against tacctl 0.2.28*
+*For NOC, help-desk and network support staff · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-operator-field-guide.pdf){: .pdf-link }
diff --git a/site/quick-reference.md b/site/quick-reference.md
index bc6e45b3..7e67e9fd 100644
--- a/site/quick-reference.md
+++ b/site/quick-reference.md
@@ -9,7 +9,7 @@ doctype: reference
# Quick Reference
-*The most common tacctl commands on one card · Checked against tacctl 0.2.28*
+*The most common tacctl commands on one card · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-quick-reference.pdf){: .pdf-link }
@@ -38,6 +38,7 @@ usage. In the console and `tacctl shell`, `?` shows help.
| List / filter | `tacctl device list [--scope s] [--vendor v] [--stale] [--differs]` (`--differs`: O) | R |
| Detail | `tacctl device show ` | R |
| Connect | `tacctl ssh [-- ]` | R |
+| Connect as a local account of the device | `tacctl ssh --login ` | E |
| Notices | `tacctl device notice list` | R |
| Health check | `tacctl device check [--sources]` | O |
| Unregistered | `tacctl device discover [--snmp]` | O |
@@ -144,7 +145,7 @@ usage. In the console and `tacctl shell`, `?` shows help.
| Diff / restore | `tacctl backup diff [ts]` · `backup restore ` | S |
| Keep / unkeep a snapshot | `tacctl backup keep ` · `backup unkeep ` | S |
| Put back email or SNMPv3 users after a rollback | `tacctl backup recover [--only email,snmp-users]` | S |
-| Prepare the release before this one (dry run) | `tacctl rollback 0.2.27` | S |
+| Prepare the release before this one (dry run) | `tacctl rollback 0.2.28` | S |
| Audit trail | `journalctl -t tacctl -t tacctl-console` | — |
## 9. Exit codes
diff --git a/site/superuser-daily-operations.md b/site/superuser-daily-operations.md
index 3ac15bf0..3326b4b0 100644
--- a/site/superuser-daily-operations.md
+++ b/site/superuser-daily-operations.md
@@ -9,7 +9,7 @@ doctype: how-to
# Superuser Daily Operations
-*Day-to-day operations for tacctl superusers · Checked against tacctl 0.2.28*
+*Day-to-day operations for tacctl superusers · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-superuser-daily-operations.pdf){: .pdf-link }
@@ -641,10 +641,11 @@ The console is the login shell of every tacctl user on the tacctl server,
of every tier; there is no switch for it, and the user's scopes play no part:
every user can log in to the server and its console unless disabled
(`user disable`) or in a group of tier none. The accounts follow at the next
-`host sync` of the server; a user whose name has upper case letters (a name
-from before new names became lower case) is no Linux account name, so the sync
-skips it with a warning and that user has no console login until
-`tacctl user rename` gives it a lower case name. Local accounts that are not
+`host sync` of the server; a user whose name has upper case letters or more
+than 32 characters (a name from an earlier release), or starts with a digit
+or `-`, is no Linux account name, so the sync skips it with a warning and
+that user has no console login until `tacctl user rename` gives it a name
+that can be one (`config validate` lists the first two under `Names:`). Local accounts that are not
tacctl users keep their own shells.
```bash
diff --git a/site/troubleshooting.md b/site/troubleshooting.md
index cbaf7097..bb902786 100644
--- a/site/troubleshooting.md
+++ b/site/troubleshooting.md
@@ -9,7 +9,7 @@ doctype: how-to
# Troubleshooting
-*Symptom-first fixes for login and device problems · Checked against tacctl 0.2.28*
+*Symptom-first fixes for login and device problems · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-troubleshooting.pdf){: .pdf-link }
@@ -152,7 +152,8 @@ retry, run `tacctl log tail 50`, then set the log level back.
| `sftp` or `scp` says only `Failure` on an upload | The write would take your home over its quota (256M by default; reports and support bundles count). Remove files, or ask a superuser for a larger quota. What was written before the refusal stays. `reason=quota` is in the audit log ([Audit and Compliance](audit-and-compliance.md) §3) |
| `the tacctl console does not run programs or shell commands; file transfer is SFTP only (sftp, scp of OpenSSH 9 or later)` | You used `scp -O`, `rsync` or a program. Use `sftp`, or the `scp` of OpenSSH 9 or later without `-O` ([Getting Started](getting-started.md) §1.4) |
| `A password change is required of ''` | Only `passwd`, `version` and `help` run until you change your password: `tacctl passwd` |
-| A user cannot log in to the tacctl server or its console | Every user can, unless disabled or in a group of tier none (`tacctl user show `). The account exists after the next `tacctl host sync `. A name with upper case letters is no Linux account name and gets none: `tacctl user rename `. |
+| A user cannot log in to the tacctl server or its console | Every user can, unless disabled or in a group of tier none (`tacctl user show `). The account exists after the next `tacctl host sync `. A name with upper case letters or more than 32 characters (from an earlier release), or that starts with a digit or `-`, is no Linux account name and gets none: `tacctl user rename `. |
+| `Username '' is 33 characters; a user name is at most 32 (the longest a Linux account name can be).` | `user add` or the new name of `user rename` is longer than 32 characters. Nothing was changed; choose a shorter name ([Access Lifecycle](access-lifecycle.md) §2). |
| `Username must contain only letters, numbers, underscores and hyphens (a period cannot be part of a Linux account name).` | A `user` verb, `passwd` or `config linux uid` was given a name with a period, whether the user exists or not. Use `-` or `_`. |
| `user 'alice.smith': invalid name (a period cannot be part of a Linux account name; 'tacctl upgrade' renames such a user)` on every write | The store still holds a user with a period (an upgrade that stopped, or a restored snapshot of 0.2.25 or earlier). Run `tacctl upgrade`, which renames the user; every write fails until then ([Access Lifecycle](access-lifecycle.md) §2). |
| `The upgrade's rename of user alice.smith to alice_smith is not finished: run 'tacctl upgrade' first. Nothing was changed.` | An upgrade stopped after it renamed the user in the store. `tacctl upgrade` finishes the rename; `user add`, `user remove`, `user rename`, `store import` and the restore of an old-style backup refuse until it has. |
diff --git a/site/vendor-notes.md b/site/vendor-notes.md
index 12938382..94b9b175 100644
--- a/site/vendor-notes.md
+++ b/site/vendor-notes.md
@@ -9,7 +9,7 @@ doctype: explanation
# Vendor Notes
-*What differs between Cisco, Junos and WTI for operations staff · Checked against tacctl 0.2.28*
+*What differs between Cisco, Junos and WTI for operations staff · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-vendor-notes.pdf){: .pdf-link }
diff --git a/site/whats-new-for-operators.md b/site/whats-new-for-operators.md
index 3d839b53..683cfe7f 100644
--- a/site/whats-new-for-operators.md
+++ b/site/whats-new-for-operators.md
@@ -10,7 +10,7 @@ commands: historical
# What's New for Operators
-*The changes in each tacctl release that people on shift will notice · Checked against tacctl 0.2.28*
+*The changes in each tacctl release that people on shift will notice · Checked against tacctl 0.2.29*
[Printable PDF](../pdf/tacctl-whats-new-for-operators.pdf){: .pdf-link }
@@ -24,7 +24,31 @@ first.
---
-## 1. tacctl 0.2.28
+## 1. tacctl 0.2.29
+
+Released 2026-11-09 ·
+[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.29.md)
+
+| Change | What it means on shift | Page |
+|---|---|---|
+| **An uploaded script keeps its execute bit** | A new file uploaded through the console gets the mode the client asks for, less the umask 077: a script at 0755 is 0700, a file at 0644 is 0600. A client that asks no mode still gets 0600, and a new directory is 0700. `scp -p` keeps the mode of the source (0755). A file that already exists keeps its mode | [Getting Started](getting-started.md) §1.4 |
+| **`tacctl ssh --login `** | A session as one of the device's own accounts (also `device ssh`, and `ssh sw1 --login admin` in the console): the way in while break-glass is held. Engineer tier and up, registered devices in your scopes only (a host is refused), and the device needs a pinned host key. The device asks for the account's password; tacctl never asks for it or caches it. The audit lines carry `login=` | [Connecting to Devices](connecting-to-devices.md) §2, [Break Glass](break-glass.md) §3 |
+| **A new user name is at most 32 characters** | `user add` and the new name of `user rename` refuse a longer one (`Username '' is 33 characters; a user name is at most 32 ...`) and change nothing. A longer name from an earlier release keeps working but has no Linux account; `config validate` warns of it under `Names:` and names the rename | [Access Lifecycle](access-lifecycle.md) §2, [Troubleshooting](troubleshooting.md) §8 |
+| `tacctl rollback 0.2.28` | The release before this one is a target (fifteen in all). It converts nothing: no key or field removed, no snapshot, no `--yes`, no closing note | [Backups and Undo](backups-and-undo.md) §5 |
+
+> **Before upgrading from 0.2.28:**
+>
+> - `tacctl upgrade` converts nothing in this release. A user whose name is
+> longer than 32 characters is carried unchanged; `tacctl config validate`
+> lists it, and `tacctl user rename ` gives it an
+> account.
+> - After `tacctl rollback 0.2.28` and the install of 0.2.28, a new uploaded
+> file is 0600 again whatever the client asks; the files uploaded in
+> between keep their mode.
+
+---
+
+## 2. tacctl 0.2.28
Released 2026-11-09 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.28.md)
@@ -64,7 +88,7 @@ Released 2026-11-09 ·
---
-## 2. tacctl 0.2.27
+## 3. tacctl 0.2.27
Released 2026-11-09 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.27.md)
@@ -102,7 +126,7 @@ Released 2026-11-09 ·
---
-## 3. tacctl 0.2.26
+## 4. tacctl 0.2.26
Released 2026-11-06 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.26.md)
@@ -151,7 +175,7 @@ Released 2026-11-06 ·
---
-## 4. tacctl 0.2.25
+## 5. tacctl 0.2.25
Released 2026-11-05 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.25.md)
@@ -178,7 +202,7 @@ Released 2026-11-05 ·
---
-## 5. tacctl 0.2.24
+## 6. tacctl 0.2.24
Released 2026-11-05 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.24.md)
@@ -221,7 +245,7 @@ Released 2026-11-05 ·
> device whose `single-connection` was removed, 0.2.23's `diff` and `plan`
> show the line as missing, and applying that plan types it again.
-## 6. tacctl 0.2.23
+## 7. tacctl 0.2.23
Released 2026-10-31 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.23.md)
@@ -258,7 +282,7 @@ Released 2026-10-31 ·
> again. The rollback is refused while an emergency lockdown has enrolled
> hosts: lift it and sync the hosts first.
-## 7. tacctl 0.2.22
+## 8. tacctl 0.2.22
Released 2026-10-29 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.22.md)
@@ -319,7 +343,7 @@ sub-commands, and the one-letter form of `--yes` is refused:
> date until its first render writes its own comment, which restarts
> tacquito once; the rollback itself restarts nothing.
-## 8. tacctl 0.2.21
+## 9. tacctl 0.2.21
Released 2026-10-28 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.21.md)
@@ -340,7 +364,7 @@ Released 2026-10-28 ·
> `config validate` stop with one line. **After it,** check the line about
> the machine's own login, and run `tacctl host sync ` as before.
-## 9. tacctl 0.2.20
+## 10. tacctl 0.2.20
Released 2026-10-28 ·
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.20.md)
@@ -373,7 +397,7 @@ sub-commands:
> and not before. No existing user must change their password until a
> superuser says so.
-## 10. tacctl 0.2.19
+## 11. tacctl 0.2.19
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.19.md)
@@ -386,7 +410,7 @@ sub-commands:
| Host names may contain dots | `tacctl host rename web1 web1.example.net` works | [Linux Host Operations](linux-host-operations.md) |
| Unknown commands answered first | A mistyped command is answered before `sudo` asks for a password | — |
-## 11. tacctl 0.2.18
+## 12. tacctl 0.2.18
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.18.md)
@@ -405,7 +429,7 @@ you may have meant (`tacctl enroll` suggests `device enroll` and
`host enroll`). Every tier can run `device notice list` and
`device client-config`.
-## 12. tacctl 0.2.17
+## 13. tacctl 0.2.17
[Full release notes](https://github.com/rett/tacctl/blob/master/docs/release-notes-0.2.17.md)
@@ -421,7 +445,7 @@ you may have meant (`tacctl enroll` suggests `device enroll` and
---
-## 13. Older releases
+## 14. Older releases
Releases 0.2.0 to 0.2.16 are listed on the
[releases page](https://github.com/rett/tacctl/releases), and every change is