canonical / canonical/authd

tty is not reset after a timeout

Open
#362 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
308
Forks
41
Avg merge
2d 4h
Merged PRs (30d)
58

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues and found none that matched mine

### Describe the issue

When login from a tty, if the transaction times out at some point and the user comes back to the shell prompt, the tty is not reset properly and user input is displayed on the tty anymore

### Steps to reproduce it

.

### Ubuntu users: System information and logs

_No response_

### Non Ubuntu users: System information and logs

### Environment
* authd version: please run //TODO
* Distribution: (**NAME** in `/etc/os-release`)
* Distribution version: (**VERSION_ID** on `/etc/os-release`):

### Log files
Please redact/remove sensitive information:
```raw
authd logs can be found in //TODO
```

### Application settings
Please redact/remove sensitive information:
```raw
You can get the configuration file from //TODO
```

### Relevant information

_No response_

### Double check your logs

- [X] I have redacted any sensitive information from the logs

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing a login from a tty and allowing the transaction to time out, then trace the timeout handling; done means the shell prompt returns with normal tty input display.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.