Skip to content

synopkg and syno_hdd_util commands not found #249

Answered by macdis
macdis asked this question in Q&A
Discussion options

You must be logged in to vote

Regular administrative user:

$ echo $PATH
/var/services/homes/EDITED/bin:/usr/local/bin:/opt/bin:/usr/bin:/bin:/usr/sbin:/sbin

Using sudo -s, /usr/syno/bin is not in $PATH:

$ sudo -s echo $PATH
/var/services/homes/EDITED/bin:/usr/local/bin:/opt/bin:/usr/bin:/bin:/usr/sbin:/sbin

Using sudo -i, /usr/syno/bin is in $PATH::

$ sudo -i
# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

That being said..., I just figured out what was going on. Usually, I ssh into the NAS using options that allow me to use zsh (and oh-my-zsh) as my shell, without changing it more permanently.

RequestTTY yes
RemoteCommand exec /usr/local/bin/zsh -l

If I login…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@007revad
Comment options

@007revad
Comment options

Comment options

You must be logged in to vote
7 replies
@007revad
Comment options

@macdis
Comment options

Answer selected by macdis
@007revad
Comment options

@macdis
Comment options

@macdis
Comment options

@007revad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants