How to configure vsftpd to send me an email on user login process? [closed] - pam

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to send a mail to abc#abcd.com when someone is logging in via FTP. I have tried using /etc/pam.d/vsftpd "session optional pam_exec.so /path/to/my/emailing_script.sh" but it doesn't work (i have tested this script in /etc/pam.d/sshd and it works).
Any suggestions?
Thanks in advance.

In order for vsftp to use the pam sessions you need to enable it in the configuration file:
add (or update) the line
session_support=YES
without that line PAM sessions will not be used so your PAM session module will not be run either.
Look for "session_support" on this documentation page.

Related

Far 3, x64: Plugin for Secure FTP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Windows 10 (64 bit), Far. ver.3, x64.
I can't find plugin for Secure FTP.
I need to connect by SSH to remote Linux Machine.
https://github.com/michaellukashov/Far-NetBox
Check if you have NetBox already installed (Alt+F1):
To add a connection, press Shift+F4.
I've also underlined the different tabs where one can change parameters, although usually the first tab is sufficient.

How do I create a .onion site? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have a ubuntu linux and have been using this site: https://scottlinux.com/2013/10/11/how-to-create-a-tor-onion-site/ but I am getting confused on how to use this file /etc/nginx/nginx.conf and from there everything else is a little confusing as well. If you know how to follow these instructions, please let me know.
Its cool, I'll just answer my own question... Again.
Using this website helped me a lot more because it had step-by-step details that the one above was missing.
https://www.bentasker.co.uk/documentation/security/290-hosting-tor-hidden-services-onions
The best way to create a .onion site would be through a Tor .onion homepage.Just follow the links there and you should create your own personal website quite easily.Or you could use a Tor Wiki to do so instead.

Display current path in terminal only [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
I'm SSH'd into a computer, so I can't use a GUI to access the path name. Is there a way that you can see the path directly on terminal without having to use Nautilus?
If you just want to get the information of current directory, you can type:
pwd
and you don't need to use the Nautilus, or you can use a teamviewer software to remote connect to the computer, you can get everything you want.

How to password protect a crontab in unix [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
We need to password protect the activities on the crontab, for ex even if we try
crontab -l
or
crontab -e
or
crontab -r
We would have to enter a password to go to the next level(viewing/editing/deleting) even if we are root user.
Kindly suggest some mechanisms.
Thanks.
If you don't trust the root user on your system I would say you have big problems. I don't think there is any way to securely protect anything from root - by definition this user can do what they like, including removing any protection you put in place to try to enfore a password when executing crontab.

How to connect to remote hosted sql server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I think I am doing everything right but I am not being able to access the sql server online. I have put my settings beneath. Of course the password is hidden. Any help?
Looks like the Server name should be MSSQL1228.wc1\inst2. You currently have MSSQL1228\inst2.
Your instance name is wrong
replace mssql1228\inst by mssql228.wc1\inst
If that doesn't work try the IP address 50.57.219.8,4120
And if that doesn't work, you might need to validate that your user has permissions to access that specific database.
Without knowing your specific error message is hard to know 100% what's wrong

Resources