Coder Social home page Coder Social logo

puppet-module-beuser's Introduction

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'

puppet-module-beuser's People

Contributors

ebrdann avatar ghoneycutt avatar hben76 avatar noppe avatar phil-friderici avatar philippvh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.