EnglishFrenchSpanish

OnWorks favicon

sxid - Online in the Cloud

Run sxid in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command sxid that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


sxid — check for changes in s[ug]id files and directories

SYNOPSIS


sxid [-c, --config file] [-n, --nomail] [-k, --spotcheck] [-l, --listall] [-h, --help]
[-V, --version]

DESCRIPTION


sXid checks for changes in suid and sgid files and directories based on its last check. Logs
are stored by default in /var/log/sxid.log. The changes are then emailed to the address
specified in the configuration file. The default location for the config file is
/etc/sxid.conf but this can be overridden with the --config option and specifying an
alternate file.

OPTIONS


-c, --config file
Specifies an alternate configuration file.

-n, --nomail
Sends output to stdout instead of emailing, useful for spot checks.

-k, --spotcheck
Checks for changes by recursing the current working directory. Log files will not be
rotated and no email sent. All output will go to stdout.

-l, --listall
Useful when doing --spotcheck or --nomail to list all files that are logged,
regardless of changes.

-h, --help
Display a brief help message.

-V, --version
Print version and exit.

OUTPUT


The program outputs several different checks concerning the current status of the suid and
sgid files and directories on the system on which it was run. This is a basic overview of
the format.

In the add remove section, new files are preceded by a “+”, old ones are preceded by a “-”.
Note that removed does not mean gone from the filesystem, just that it is no longer sgid or
suid.

Most of it is pretty easy to understand. On the sections that show changes in the file's
info (uid, gid, modes...) the format is old->new. So if the old owner was “mail” and it is
now “root” then it shows it as mail->root.

The list of files in the checks is in the following format:

/full/path *user.group MODE

MODE is the 4 digit mode, as in 4755.

In the changes section, if the line is preceded by an “i” then that item has changed inodes
since the last check (regardless of any s[ug]id change), if there is an “m” then the SHA-256
checksum has changed.

If a user or group entry is preceded by a “*” then it's execution bit is set (ie.
*root.wheel is suid, root.*wheel is sgid, *root.*wheel is +s).

On the forbidden directories, if ENFORCE is enabled an “r” will precede forbidden items that
were successfully -s'd, and an “!” will show that it was unsuccesfully -s'd (for what ever
reason).

Use sxid online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 2
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 3
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 4
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 5
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 6
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqdoc
    coqdoc
    coqdoc - A documentation tool for the
    Coq proof assistant ...
    Run coqdoc
  • 4
    coqide
    coqide
    coqide - The Coq Proof Assistant
    graphical interface ...
    Run coqide
  • 5
    g.gui.vdigitgrass
    g.gui.vdigitgrass
    g.gui.vdigit - Interactive editing and
    digitization of vector maps. KEYWORDS:
    general, user interface, GUI, vector,
    editing, digitizer ...
    Run g.gui.vdigitgrass
  • 6
    g.listgrass
    g.listgrass
    g.list - Lists available GRASS data
    base files of the user-specified data
    type optionally using the search
    pattern. KEYWORDS: general, map
    management, list ...
    Run g.listgrass
  • More »

Ad