Debain: ldap user is not added to sudoers list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andy |
Bug Description
Brief Description
-----------------
ldap user "admin", as well as newly created ldap user with sudo enabled, are not in sudoer list. They can't run command with sudo.
Severity
--------
Major: ldap users with sudo enabled can't run command with sudo
Steps to Reproduce
------------------
- create a ldap user by ldapusersetup, with the following option set to "yes":
Add <username> to sudoer list? (yes/NO): yes
- login to the system by the newly created ldap user.
- run sudo ls
Expected Behavior
------------------
"sudo ls" succeed.
Actual Behavior
----------------
"sudo ls" failed with error:
ldapuser06@
Password:
<username> is not in the sudoers file. This incident will be reported.
Reproducibility
---------------
100% reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
stx master latest.
Last Pass
---------
Always pass on CentOS. Unknown on Debian.
Timestamp/Logs
--------------
See "Steps to Reproduce".
Test Activity
-------------
Regression Testing
Workaround
----------
NA
Changed in starlingx: | |
assignee: | nobody → Andy (andy.wrs) |
tags: | added: stx.debian stx.security |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /tools/ +/848023
Review: https:/