Azure / Azure/azure-linux-extensions
AADLoginForLinux: configure default shell on Debian9
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
Hi all,
I installed AADLoginForLinux extension on Debian 9 and it works but VM prompt with Bourne shell (/bin/sh) when I login with ssh command.
When I login with 'adminuser' by ssh_key, VM prompt with Bash shell(/bin/bash) instead.
Default shell for new user is set to /bin/bash.
**Why a user enabled with AAD credentials have Bourne shell?
Is it possible to change this behaviour?**
I tried with chsh command but it does not work with this error message: _[user 'username@contoso.com' does not exist in /etc/passwd]_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the SSH login behavior for an AADLoginForLinux user on Debian 9 and compare it with the adminuser login described in the issue. Trace how the extension selects the user's shell and verify that the behavior is corrected without requiring the AAD user to exist in /etc/passwd.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, debian, linux, python
- Domain
- authentication, cloud, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100