"su root" fails when I connect with normal user thru SSH
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH, SuSE, Slackware, Debian - would like to test many ;-)
Posts: 11
Rep:
"su root" fails when I connect with normal user thru SSH
Hi everyone.
I'm running a Trustix 2.2 (fedora based) machine at work and I need to remote connect on it from outside. So I configures ssh to do the job.
But, if I connect using a normal user (from the users group), the machine does not allow me to "su" or "su root" - the error message is "incorrect password".
If I set the "enable root login" line to "yes" in sshd_config, I am able to ssh straight with root, but I can't "su" with that line set to "yes" or "no" either.
I am absolutely sure the root password I am providing IS the correct one (since I can use it locally or if I ssh with root).
Sometimes the system won't allow me to "su" even locally - would that be just a system bug or are there any settings that I should be aware of, at least for ssh? I did updated all my installed packages just today (the problem was even before I did that and it's still present).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.