Discussion:
su -s not working on TS-109II?
[ftp83plus]
2018-02-03 02:20:49 UTC
Permalink
Hi there,

just booted again this old TS-109II Qnap where I managed to install Debian on thanks to Martin’s instructions.

I recall it used defaults settings all around, time for me to get used to it, but ran into a noob issue;

I can login as the regular user through SSH form the LAN. root is disabled from logging in through SSH for security reasons,m as is normal with Debian installations, but command su -s always denies me permission when I enter password for user. I tried the few common passwords I use for default installations, but none was accepted. I can’t open the logs as a regular user.

Where should I start looking to understand where the error is coming from?

Pat
Martin Michlmayr
2018-02-03 06:02:01 UTC
Permalink
Post by [ftp83plus]
but command su -s always denies me permission when I enter password for user.
Maybe I misread your email, but with "su" you have to provide the root
password, not the password for your user.
--
Martin Michlmayr
http://www.cyrius.com/
g***@ftp83plus.net
2018-02-03 07:40:22 UTC
Permalink
Indeed there are only a handful of passwords I temporarily use for systems that aren't open to the Internet. Tried all of them, but it didn't succeed.

I clearly recall that it worked using the serial console, though.

Enviado desde mi iPhone
Post by Martin Michlmayr
Post by [ftp83plus]
but command su -s always denies me permission when I enter password for user.
Maybe I misread your email, but with "su" you have to provide the root
password, not the password for your user.
--
Martin Michlmayr
http://www.cyrius.com/
[ftp83plus]
2018-02-05 01:19:49 UTC
Permalink
Hi, thanks for the tip, but sudo is not installed, and I can’t install anything since apt-get requires root access, or at least sudo.

Maybe I left the configuration half-finished when I used the serial console? I don’t recall this part.
hi. have you used
sudo passwd root
(choose one new pass for root)
(confirm new rott pass)
su -
(inform new root pass from previus step)
now your prompt is using # and you are root
Indeed there are only a handful of passwords I temporarily use for systems that aren't open to the Internet. Tried all of them, but it didn't succeed.
I clearly recall that it worked using the serial console, though.
Enviado desde mi iPhone
Post by Martin Michlmayr
Post by [ftp83plus]
but command su -s always denies me permission when I enter password for user.
Maybe I misread your email, but with "su" you have to provide the root
password, not the password for your user.
--
Martin Michlmayr
http://www.cyrius.com/ <http://www.cyrius.com/>
Loading...