if you don't specify a file name then you're prompted on the console for the username and password
a more flexible method might be to use the management interface (which is what most GUIs now use): read up on
--management-query-passwords
--management ip port [pass]