Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
packaging: Add some basics on system user + group management
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Feb 3, 2024
1 parent 575fb3e commit 81f05d1
Show file tree
Hide file tree
Showing 16 changed files with 418 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "System Users",
"description": "Stateless management of packaging-based system accounts",
"slug": "/category/system-users",
"permalink": "/docs/category/system-users",
"navigation": {
"previous": {
"title": "Transaction Triggers",
"permalink": "/docs/packaging/triggers/tx_triggers"
},
"next": {
"title": "Overview",
"permalink": "/docs/packaging/users/overview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@
"previous": {
"title": "Overview",
"permalink": "/docs/packaging/triggers/overview"
},
"next": {
"title": "System Users",
"permalink": "/docs/category/system-users"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "packaging/users/groups",
"title": "Defining Groups",
"description": "Refer to the JSON Group Record documentation for information on all supported fields.",
"source": "@site/docs/packaging/users/groups.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/groups",
"permalink": "/docs/packaging/users/groups",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/groups.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2
},
"sidebar": "packageSidebar",
"previous": {
"title": "Overview",
"permalink": "/docs/packaging/users/overview"
},
"next": {
"title": "Defining Users",
"permalink": "/docs/packaging/users/"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "packaging/users/overview",
"title": "Overview",
"description": "As a stateless distribution, Serpent OS does not permit the modification of /etc/passwd and co by",
"source": "@site/docs/packaging/users/overview.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/overview",
"permalink": "/docs/packaging/users/overview",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/overview.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1
},
"sidebar": "packageSidebar",
"previous": {
"title": "System Users",
"permalink": "/docs/category/system-users"
},
"next": {
"title": "Defining Groups",
"permalink": "/docs/packaging/users/groups"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "packaging/users/users",
"title": "Defining Users",
"description": "System accounts should always be marked as locked. Refer to the JSON User Record documentation for information on all supported fields.",
"source": "@site/docs/packaging/users/users.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/",
"permalink": "/docs/packaging/users/",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/users.md",
"tags": [],
"version": "current",
"sidebarPosition": 3,
"frontMatter": {
"sidebar_position": 3
},
"sidebar": "packageSidebar",
"previous": {
"title": "Defining Groups",
"permalink": "/docs/packaging/users/groups"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,36 @@
}
],
"href": "/docs/category/triggers"
},
{
"type": "category",
"label": "System Users",
"collapsible": true,
"collapsed": true,
"items": [
{
"type": "link",
"label": "Overview",
"href": "/docs/packaging/users/overview",
"docId": "packaging/users/overview",
"unlisted": false
},
{
"type": "link",
"label": "Defining Groups",
"href": "/docs/packaging/users/groups",
"docId": "packaging/users/groups",
"unlisted": false
},
{
"type": "link",
"label": "Defining Users",
"href": "/docs/packaging/users/",
"docId": "packaging/users/users",
"unlisted": false
}
],
"href": "/docs/category/system-users"
}
],
"userSidebar": [
Expand Down Expand Up @@ -233,6 +263,24 @@
"description": "Transactional scope triggers (tx triggers) are run after the new filesystem transaction has been",
"sidebar": "packageSidebar"
},
"packaging/users/groups": {
"id": "packaging/users/groups",
"title": "Defining Groups",
"description": "Refer to the JSON Group Record documentation for information on all supported fields.",
"sidebar": "packageSidebar"
},
"packaging/users/overview": {
"id": "packaging/users/overview",
"title": "Overview",
"description": "As a stateless distribution, Serpent OS does not permit the modification of /etc/passwd and co by",
"sidebar": "packageSidebar"
},
"packaging/users/users": {
"id": "packaging/users/users",
"title": "Defining Users",
"description": "System accounts should always be marked as locked. Refer to the JSON User Record documentation for information on all supported fields.",
"sidebar": "packageSidebar"
},
"users/intro": {
"id": "users/intro",
"title": "Introduction",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,87 @@
"previous": {
"title": "Overview",
"permalink": "/docs/packaging/triggers/overview"
},
"next": {
"title": "System Users",
"permalink": "/docs/category/system-users"
}
},
{
"id": "packaging/users/groups",
"title": "Defining Groups",
"description": "Refer to the JSON Group Record documentation for information on all supported fields.",
"source": "@site/docs/packaging/users/groups.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/groups",
"permalink": "/docs/packaging/users/groups",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/groups.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2
},
"sidebar": "packageSidebar",
"previous": {
"title": "Overview",
"permalink": "/docs/packaging/users/overview"
},
"next": {
"title": "Defining Users",
"permalink": "/docs/packaging/users/"
}
},
{
"id": "packaging/users/overview",
"title": "Overview",
"description": "As a stateless distribution, Serpent OS does not permit the modification of /etc/passwd and co by",
"source": "@site/docs/packaging/users/overview.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/overview",
"permalink": "/docs/packaging/users/overview",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/overview.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1
},
"sidebar": "packageSidebar",
"previous": {
"title": "System Users",
"permalink": "/docs/category/system-users"
},
"next": {
"title": "Defining Groups",
"permalink": "/docs/packaging/users/groups"
}
},
{
"id": "packaging/users/users",
"title": "Defining Users",
"description": "System accounts should always be marked as locked. Refer to the JSON User Record documentation for information on all supported fields.",
"source": "@site/docs/packaging/users/users.md",
"sourceDirName": "packaging/users",
"slug": "/packaging/users/",
"permalink": "/docs/packaging/users/",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/serpent-os/docs/tree/main/docs/packaging/users/users.md",
"tags": [],
"version": "current",
"sidebarPosition": 3,
"frontMatter": {
"sidebar_position": 3
},
"sidebar": "packageSidebar",
"previous": {
"title": "Defining Groups",
"permalink": "/docs/packaging/users/groups"
}
},
{
Expand Down Expand Up @@ -498,6 +579,32 @@
"slug": "/category/triggers",
"permalink": "/docs/category/triggers"
}
},
{
"type": "category",
"label": "System Users",
"collapsible": true,
"collapsed": true,
"items": [
{
"type": "doc",
"id": "packaging/users/overview"
},
{
"type": "doc",
"id": "packaging/users/groups"
},
{
"type": "doc",
"id": "packaging/users/users"
}
],
"link": {
"type": "generated-index",
"description": "Stateless management of packaging-based system accounts",
"slug": "/category/system-users",
"permalink": "/docs/category/system-users"
}
}
],
"userSidebar": [
Expand Down
6 changes: 5 additions & 1 deletion .docusaurus/docusaurus.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,11 @@ export default {
]
},
"additionalLanguages": [
"d"
"d",
"rust",
"bash",
"yaml",
"json"
],
"magicComments": [
{
Expand Down
20 changes: 20 additions & 0 deletions .docusaurus/globalData.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,21 @@
"path": "/docs/packaging/triggers/tx_triggers",
"sidebar": "packageSidebar"
},
{
"id": "packaging/users/groups",
"path": "/docs/packaging/users/groups",
"sidebar": "packageSidebar"
},
{
"id": "packaging/users/overview",
"path": "/docs/packaging/users/overview",
"sidebar": "packageSidebar"
},
{
"id": "packaging/users/users",
"path": "/docs/packaging/users/",
"sidebar": "packageSidebar"
},
{
"id": "users/intro",
"path": "/docs/users/intro",
Expand All @@ -103,6 +118,11 @@
"id": "/category/triggers",
"path": "/docs/category/triggers",
"sidebar": "packageSidebar"
},
{
"id": "/category/system-users",
"path": "/docs/category/system-users",
"sidebar": "packageSidebar"
}
],
"draftIds": [],
Expand Down
4 changes: 4 additions & 0 deletions .docusaurus/registry.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 81f05d1

Please sign in to comment.