Email When User Does Sudo
Mar 25, 2007I used the great security tip to get an email when a user logs in as root but is there any way to get the same kind of email when a user starts sudo?
View 2 RepliesI used the great security tip to get an email when a user logs in as root but is there any way to get the same kind of email when a user starts sudo?
View 2 RepliesWhich do you use primarily and why?
Personally I try to use sudo as much as possible, but as often as I'm moving around the file system it gets a little rough sometimes and I have to use su.
i have a cent os 5 box with directadmin on id like the user apache to be able to run iptables or apf but every time i allow apache to run the command its fine untill you have to add the extra command to tell it to drop then it just comes up with permissions denied
can any one help me with this please?
i've tryed
apache ALL = (root) NOPASSWD: /sbin/iptables
apache ALL=(ALL) ALL
and it still wont let me use apache to write to the deny rules list
I have the user "tech" added to my system. I want that user (tech) to be able to use sudo, but for only *one* command. ssh. I also want this to utilize the "NOPASSWD" feature.
What's the line I need to add to /etc/sudoers to allow only SSH (and sudo with the no password).
How do I login to root with my sudo username and password? I do type su - in putty, but it gives me a "Disconnected: No supported authentication methods available."
View 6 Replies View Relatedone of my dedicated is a kind of semi managed.
They guys monitor it 24 hours and if some thing goes wrong like
apache is dead they fix it.
how can I limit their access and authoriy over my Server while
I can let them to monitory my server!
I know nothing about server management and my other dedi is mully managed not this one.
Server configuration:
CENTOS 5.3 x86_64
cPanel 11.24.4-C35075 - WHM 11.24.2 - X 3.9
Is it possible to write a script that will be sending notifications on user e-mail, that is already pre-configured in their account, whenver user will log in to FTP.
Are there any pre-made scripts or if not, any hint's on writing something like that?
I have done the migration with the Migration Manager from Confixx to Plesk 12.0.18. Users can login tho the mail account with Outlook, thats no problem(old password is working). If the webmailer is set to Hord the user also can login. But if i switch to roundcube it is not possible to login to the Webmailer! You get the message "Die Anmeldung ist fehlgeschlagen." (Login failed)
After changing the email password in plesk, it is then possibe to login(even if the new password is identical to the old one)?!?
Is this a known bug? Is there a solution for that?!? I really don't want to email every customor to ask him to change his password?!
Basically what I want to do is to change the "From: "email address for system user "Plesk Administrator" when sending the automated notification with subject "Parallels Panel Scheduler notification". Where would I do this?
Plesk version is 11.5
Upgrading to 12.0.8 and found this that looks like a bug. Email messages cannot be send through Roundcube Webmail. Outbound Email Limits are active.
Logfile:
Code:
/usr/local/psa/var/log/maillog
Error logs:
Code:
REDACTED py_limit_out[]: ERROR Rejecting message: system user uid='10039' is not allowed to send mail
REDACTED plesk sendmail[]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent.
The user roundcube_sysuser is not allowed to send email.#012REJECT
Apart from Domains, Emails and Subscriptions there is no way to allow roundcube_sysuser through Mail server settings.
When I change an email address on a user's account I get this error?
Code:
Internal error: mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/mydomain.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
Message mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/bullochrec.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
File Agent.php
Line 243
Type PleskUtilException
Using Cloudlinux 6.6 and Plesk 12
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
when I find the subscription from the admin side of PPA, if I select "Login as user" I've noticed that it is different from actually logging in as the user - for example - "add domain alias" is missing when I login as a customer - but not as an admin... I need my customers to add their own aliases and manage them - how do I add that feature to the client login side?
View 9 Replies View RelatedI'm having difficulty sending an email to another email address (with a different domain) which is on the same VPS.The trouble is, on the other domain's VPS control panel, within the DNS settings, the MX records have been pointed externally (to an exchange server). Their email is turned off. But bizarrely, their mailbox is full.
It seems as though Plesk is ignoring the MX records, and sending MY email internally to the OTHER domain's mailbox on the same VPS.How do I get Plesk to send my mail to the correct EXTERNAL MX records?
I had a email address I deleted on my server (postfix on Debian 4), but to my surprise the server still recieves email for the address!
(I have manually tried sending a email to the address and it comes througt).
I have deleted the address from the /etc/postfix/virtual file and restarted postfix.
What could I have forgotten?
One of my customers asked me if is possible technically to offer free email services.
Since he's going to launch a big portal he want to offer such things later, for all users.
Now, there are problems as:
a) if there is any possibility to compress emails similar with GMAIL or YahooMail or so, because i can't imagine the email is uncompressed
b) how can be handled email boxes over multiple (mail ?) servers if the HDD space needed would be larger than for one server HDD ?
I am having an email issue and I can not resolve. I am hoping for some assisstance here.
One of my local clients are not able to email each other in their office. (About 10 employess I believe)
They are using Outlook mail client, and using ISP's SMTP server. They are able to send/recieve email to other users externally, but not intenally.
Using webmail works perfectly fine.
I spoke with my host and the said everything is working fine. I checked with the ISP to see if they are blocking the IP address on the SMTP server. They said they were not.
I have a personal account on the same server and tried to send email to another local email account, and it did not work either. Tried to send email to my clients email and they did not recieve anything.
I am on the same ISP as my client, so Im still not sure if its the ISP or not.
I setup mail piping with Exim so that e-mails sent to a specific account be forwarded to my PHP script. It's not working properly, because when I send a mail to this account, it's bounced by the mailer daemon:
Code:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
pipe to |/home/user/public_html/support/parse.php
generated by support@mydomain.com
local delivery failed
In my /etc/valiases/domain.com file I have:
Code:
support@mydomain.com: "|/home/user/public_html/support/parse.php"
*: :blackhole:
What can be causing the error?
On one my servers, I'm receiving hundreds of spam emails that are clogging up the email queue to email addresses that do not exist.
For instance domain.com, I would get
bob@domain.com
liz@domain.com
325235@domain.com
You get the picture. How do I setup my server so that if there isn't an email address setup the email automatically gets deleted instead of trying to attempt to deliver it?
I have a client who has his own hosting account, and wants to leave his e-mail on his own hosting account, but his website on my hosting account.
On his own hosting he has created a sub domain called shop, and pointed its A record to the IP address of my server. On my server I've setup his domain name, and created the sub domain shop. That all works fine.
The problem I have is that the site under the shop domain needs to send an e-mail to sales@hisdomain.com. Now my server thinks the main domain is setup on my server, so it sends the e-mail to itself.
I'm justing wondering how I can get the server to point the mails back to his hosting?
A previous host I've used said they had to add the domain as a remote domain on the server, then they had to make some changes to /etc/localdomains because I was getting errors trying to send mails to the address.
A email account can send email, but cannot receive email, why? How do I know the answer why?
View 14 Replies View Related