Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I try to connect my client to server using putty. I know the root and password of the server but always "Access Denied".
These are the platforms:
Client: Windows XP SP2, Putty v0.58
Server: Red Hat 8.0, mail was already setup by other people.
Additional Info:
They created the user by this way "adduser -g users /bin/false username"
I know that "/bin/false" was set to not allowing the user to connect remotely. I dont know on how to check if the user was /bin/false or /bin/true.
I am new to Linux.. Please help me on this matter.
For security reasons remote root access is often blocked. Login as normal user and su to root.
And if you connect over the internet (the big bad world), don't even consider using root. Anybody can snoop your password and get access to your box. Use SSH in that case.
Still i cannot connect. I am very new in Red Hat 8 using sendmail and i want to remote access in my workstation (XP SP2) using putty.. any configuration needed to remotely access my Linux?
Sorry, I missed in your first post the /bin/false. This implies that you don't have a shell and for that reason can not login, not even when sitting in front of the box.
Please ask 'they' to give you remote access. I fthis is over the internet, ask for ssh.
The reason why I need to use putty because I want to configure my Linux in my workstation then stop the spams. I recieve everyday around 15 to 20 spam emails.
Please help me again step by step because I dont have any idea on this matter. Thank you very much
-eros
Japan
This is the sample full header of the spam email.
mail.sgp.com.ph is my previous domain.
modu.com.ph is my present domain.
Return-Path: <puk@lange-int.ch>
Received: from cpe-72-130-171-75.san.res.rr.com (cpe-72-130-171-75.san.res.rr.com [72.130.171.75])
by mail.sgp.com.ph (8.12.8/8.12.8) with SMTP id k9HLLZN5025022
for <every@modu.com.ph>; Wed, 18 Oct 2006 05:21:39 +0800
Received: (qmail 17472 invoked from network); Tue, 17 Oct 2006 14:21:49 -0700
Received: from unknown (HELO 72.130.91.218) (72.130.91.218)
by cpe-72-130-171-75.san.res.rr.com with SMTP; Tue, 17 Oct 2006 14:21:49 -0700
Message-ID: <453548FF.7000909@lange-int.ch>
Date: Tue, 17 Oct 2006 14:19:59 -0700
From: Nance Marshall <puk@lange-int.ch>
User-Agent: Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: every@modu.com.ph
Subject: decimate
Content-Type: multipart/related;
boundary="------------040605040106090509040904"
PGS-X-MailScanner: Found to be clean
Status:
I have rights with my Linux all the way. Please teach me to reverse that /bin/false.
Thanks.
-eros
Japan
Quote:
Originally Posted by Wim Sturkenboom
Sorry, I missed in your first post the /bin/false. This implies that you don't have a shell and for that reason can not login, not even when sitting in front of the box.
Please ask 'they' to give you remote access. I fthis is over the internet, ask for ssh.
- root access is denied over remote connections, so you can't login remotely
- you don't have a login shell as a normal user, so you can't login
Conclusion:
You need physical access to the machine, login as root and do the work. putty will not help you.
The problem that you have (with regards to this thread) is that you don't have access to the machine so you can't tell us how it's configured. It might be that 'they' (whoever that might be) configured the box for ssh instead of telnet. So 'they' are basically the only ones that can help you.
You can give it a go by setting up putty to use ssh and try to login as root. Under session you have to select SSH; this might be sufficient but there might be a few other settings that need to be configured (I'm not sure).
I have rights with my box all the way, means I owned the box. I can command and execute everything but I dont know what I need to do. Please help me on this.
My main target is to stop the spams that every moment they spams me 10 to 20 emails. I've heared spamassassin but I have worry about the after install support if it arise a problem and wrong configuration.
Quote:
Originally Posted by Wim Sturkenboom
- root access is denied over remote connections, so you can't login remotely
- you don't have a login shell as a normal user, so you can't login
Conclusion:
You need physical access to the machine, login as root and do the work. putty will not help you.
The problem that you have (with regards to this thread) is that you don't have access to the machine so you can't tell us how it's configured. It might be that 'they' (whoever that might be) configured the box for ssh instead of telnet. So 'they' are basically the only ones that can help you.
You can give it a go by setting up putty to use ssh and try to login as root. Under session you have to select SSH; this might be sufficient but there might be a few other settings that need to be configured (I'm not sure).
I'm not talking about rights. You need the access first. Go to the box, login as root and run the usermod command described before. Next you can remotely access the box using putty.
As stated a couple of times, if you access it over the internet, use ssh (putty supports it).
The spam is another story, that I'm not familiar with, so I can't help you there.
Thanks a lot... I can remotely access my box using Putty.
Quote:
Originally Posted by Wim Sturkenboom
I'm not talking about rights. You need the access first. Go to the box, login as root and run the usermod command described before. Next you can remotely access the box using putty.
As stated a couple of times, if you access it over the internet, use ssh (putty supports it).
The spam is another story, that I'm not familiar with, so I can't help you 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.