Find the answer to your Linux question:
Results 1 to 2 of 2
I want to be able to access a website (via firefox) by starting it from bash script as a regular user not root! I then want to access lines from ...
  1. #1
    Linux User
    Join Date
    Mar 2008
    Posts
    287

    bash access website

    I want to be able to access a website (via firefox) by starting it from bash script as a regular user not root! I then want to access lines from the page via bash.
    As root from command line I can: firefox -new-window xxxxxxx and it works.
    As a regular user and either get a message that I am not root or a wrong display.
    Can someone that has done this help?

  2. #2
    Linux User
    Join Date
    Mar 2008
    Posts
    287
    I am thinking setting up a regular user in xauth may open security hole and for same reason do not want to bring up firefox with root as that does breach security.
    Even if use root to access via firefox how can I get bash to send commands to firefox i.e. Control+U,
    Control+A, etc??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...