~ubuntu-branches/ubuntu/trusty/ldap-account-manager/trusty

« back to all changes in this revision

Viewing changes to docs/manual/apds02.html

  • Committer: Package Import Robot
  • Author(s): Roland Gruber
  • Date: 2013-01-05 16:20:28 UTC
  • mfrom: (1.1.25) (4.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20130105162028-bn3db2crm01195f9
Tags: 4.0.1-1
new upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Setup sudo</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="LDAP Account Manager - Manual"><link rel="up" href="apd.html" title="Appendix�D.�Setup for home directory and quota management"><link rel="prev" href="apd.html" title="Appendix�D.�Setup for home directory and quota management"><link rel="next" href="apds03.html" title="Setup Perl"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Setup sudo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apd.html">Prev</a>�</td><th width="60%" align="center">Appendix�D.�Setup for home directory and quota management</th><td width="20%" align="right">�<a accesskey="n" href="apds03.html">Next</a></td></tr></table><hr></div><div class="section" title="Setup sudo"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp6585760"></a>Setup sudo</h2></div></div></div><p>The perl script has to run as root. Therefore we need a wrapper,
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Setup sudo</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="LDAP Account Manager - Manual"><link rel="up" href="apd.html" title="Appendix�D.�Setup for home directory and quota management"><link rel="prev" href="apd.html" title="Appendix�D.�Setup for home directory and quota management"><link rel="next" href="apds03.html" title="Setup Perl"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Setup sudo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apd.html">Prev</a>�</td><th width="60%" align="center">Appendix�D.�Setup for home directory and quota management</th><td width="20%" align="right">�<a accesskey="n" href="apds03.html">Next</a></td></tr></table><hr></div><div class="section" title="Setup sudo"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp6597120"></a>Setup sudo</h2></div></div></div><p>The perl script has to run as root. Therefore we need a wrapper,
2
2
      sudo. Edit /etc/sudoers on host where homedirs or quotas should be used
3
3
      and add the following line:</p><p>$admin All= NOPASSWD: $path_to_lamdaemon *</p><p><span class="emphasis"><em>$admin</em></span> is the admin user from
4
4
      LAM (must be a valid Unix account) and