ssh-allow-friend icon indicating copy to clipboard operation
ssh-allow-friend copied to clipboard

Request: Adding ability to do it for another user.

Open lowlevl opened this issue 8 years ago • 6 comments

It could be great to add -u|--user <username>, to specify the user, then it will prompt for sudo password..

lowlevl avatar Feb 13 '17 12:02 lowlevl

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

flplv avatar Feb 13 '17 12:02 flplv

No, @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 myself --github john-doe

lowlevl avatar Feb 13 '17 12:02 lowlevl

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

flplv avatar Feb 13 '17 12:02 flplv

Yeah I know, but it might be a great improvement :D

lowlevl avatar Feb 13 '17 12:02 lowlevl

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.

flplv avatar Feb 13 '17 18:02 flplv

x) No problem :D

lowlevl avatar Feb 13 '17 22:02 lowlevl