OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.

Guides
243
Favorites
0
243 launch guides · 2601 reviewed steps
7 of 243 guides

Databases & Data · Identity & Access · Incident Response & Troubleshooting

Fix PostgreSQL permission denied for schema public or table

Diagnose and repair PostgreSQL permission errors without granting broad roles or changing object ownership. This guide separates database connection, schema USAGE and CREATE, table privileges, sequence access, role inheritance, default privileges, and row-level security so an application receives only the rights it actually needs.
Save to collectionCreate a collection in the sidebar first.
caution45 minintermediate10 stepsPostgreSQL

Databases & Data · Security · Backup & Recovery · Observability & Monitoring

Secure Elasticsearch with TLS, users, snapshots, and safe heap sizing

Enforce transport mTLS and HTTPS, replace superuser applications with scoped roles, preserve automatic heap sizing unless measurements justify change, and prove snapshots through an isolated restore.
Save to collectionCreate a collection in the sidebar first.
danger240 minadvanced15 stepsElasticsearch

Security · Networking & DNS · System Administration

Configure AWS IAM roles and least-privilege policies

Design exact trust, identity, boundary, S3-prefix, and KMS-key permissions; validate with Access Analyzer, simulate candidates/live role, test temporary credentials, audit CloudTrail, reduce unused access, rotate trust, revoke sessions, and roll back safely.
Save to collectionCreate a collection in the sidebar first.
caution210 minadvanced14 stepsAWS IAM

DevOps & CI/CD · Security · System Administration

Configure Ansible inventory, SSH, roles, Vault, and idempotent deployments

Build a pinned ansible-core 2.21 control environment, authenticated SSH inventory, exact roles and collections, named Vault IDs, least-privilege become, check/diff gates, rolling deployment, idempotency proof, and rollback.
Save to collectionCreate a collection in the sidebar first.
caution210 minadvanced15 stepsansible-core

Security · Databases & Data

Manage MariaDB users, passwords, roles, and rotation safely

Create host-scoped accounts, assign roles, rotate credentials without exposing them in shell history, test grants, and retire access.
Save to collectionCreate a collection in the sidebar first.
caution45 minintermediate8 stepsMariaDB

Security · Databases & Data

Manage MySQL 8.4 users, passwords, roles, and rotation

Create source-scoped accounts, use roles, enforce TLS and password policy, rotate without command-line leakage, test denial, and retire access.
Save to collectionCreate a collection in the sidebar first.
caution50 minintermediate8 stepsMySQL

Databases & Data · Security

Install and configure PostgreSQL on Ubuntu

Install PostgreSQL, create a least-privilege role and database, optionally enable restricted TLS network access, validate authentication order, and prove recovery readiness.
Save to collectionCreate a collection in the sidebar first.
caution45 minintermediate13 stepsUbuntu Server