4

Instead of using gksudo in a bash script, I want to invoke the authenticate dialog ( as in screenshot) instead. Is it possible? If yes, how?

Thanks.

Ubuntu Authentication dialog

Hanynowsky
  • 2,801

1 Answers1

2

Well. 'just found the man page in Ubuntu wiki. Actually it's pkexec

pkexec --$USER somepackage

Solution

Thanks @Uri Herrera . You were the trigger.

Hanynowsky
  • 2,801