Ah, sorry. You will still need to use 'sudo', it just won't ask anyone for a password. I don't know if this will work (I'm on my Windows machine atm so I can't test it) but you maybe able to try this:
Create a script '/usr/bin/lshwWrapper':
Code:
#!/usr/bin/bash
sudo /usr/bin/lshw
You can then call /usr/bin/lshwWrapper and with any luck it will run /usr/bin/lshw with root priveliges without you having to type 'sudo'
