aly revised this gist . Go to revision
1 file changed, 6 insertions
sendpasswd.sh(file created)
| @@ -0,0 +1,6 @@ | |||
| 1 | + | #!/bin/bash | |
| 2 | + | read -s p | |
| 3 | + | DISPLAY=:0 | |
| 4 | + | XAUTHORITY=/var/lib/lightdm/.Xauthority | |
| 5 | + | xdotool type "$p" | |
| 6 | + | xdotool key Return | |
Newer
Older