ssh-allow-friend
ssh-allow-friend copied to clipboard
Request: Adding ability to do it for another user.
It could be great to add -u|--user <username>
, to specify the user, then it will prompt for sudo
password..
Can you provide further detail on how did you call the script to make ir prompt for password? I don't remember of adding sudo calls explicitly to the script.
Thanks for your help.
On Mon, 13 Feb 2017 at 10:08 Thecakeisgit [email protected] wrote:
It could be great to add -u|--user
, to specify the user, then it will prompt for sudo password.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/flplv/ssh-allow-friend/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AEsiO2kRaEqCZXCOGNmEI6JrZ04bJz2Uks5rcEfBgaJpZM4L_IC3 .
-- Enviado do Gmail para celular
No, @flplv, it's a feature request, so we won't have to
Allow user
john-doe
from Github to login as usermyself
sudo -H -u myself $0 --github john-doe"
and instead of this, we'll do :
ssh-allow-friend -u myself --github john-doe
Sure, shame on me! Lol
Give it a try to sudo -H -u user ./ssh-allow-friend ...
. It might help
temporarily.
Thanks for the suggestion, it is a nice idea to manage user and rooting internally.
On Mon, 13 Feb 2017 at 10:18 Thecakeisgit [email protected] wrote:
No, @flplv https://github.com/flplv, it's a feature request, so we won't have to
Allow user john-doe from Github to login as user myself sudo -H -u myself $0 --github john-doe"
and instead of this, we'll do :
ssh-allow-friend -u foo1 --github somebody
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/flplv/ssh-allow-friend/issues/6#issuecomment-279372277, or mute the thread https://github.com/notifications/unsubscribe-auth/AEsiO_QwZk4ASDDSKieQCpuLTCiQMS4Uks5rcEoAgaJpZM4L_IC3 .
-- Enviado do Gmail para celular
Yeah I know, but it might be a great improvement :D
Reading this Issue, now in github, I see what happened. Gmail app trimmed part of the messages out, that's why I sound totally nuts. note to myself: don't use gmail to read issues anymore.
x) No problem :D