Vadim Zhukov wrote: > 2015-12-02 12:40 GMT+03:00 Ted Unangst <t...@tedunangst.com>: > > henning points out that if you are seven levels deep when doas asks for a > > password, it can be hard to tell who is asking for what password. > > > > modify the prompt to include the program name and user@host. > > The patch itself looks like fine for me, but why not just add '\u@\h' > to PS1 instead?
If you run "ssh host doas -u user ssh host doas reboot" you don't get a prompt. :)