Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
DESCRIPTION
Use sepolicy manpage to generate manpages based on SELinux Policy.
OPTIONS
-a, --all
Generate Man Pages for All Domains
-d, --domain
Generate a Man Page for the specified domain. (Supports multiple commands)
-h, --help
Manual page sepolicy-manpage(8) line 1/46 55% (press h for help or q to quit)
If you use above utility to create man pages for sepolicy utilities, and when I looked an /usr/share/man, there are many man?? sub-directories like so:
Generally it's just /usr/local/share/man<the section they go in>/ and then run mandb as root. Assuming the formats right you should be able to pull up the page with man at that point.
I am not sure why you are finding the whole man experience such a nightmare. You are definitely making it harder than I have seen any previous user.
However, your question is, should you use sepolicy-manpage, where should the created man page go? My question to you would be, when you read the instructions (perhaps on the website) for sepolicy-manpage
what did they tell you? If there was zero instructions (hard to believe), then as stated above, read man man and work it out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.