hello, this is not possible as far as im aware. /root is closed to the user.
Hello. Somehow the contents of my original posting got deleted. I would still like to gain SSH access to my Cloudstor device. This seems to be possible with regular PogoPlug devices; why not the Cloudstor? It appears to be just a matter of Buffalo making the username/password available to its users.
Thank you.
It's not something that Buffalo supports.
Has anyone been able to gain SSH root access to their Cloudstor device yet? Somehow the permissions of one of the files is set incorrectly. This is preventing me from deleting the file and all of its parent directories. If I could log in as root, I'm quite sure that I could very quickly solve this problem. Otherwise, I don't know of any solution except copying everything off, resetting the device and copying everything back on. any help would be appreciated.
Thanks
David
use acp_commander.jar Tool (http://www.nas-hilfe.de/downloadbereich/category/1-tools) then do the following:
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "(echo newrootpassword;echo newrootpassword)|passwd"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "/etc/init.d/sshd.sh restart"
On my device I needed one more command to enable SSH. The full set I used is:
use acp_commander.jar Tool (http://www.nas-hilfe.de/downloadbereich/category/1-tools) then do the following:
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "(echo newrootpassword;echo newrootpassword)|passwd"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/SUPPORT_SFTP=0/SUPPORT_SFTP=1/g' /etc/nas_feature"
java -jar acp_commander.jar -t your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "/etc/init.d/sshd.sh restart"
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 75 (
showintegrate_autoload, integrate_pre_load, integrate_load_session, integrate_verify_user, integrate_pre_load_theme, integrate_user_info, integrate_load_board, integrate_board_info, integrate_pre_load_theme, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, integrate_actions, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 27 - 1055KB. (
show./index.php, ./Settings.php, (Cache)/db_last_error.php, (Sources)/QueryString.php, (Sources)/Subs.php, (Sources)/Subs-Auth.php, (Sources)/Errors.php, (Sources)/Load.php, (Sources)/Security.php, (Sources)/Subs-Compat.php, (Sources)/Subs-Db-mysql.php, (Sources)/Cache/CacheApi.php, (Sources)/Cache/CacheApiInterface.php, (Sources)/StopForumSpam.php, (Sources)/Subs-Charset.php, (Sources)/Unicode/Metadata.php, (Sources)/Unicode/QuickCheck.php, (Sources)/Session.php, (Sources)/Logging.php, (Sources)/Class-BrowserDetect.php, (Sources)/Unicode/RegularExpressions.php, (Sources)/Unicode/CaseUpper.php, (Sources)/Unicode/CaseTitle.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, (Sources)/Printpage.php, (Current Theme)/Printpage.template.php)
Memory used: 733KB.
Tokens:
post-login.
Queries used: 10.
[Show Queries]