How To Automatically Send Email When Someone Login Server Via ROOT

Jun 8, 2009

I want to have an email alert everytime someone login into my server using ROOT user.

The server is based on Linux system.

View 10 Replies


ADVERTISEMENT

Can Not Login To Decated Server By Root User

Aug 1, 2007

i can not login to my decated server by using root. the password is not correct.. becasue i did something wrong with my server. i used chmod 777 -R /public_hmtl and chown to modify my server. and i can not login anymore, LT asked me to reload my server, do i need to reload it?

View 6 Replies View Related

Can Not Send Email From My Server

Aug 25, 2007

I can not send email from my server ,it shows the below error :

"There was an error sending your message: authentication failure [SMTP: Invalid response code received from server (code: 435, response: Unable to authenticate at present)]"

View 4 Replies View Related

Spammers Use My Server To Send Out Email

Oct 19, 2007

I think someone has successfully make my server to send out emails. Why i know this?

it's because I saw many return emails saying that the emails sent out to their inbox are consider spam. I mean a lot for instance within 1 second, there are more than 10 mails.

Can someone help explains me how I can find the culprit and fix the problem?

View 14 Replies View Related

Change Root Server Email Address

Feb 1, 2008

How do I go about changing the root's server email address?

View 3 Replies View Related

Can't Send Outbound Email From My Server With Comcast

Nov 7, 2008

It appears Comcast is now blocking port 25. As a result, I can't sent outbound email via my dedicated server. They had me change to port 587 for my comast email account, but that doesn't solve my not being able to send outbound from my dedicated server.

Is there anythighn I can do (like change the post my mail server uses to 587) so that I can send outbound mail from my server with outlook (over Comcast connection) or am I just stuck now with using web mail?

View 12 Replies View Related

My Mail Server Will Not Receive Or Send Email

Apr 20, 2007

Here is what happened:

We have been running our web/ftp/application/mail server for about 4 years, and running flawlessly. This week one of the computers in the network was infected with a virus that was sending spam like crazy. We got blacklisted, as per this site mxtoolbox.com. Our domain is affordablerto.net. Since then we have isolated the problem, klilled the virus and are no longer blacklisted. But we are not able to send or receive any emails now. I wrote mxtoolbox and there reply was basicly "We can get you up and running if you pay us". I called our ISP and they stated that the ports(25) are open. When I do an smtp diagnostic from mxtoolbox I get the response that Argument 'Length' must be greater or equal to zero.

When I go to dnsreport and input our mail server (mail.affordablerto.net) I get ERROR:

The parent servers say that the domain mail.affordablerto.net does not have any NS records (although they may have some other information on that zone).

When I put in our mail server under mail test I get this Getting MX record for mail.affordablerto.net (from local DNS server, may be cached)... There is no MX record for mail.affordablerto.net! That's bad. Checking for an A record... Got it!

When I put in our domain I get this...well I can not put a link in yet - the software here says I need to take 5 posts before I can link anything. Go ahead and try it yourself.

I am not sure what most of this information means. I am in contact with our DNS provider and they keep on trying to sell me some solution. So does mxtoolbox.

I don't know what to do.

View 7 Replies View Related

My New Server Dose Not Send Email To Hotmail

Nov 25, 2007

iam always having problem with Email know i have order a new server i try to use some script like phpbb.vb.ipb and some other script that have options to send email when people register etc...

if i register use hotmail there is no email will come to me in my inbox why ?

but if i send email from my hotmail email to my domian name email i get it

so i make some research on the net i find something maybe this could be the problem but as i am newbie to the server i have no idea how i can fix this problem

Quote:

set reverse DNS for your IP address and if possible an SPF record for your domain.

as you can see he is asking me to set the dns etc i dont no . is there anything i could do via WHM/CP/SSL"PuTTy" etc

View 14 Replies View Related

Can Not Login Root From SSH, LT- To Do KVM Over IP

Dec 11, 2008

can not login root from SSH, LT suggest me to do KVM over IP

View 4 Replies View Related

Exim Mail Server Failing To Send Email

Jun 16, 2009

Just started to have problems sending emails out but no problem receiving.

Seems to be a exim problem.. tried updating it but the problem still exist but everytime I restart exim then it works for a few hours before the problem comes back.

View 8 Replies View Related

CPanel Root Login

May 28, 2009

Is it possible to disable direct root login on Cpanel servers?

if yes, please how.

If not, what would be the best to do to secure 'root' account.

View 14 Replies View Related

How Do I Disable Root Login For WHM

Oct 18, 2009

Meaning you can't use the user root to login to WHM.

Is that possible?

View 14 Replies View Related

Accessing A Red Hat Box Without The Root Login

Jan 23, 2008

We have an internal server running Red Hat 8 or 9 that was taken offline at least 18 months ago. The guy who set up the box is long gone. Unfortunately with him went the root password. It wasn't a big deal until we realized there is some code we do want to get off of that box now that may be useful in a future project. In particular the database structure for one project. Is there any way to get access to this data or is it just lost?

View 3 Replies View Related

Cron Job :: To Forward Email From Root@server.mydomain.com To My Gmail

Jan 30, 2008

I setup my cron job run daily and it automatically sends email to root@server.mydomain.com after it done. How do i setup forward email from root@server.mydomain.com to my gmail or other external email provider ? That means every time if root@server.mydomain.com receive email than my other maail will get that email too.

View 4 Replies View Related

Disabled Direct Root Login

Oct 24, 2009

im able to login to root via SU perfectly

One problem: All my old files and folders are owned by ROOT so that means my SU account named XXX cant edit/add/delete anything from my SFTP because of folder/file permission.

Is there anyway my SUDO(wheel) account can still edit these files own by ROOT?

View 3 Replies View Related

E-mail Alert On Root SSH Login

Jun 3, 2009

Want to be notified instantly when someone logs into my server as root With date time & local IP address

View 12 Replies View Related

Disabling Direct Root Login

Apr 16, 2008

login as: hen
hen@xx.xx.xx.xx's password:
Last login:
hen@root [~]# su -
Password:
su: incorrect password

I verified that root password is correct, but no matter how many times I tried, I can't su in

Where's my su permission
-rwxr-xr-x 1 root wheel 24060 Mar 22 2007 /bin/su*

here's inside /etc/group
wheel:x:10:root,hen

View 14 Replies View Related

Disable Direct Root Login

May 16, 2007

I tried to disable direct root login but had to struggle to find step-by-step instructions and have written the steps one needs to follow to disable direct root login.


This is an additional security measure where we prevent direct root logins and instead create a user to login and then use a command ‘su –‘ to gain root privileges.

The only risk in this procedure is that you may prevent root login but forget to add the user to the wheel group - effectively locking yourself out of the system.

Follow the steps below and you will not face a problem.

STEP 1: Let us create a user and add it to the wheel group.

For e.g. we want to create a user neonix and give him root privileges.

SSH into your server as root and follow the below commands to create a user.

groupadd neonix

useradd neonix –gneonix

passwd neonix

enteryouruserpasswordhere

verifyyouruserpasswordhere

// Please note -g in the second line

// You can replace neonix with any username of your choice.

STEP 2: Add user to wheel group.

Use your browser to Login to your WHM panel and click on Manage Wheel Group Users.

You will see the user you just added (neonix). Select the user and click ‘Add to group’.

You will see that the user has been added –
Users Currently in the wheel group root,neonix

You have successfully added a user to the 'wheel' group who will be able to 'su -' to root.

LOGOUT OF SSH

Before we disable root login, let us check if the user can login and su – to gain root privileges.

SSH into your server as 'neonix'
Login as: neonix
Password : enteryouruserpasswordhere
su –
password: enter root password here

You have successfully logged in and have root privileges. Now let us disable root login.

STEP 3: Disable Direct Root Login

(The below steps are from webhostgear.com)

1. Copy and paste this line to edit the file for SSH logins
pico -w /etc/ssh/sshd_config

2. Find the line
Protocol 2, 1

3. Uncomment it (Remove #) and change it to look like
Protocol 2

4. Next, find the line
PermitRootLogin yes

5. Uncomment it (Remove #) and make it look like PermitRootLogin no

6. Save the file Ctrl+X then Y then enter

7. Now you can restart SSH
/etc/rc.d/init.d/sshd restart

Now, no one will be able to login to root with out first logging in as 'neonix' and 'su -' to root, and you will be forcing the use of a more secure protocol.

Just make sure you remember both passwords!

View 14 Replies View Related

Script To Check The Server Load And To Send Email If It Is Pretty High

Dec 16, 2007

Anybody got a good script to check the server load and to send email if it is pretty high? Perl or bash one?

View 4 Replies View Related

SSH Keys & Direct Root Login Disabled

Jul 3, 2008

Currently I have a server that has direct root SSH access disabled (have to login as regular user then su to root), but I am currently working on setting up authentication via SSH keys, but I can't seem to get it working with direct root SSH access disabled? Is this normal, and if so is there anyway to work around it?

Basically I'd like to be able to authenticate both ways; both with SSH keys or by logging in as a regular user and su to root.

View 8 Replies View Related

Plesk 11.x / Linux :: Root Login To Backup All Database

Mar 12, 2015

Any way to backup every SQL Databases at once ?

At the moment i need to configure each subscription on my backup program to backup each sql database.

there is any way to set a login that back's up all the databases?

And for the ftp files?

View 1 Replies View Related

Plesk 12.x / Linux :: Difference Between Login - Root And Admin?

Apr 3, 2015

During the installation of Plesk, at first it used the root password, and then had me create an "admin" user.

When I log in using either I don't see any difference in the UI or options. Is there a difference or a reason to use one over the other?

Or is it just to give someone access to admin Plesk without giving them full root password of the server itself?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved