<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"MS Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=IS link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Thanks...  ..I have however SUDO
schema for LDAP allready. But I cant seam to figure out how to allow certain
users to login as other users.. </span><span style='font-family:Wingdings;
color:#1F497D'>L</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Should I just allow the users to
do su - ... but then they can login as root also right ?..<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>This is my sudo schema<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>dn: cn=schema<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>attributeTypes: (
1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser' DESC 'User(s) who may  run sudo'
EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO' )<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>attributeTypes: (
1.3.6.1.4.1.15953.9.1.2 NAME 'sudoHost' DESC 'Host(s) who may run sudo'
EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO' )<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>attributeTypes: (
1.3.6.1.4.1.15953.9.1.3 NAME 'sudoCommand' DESC 'Command(s) to be executed by sudo'
EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO'
)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>attributeTypes: (
1.3.6.1.4.1.15953.9.1.4 NAME 'sudoRunAs' DESC 'User(s) impersonated by sudo'
EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO'
)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>attributeTypes: (
1.3.6.1.4.1.15953.9.1.5 NAME 'sudoOption' DESC 'Options(s) followed by sudo'
EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'SUDO'
)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>objectClasses: (
1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL DESC 'Sudoer
Entries' MUST ( cn ) MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $
sudoOption $ description ) X-ORIGIN 'SUDO' )<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Regards<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Siggi<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> fedora-directory-users-bounces@redhat.com
[mailto:fedora-directory-users-bounces@redhat.com] <b>On Behalf Of </b>FAUCONNIER
Valery AWL-IT<br>
<b>Sent:</b> 7. maķ 2008 06:31<br>
<b>To:</b> General discussion list for the Fedora Directory server project.<br>
<b>Subject:</b> RE: [Fedora-directory-users] Usermod<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>There is a schema for sudo entries look at <a
href="http://fci.wikia.com/wiki/Setting_Up_A_Centralised_Authentication_Server_With_Sudo_Access_Using_LDAP">http://fci.wikia.com/wiki/Setting_Up_A_Centralised_Authentication_Server_With_Sudo_Access_Using_LDAP</a></span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>You have to modify the given shema to be compatible with fds (a
script exists to convert schema):</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'># cat 77sudo.ldif <br>
#<br>
################################################################################<br>
#<br>
dn: cn=schema<br>
#<br>
################################################################################<br>
#<br>
attributeTypes: (<br>
  1.3.6.1.4.1.15953.9.1.1<br>
  NAME 'sudoUser'<br>
  DESC 'User(s) who may run sudo'<br>
  EQUALITY caseExactIA5Match<br>
  SUBSTR caseExactIA5SubstringsMatch<br>
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<br>
  )<br>
#<br>
################################################################################<br>
#<br>
attributeTypes: (<br>
  1.3.6.1.4.1.15953.9.1.2<br>
  NAME 'sudoHost'<br>
  DESC 'Host(s) who may run sudo'<br>
  EQUALITY caseExactIA5Match<br>
  SUBSTR caseExactIA5SubstringsMatch<br>
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<br>
  )<br>
#<br>
################################################################################<br>
#<br>
attributeTypes: (<br>
  1.3.6.1.4.1.15953.9.1.3<br>
  NAME 'sudoCommand'<br>
  DESC 'Command(s) to be executed by sudo'<br>
  EQUALITY caseExactIA5Match<br>
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<br>
  )<br>
#<br>
################################################################################<br>
#<br>
attributeTypes: (<br>
  1.3.6.1.4.1.15953.9.1.4<br>
  NAME 'sudoRunAs'<br>
  DESC 'User(s) impersonated by sudo'<br>
  EQUALITY caseExactIA5Match<br>
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<br>
  )<br>
#<br>
################################################################################<br>
#<br>
attributeTypes: (<br>
  1.3.6.1.4.1.15953.9.1.5<br>
  NAME 'sudoOption'<br>
  DESC 'Options(s) followed by sudo'<br>
  EQUALITY caseExactIA5Match<br>
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26<br>
  )<br>
#<br>
################################################################################<br>
#<br>
objectClasses: (<br>
  1.3.6.1.4.1.15953.9.2.1<br>
  NAME 'sudoRole'<br>
  DESC 'Sudoer Entries'<br>
  SUP top<br>
  STRUCTURAL<br>
  MUST ( cn )<br>
  MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoOption $
description )<br>
  )<br>
#<br>
################################################################################<br>
#</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>-----Original Message-----<br>
<b>From:</b> fedora-directory-users-bounces@redhat.com
[mailto:fedora-directory-users-bounces@redhat.com]<b>On Behalf Of </b>Siguršur
Bjarnason<br>
<b>Sent:</b> Monday 5 May 2008 18:33<br>
<b>To:</b> Fedora-directory-users@redhat.com<br>
<b>Subject:</b> [Fedora-directory-users] Usermod</span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal>Hi All<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Is there any way of defineing usermod with FDS ?, <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Lets say that I am user „siggi“ and I need to
give him rights to login as user „test“ is that possible with FDS ?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Regards<o:p></o:p></p>

<p class=MsoNormal>Siggi<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</blockquote>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>Atos Worldline
SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>- 1130
Brussels - Belgium</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>RPM-RPR
Bruxelles-Brussel - TVA-BTW BE 0418.547.872</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>Bankrekening-Compte
Bancaire-Bank Account 310-0269424-44</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>BIC
BBRUBEBB - IBAN BE55 3100 2694 2444</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'> </span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>"The
information contained in this e-mail and any attachment thereto is confidential
and may contain information which is protected by intellectual property rights.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>This
information is intended for the exclusive use of the recipient(s) named above.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>This
e-mail does not constitute any binding relationship or offer toward any of the
addressees.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>If you are
not one of the addressees , one of their employees or a proxy holder entitled
to hand over this message to the addressee(s), any use of the information
contained herein (e.g. reproduction, divulgation, communication or
distribution,...) is prohibited.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>If you
have received this message in error, please notify the sender and destroy it
immediately after.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"MS Sans Serif","serif"'>The
integrity and security of this message cannot be guaranteed and it may be subject
to data corruption, interception and unauthorized amendment, for which we
accept no liability."</span><o:p></o:p></p>

</div>

</body>

</html>