User Needs Security Function Must Be Part of Sudo Group

The Ubuntu operating system must be configured so that only users who need access to security functions are part of the sudo group.

Rationale: An isolation boundary provides access control and protects the integrity of the hardware, software, and firmware that perform security functions.

Security functions are the hardware, software, and/or firmware of the information system responsible for enforcing the system security policy and supporting the isolation of code and data on which the protection is based. Operating systems implement code separation (i.e., separation of security functions from nonsecurity functions) in a number of ways, including through the provision of security kernels via processor rings or processor modes. For non-kernel code, security function isolation is often achieved through file system protections that serve to protect the code on disk and address space protections that protect executing code.

Developers and implementers can increase the assurance in security functions by employing well-defined security policy models; structured, disciplined, and rigorous hardware and software development techniques; and sound system/security engineering principles. Implementation may include isolation of memory space and libraries.

The Ubuntu operating system restricts access to security functions through the use of access control mechanisms and by implementing least privilege capabilities.

Audit: Verify that the sudo group has only members who should have access to security functions.

grep sudo /etc/group


If the sudo group contains users not needing access to security functions, this is a finding.

Remediation: Configure the sudo group with only members requiring access to security functions.

To remove a user from the sudo group run:

sudo gpasswd -d sudo




Trusted Veteran | Compassionate. Aspiring. Resourceful.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Donating With Streamers Unleashed

20 Things Most People Learn Too Late In Lifez

How To Add Unit Tests To Your C# Project Using MSTest & Visual Studio

Enemy Lasers!

Data Apps: From Local to Live in 10 Minutes

Unity — Fight or Flight

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Austin Songer

Austin Songer

Trusted Veteran | Compassionate. Aspiring. Resourceful.

More from Medium

Bash for Beginners Part 17: Redirecting Output Streams

Bash aliases

Bash shell

7 secret practices of “man” command to unlock your hidden Linux potential

Linux Upskill Challenge — Day 1