Man page - leapctl(8)

Packages contas this manual

Manual

LEAPCTL(8) privleap Manual LEAPCTL(8)

leapctl - Administrative utility for privleap

leapctl (--create|--destroy) username|uid

Provides administrative controls for privleap. Right now this is only used to open and close sockets used to allow individual user accounts to communicate with the privleapd server.

You usually will not need to run this directly - if privleap was installed from your distribution's repository, it should be pre-configured to create and destroy user communication sockets on user login and logout.

Instructs privleapd to create a communication socket for the specified user. This will allow the user to communicate with privleapd and request privileged operations to be run.
Instructs privleapd to destroy a communication socket for the specified user. This will prevent the user from communicating with privleapd any further.

None.

See privleap-conf.d(5).

0: The requested operation was successful, or did not need to be done.

1: The requested operation failed.

2: privleapd was requested to create a socket for a user, but the specified user is not permitted to have a comm socket.

Create a communication socket for user user:

leapctl --create user

Destroy a communication socket for the user with UID 1001:

leapctl --destroy 1001

leapctl communicates with privleapd using a UNIX socket that by default can only be read from and written to by root. You will therefore usually have to run leapctl as root for it to work.

https://github.com/Kicksecure/privleap

This man page has been written by Aaron Rainbolt (arraybolt3@ubuntu.com).

January 2020 privleap