Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chsh: limit acceptable shells to absolute paths
If an entry in /etc/shells is not an absolute path (comments or partial reads due to fgets), the line should not be considered as a valid login shell. In general all systems should have getusershells, but let's better be safe than sorry. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
- Loading branch information