Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Rooting Shuttle Omninas KD20
- Thanks to asham.ca (source: http://asham.ca/hardware/2013/12/getting-root-and-sshd-on-boot-with-the-shuttle-omninas-kd20/)
- - Go to Storage => Disk Manager (Web interface of your NAS)
- - Open your web console in firefox (https://developer.mozilla.org/en-US/docs/Tools/Web_Console) and execute the following commands
- !!! Replace YOUR-NAS-IP with the IP of your NAS !!!
- // Command for resetting the root-passwort to foobar
- $.ajax({
- type:"POST",
- url: 'http://YOUR-NAS-IP/action/healthy_action.php',
- cache: false,
- //data: "devName=sda"+$devName,
- data: "devName=/dev/sd; (echo \"foobar\nfoobar\n\" | sudo passwd root) ",
- success:function(data){
- console.log(data)
- }
- });
- // Command for starting sshd
- $.ajax({
- type:"POST",
- url: 'http://YOUR-NAS-IP/action/healthy_action.php',
- cache: false,
- //data: "devName=sda"+$devName,
- data: "devName=/dev/sd; sudo /etc/rc.d/sshd.sh start",
- success:function(data){
- console.log(data)
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement