mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-03-26 17:08:07 -04:00
comment
This commit is contained in:
parent
7d8001ddc9
commit
88bea2a6ef
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
|
||||
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.
|
||||
## /usr/share/pam-configs/console-lockdown-security-misc
|
||||
## /etc/security/access-security-misc.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user