[rancid] Can clogin prompt for a password?

Brandon Ewing nicotine at warningg.com
Thu Aug 4 15:35:11 UTC 2016


On Thu, Aug 04, 2016 at 03:27:53PM +0000, heasley wrote:
> 
> Not exactly, but you could wrap it in shell that prompts then executes
> 	*login -p $passwd
> unfortunately, that will appear in ps(1).  you could also use include
> in the .cloginrc to include a file that the shell wrapper creates during
> runtime.
> 
> its not impossible to add such a feature though; it just doesnt exist now.
> 
> of course, if you can not trust those with root ....

Hrm, I kind of like this approach -- environment variable passing into
command line.  Would it be feasible to reset $0 in *login to mask the passed
in password in a process listing?

-- 
Brandon Ewing                                     (nicotine at warningg.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20160804/180332b0/attachment.sig>


More information about the Rancid-discuss mailing list