in reply to Re: simple automated login
in thread simple automated login

Much better to use sudo with an appropriate sudoers configuration which lets you run the command (or limited set of commands, or a wrapper around that limited set of commands) without having to bother with any passwords.