Joined: May 2005
||Posted: Aug. 23 2005,22:40
how can i automate logging in when i'm writing little shell scripts? specifically, some examples would be to su to root, enter the root pwd and then do a find command on the whole filesystem. another would be to run a vncviewer with a certain ip, and pipe in the password automatically.
"pipe in password here for the vncauth window"
i know, i know. this is dangerous, but i'm only going to do these types of things locally, behind a firewall