mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-31 12:44:23 -04:00
comment
This commit is contained in:
parent
7d8001ddc9
commit
88bea2a6ef
1 changed files with 10 additions and 0 deletions
10
debian/security-misc.preinst
vendored
10
debian/security-misc.preinst
vendored
|
@ -24,6 +24,16 @@ user_groups_modifications() {
|
||||||
## /usr/share/pam-configs/wheel-security-misc
|
## /usr/share/pam-configs/wheel-security-misc
|
||||||
addgroup root sudo
|
addgroup root sudo
|
||||||
|
|
||||||
|
## Useful to create groups in preinst rather than postinst.
|
||||||
|
## Otherwise if a user saw an error message such as this:
|
||||||
|
##
|
||||||
|
## /var/lib/dpkg/tmp.ci/preinst: ERROR: No user is a member of group 'console'. Installation aborted.
|
||||||
|
## /var/lib/dpkg/tmp.ci/preinst: ERROR: You probably want to run:
|
||||||
|
## sudo adduser user console
|
||||||
|
##
|
||||||
|
## Then the user could not run 'sudo adduser user console' but also would
|
||||||
|
## have to create the groups himself.
|
||||||
|
|
||||||
## Related to Console Lockdown.
|
## Related to Console Lockdown.
|
||||||
## /usr/share/pam-configs/console-lockdown-security-misc
|
## /usr/share/pam-configs/console-lockdown-security-misc
|
||||||
## /etc/security/access-security-misc.conf
|
## /etc/security/access-security-misc.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue