Conversation
Notices
-
how does one do "administration" in SSH on the NAS when there is no editor (that I can find)? #NAS #hmm
-
@mk is there no busybox vi? If not remote editing might be done remotely using sshfs.
-
@mcnalu I don't see it listed in /usr/bin (where most common commands are just a link to /bin/busybox); trying to use find+grep doesn't bring it up either. but I don't know how busybox actually works (except that it provides stripped commands for embedded linuxes - which is what the NAS is, of course)
-
@mk iirc you just type busybox vi - ie vi is the argument to busybox.
-
@mcnalu see http://en.m.wikipedia.org/wiki/BusyBox#Examples and bewarned busybox vi is pretty basic compared to, say, vim
-
Meant for @mk ♻ see http://en.m.wikipedia.org/wiki/BusyBox#Examples and bewarned busybox vi is pretty basic compared to, say, vim
-
@mcnalu yes, I've worked with both vi and vim - but for occasional config file changes vi will do just fins - it's not as though I'm going to develop software on the NAS from a SSH terminal :D Interesting that the commands listed on that page include vi but it's not a link from /usr/bin - maybe it's in one of the other binaries directories, I'll poke around some more. One complication is that there is a /volume0 tree as well as a / tree with (some) similar directories. (there's also /volume1 but that is where the shared folders live.)
-
-
-
@mcnalu I just typed 'vi' and that worked. doing the same with nano or pico resulted in a "not found" error. I just don't unerstand yet *why* that works ;-) #iliketounderstandthings #NAS
-
-
-
@mcnalu I've yet to try sshfs... the problem I'm trying to solve is that (now) SSH login is only for users root and admin - I want it the other way round with special SSH user only login (who can then su to become super user if needed). At least SSH setup did allow me to set a non-standard port. #NAS
-
-
@mk theoretically I could change the SSH server config - if only I had an editor. caot ind vi*, nano o pico - now what? #NAS
-
@mk trial and error... although I cannot find (yet) where it's hiding, 'vi' does seem to live on the NAS (just 'vi' gives me an empty edit screen) (but nano and pico cannot be found) #thingsarelookingup! #NAS
-
-