bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no ** control in this shell
wsp@7840nas:/vol1$ sudo -i
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
wsp@7840nas:/vol1$
请教一下这个情况怎么处理?