Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
sysman - System manager for Fpemud OS
====================
Usage:
see "sysman -h"
Priviledge module:
* there's only one admin (root) for the whole system
* only users in wheel group can su to root, they can su to root without authentication
* any user can su to other user (except root), with authentication
* all files in a user home directory should use the user (and its sub user) as owner/group (using sticky bit?)
* all files in a service should user the service user (and its sub user) as owner/group (using sticky bit?)
* for fuse mounts, their allow_* should not conflict with mode (755 etc.) of the mountpoint, specfically, they should all use at least allow_root
* root has no keyring
* all kinds of keyrings are unlocked using authentication info when a user logins (or being su), re-locked after logout (or exit su)
Directory structure:
"dispatch-conf.conf" must contain the following content:
/etc/dispatch-conf.conf
...
# Directory to archive replaced configs
archive-dir=${EPREFIX}/var/lib/portage/config-archive
...
Notes:
Only root can run this tool.
Using option --keep to keep the working directory, for debugging purpose.
The content of user's keyring will be lost after "reset-user-password"
User should be disabled first when doing any write operations such as "reset-user-password".
/etc/winpr/SAM is used by net-misc/freerdp.
/var/lib/samba/private/passdb.tdb is used by net-fs/samba.
In fact, the login keyring is created when the user logins the first time by pam_gnome_keyring.
The following commands are deprecated:
/bin/passwd, /sbin/useradd, /sbin/usermod, /sbin/userdel
/sbin/groupadd, /sbin/groupmod, /sbin/groupdel, /sbin/groupmems
https://rog-forum.asus.com/t5/zenith-extreme-x399-e/x399-e-gaming-with-256gb-8x32gb-ram/td-p/903321
Most Unix signals have no equivalent in Telnet
telnet can't send a command to server to execute, can't pass return code of a command
https://status.anye.xyz/