Replies: 2 comments
-
|
Using the version from GitHub is perfectly fine, but it looks like you are aiming for a normal installation. If you are installing it this way, then it is probably better to use the latest version of Lynis as a normal package. Then everything is arranged for you, including setting up the right location(s). |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your response.
I did not mean that GitHub version of
I tried using the stable version installed using I just simply want to know about those questions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to install and use
lynison myKubuntu 25.04system from GitHub.As much as I know this is an application which installs by user and not exist in default installation of kernel, so I tried to put it in the
/opt/lynisand due to this fact that this is an administration application I give access of the/opt/lynistoroot:rootrecursively and give the/opt/lynis/lynisa750permission usingchmodcommand. At last, I made a symbolic link to/opt/lynis/lynisat/sbin/lynis. Then, when I ran the commandsudo lynis audit system, it fails with this error. (Error does not handle\nas a scape character as intended and echo it instead)Based on my understanding of this error, I tried to run
lynisfrom its directory directly. So I tried:Then it ran correctly.
It is not that hard to run it in this way, however I prefer to run it without
./and no matter from which directory.So my approach was making an executable file at
/sbin/lyniscontains this content:Now I can run it using this command straight:
I have two questions.
lynisdirectory in/optand its binary file in/sbincorrect?lynisfrom there is a good idea?Beta Was this translation helpful? Give feedback.
All reactions