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.
this is my problem:
I can only access to my server via ssh using the root account.
If I try to use another account, it tells me: "Permission denied, please try again."
In the /var/log/auth.log, I've got an "Dec 8 16:08:01 razorback sshd[1663]: Failed password for <myuser> from <my current host ip> port 57305 ssh2"
Of course I've tried with a stupid password.
I've also changed to /etc/ssh/sshd-config file and added the following line:
AllowUser <myuser> root
the idea is to not use root, but only <myuser> of course, but before removing the root account, I'd like to make the <myuser> accoutn working
I'm looking now for many hours on the web, but without success. I'm getting depressed with this..
I'm using a Debian version
The strange about it is that is used to work two months ago, but then I had to shudown the server.
I'ev put the server up again, installed cvs, and the the mess started. I can any way access to cvs using the <myacount> anyway.
yes I am sure of the password, I especially changed it to something easy
but I gor more strange things now, I just encountered:
when I connect using ftp, I've got the following error:
Code:
Connected to server
530- System bootup in progress - please wait
530 System not available.
Connection closed by remote host.
When I connect in telnet, I have
Code:
Debian GNU/Linux 3.0 razorback.xavier.be
razorback login: yull
System bootup in progress - please wait
Login incorrect
my tomcat server is runnning fine and accessible
I can also access cvs just fine
so maybe it is not a securitty problem, I should move my topic to another forum, sorry, guys
but if you know what's happening to me, I'll pay you a virtual beer if you'd told me;-)))))
For security reasons, rexec, rsh, and rlogin are not enabled by default. To allow root to use these tools, add the names of the tools you wish to allow to the /etc/securetty. If you wanted to enable root login using rexec, rsh, and rlogin, add the following lines to /etc/securetty:
rexec
rsh
rlogin
To allow root to log in using these tools via telnet (an even worse idea but necessary in some environments), add a few more lines:
Originally posted by yull
how come? what's that fuc...ng nologin file???
Code:
NOLOGIN(5) Linux Programmer's Manual NOLOGIN(5)
NAME
nologin - prevent non-root users from logging into the system
DESCRIPTION
If the file /etc/nologin exists, login(1) will allow access only to
root. Other users will be shown the contents of this file and their
logins will be refused.
FILES
/etc/nologin
SEE ALSO
login(1), shutdown(8)
Linux 1992-12-29 NOLOGIN(5)
Don't enable the 'r' tools, or telnet. SSH is available just about everywhere these days, and there's not really a good reason (that I can think of) not to use it.
As I told, I added a script in the init.d/ to start tomcat.
Now, on system boot, I see actualley the start of tomcat, but it after the booting process of it, it looks like it stays hanging, an the system boot stucks there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.