An open API service indexing awesome lists of open source software.

https://github.com/ericsson/puppet-module-beuser

Puppet module to manage beuser sudo wrapper
https://github.com/ericsson/puppet-module-beuser

puppet

Last synced: about 2 months ago
JSON representation

Puppet module to manage beuser sudo wrapper

Awesome Lists containing this project

README

        

puppet-module-beuser
====================

Puppet module to manage beuser sudo wrapper

Description
====================

This module is for Ericsson internal use.
It installs the ''beuser'' wrapper for sudo used by Service Desk.
''beuser'' is an alternative for su, which allows changing active uid.
The restriction is that you can only ''su'' to users with a uid > 100.
The idea is to allow Service Desk work-force to ''su'' towards others
user-ids they are supporting. However, they are not supposed to get
administrative access on the systems themselves.

Note, that when you allow ''beuser'' to be executed by non-admins,
whether by sudo (preferred) or setuid, you must make sure that the
admins on the system have no sudo entries which allow command invocation
without password. Otherwise users can use ''beuser'' to aquire an account
of an admin and then use the unrestricted commands for them.

The module needs to package beuser (or what it's configured to) available
on a installation source.

Parameters
====================

ensure
------
Ensure package installation

- *Default*: 'present'

package_name
------------
Name of package to be installed

- *Default*: 'beuser'

adminfile
---------
Path to adminfile used on Solaris

- *Default*: undef

provider
--------
Name of package provider

- *Default*: undef (OS default)

source
------
Source of package file. Used with provider 'sun'

- *Default*: undef

# Compatibility #

Any platform with a beuser package

For Solaris it is recommended to use the osfamily fact in hiera.yaml and have Solaris.yaml include:


---
beuser::source: '/net/nfsserv1/beuser-1.0.pkg'
beuser::adminfile: '/net/nfsserv1/beuser-adminfile'