Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

There's more...

Without sudo, you may be prompted to authenticate as root; in order that the command might be run as root, I typically see this dialogue when I forget to sudo first:

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===Authentication is required to manage system services or units.Authenticating as: rootPassword:

You can also confirm whether a service is started or stopped quickly with the status argument:

$ systemctl status postfix● postfix.service - Postfix Mail Transport Agent   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)   Active: inactive (dead) since Sun 2018-08-26 13:43:46 UTC; 2min 56s ago
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content