POSIX User's Namespace Control
Project description
punsctl - POSIX User's Namespace Control
The punsctl utility allows users to manage multiple namespaces (or profiles) for various tool configurations within a single POSIX user account.
This enables users to maintain separate configurations for tools like ~/.ssh, ~/.gitconfig, ~/.gnupg, ~/.config, ~/.config/nvim, and others, all under the same user account.
With punsctl, users can easily create, delete, activate, or deactivate namespaces without requiring additional system permissions, providing a flexible way to manage different environments or workflows.
Installation
pipx install punsctl
Usage
punsctl <options>
options:
-h Help menu
-r Root path (Default: ~/.ns)
-s Symlink path (Default: ~/)
-l List namespaces
-n <namespace> Create namespace
-x <namespace> Delete namespace
-a <namespace> Activate namespace
-d Deactivate namespaces
List all namespaces
punsctl -l
List all namespaces from the non-default root path
punsctl -p <root_path> -l
Create new namespace
punsctl -n <namespace>
Create a new namespace in the non-default root path
punsctl -p <root_path> -n <namespace>
Delete namespace
punsctl -x <namespace>
Delete namespace in non-default root path
punsctl -p <root_path> -x <namespace>
Activate namespace
punsctl -a <namespace>
Activate the namespace from the non-default root path
punsctl -p <root_path> -a <namespace>
Activate the namespace from the non-default root path and change the symlink path
punsctl -p <root_path> -s <symlink_path> -a <namespace>
Deactivate namespaces
punsctl -d
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file punsctl-0.2.2.tar.gz.
File metadata
- Download URL: punsctl-0.2.2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d454a063415047668813bdd5d754c89ab3f0527c9402dd95e9ed1d63de436dc1
|
|
| MD5 |
ab81197962a7bea88f79d75c3f1f6d39
|
|
| BLAKE2b-256 |
8c62bb28430961b2f58c2afd7941249cad1f776ad7ab15ece990396352ec7910
|
File details
Details for the file punsctl-0.2.2-py3-none-any.whl.
File metadata
- Download URL: punsctl-0.2.2-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3f3a31de06d80a3827074b2aa73283085cc8388c32c82ce792b7ffe33325071
|
|
| MD5 |
c0e56eb07f6210da0ecb067707f24ac2
|
|
| BLAKE2b-256 |
9e837600b6b19ae78e6b438d553d735e58f622b50608698b7ba615e4a72256fe
|