Automatic launching of a script upon login. Help me figure this out
Okay, i've been mulling about an idea ever since I got works new FTP server up and running.
Currently, here's how it works:
I have the ftp server running with virtual users as a security precaution, this is running pure-ftpd on top of OpenBSD. At the moment all user management is done by me, so creation, modifying etc. All me.
I've had an idea to both make my life a bit more simpler and possibly offload the work to someone else. I have seen in the past that upon login on a console a bash script (or some kind of shell script) can run upon immediate login.
My plan is to create an interactive script that can create, modify and delete users purely from simple selections, for example this would appear upon connection:
Here's my plan as I see it, I need to do the following:
I'm open to suggestions on how to approach this. Any ideas on what I should be reading up on?
I believe I have now got the auto-login with putty figured out. By leaving out the pass phrase (from puttygen) I can get it to auto-login with putty.
This is a very base OpenBSD 4.3 install, all i've got installed is pure-ftpd and nano. (I cannot stand ed, vi or any of the other remember 27 million key combinations programs)
I posted this to bsdforums before realising it was a walking corpse intent on spewing spam.
|Thread||Thread Starter||Forum||Replies||Last Post|
|tmux disable automatic resize||Carpetsmoker||General software and network||7||25th June 2009 10:54 PM|
|Login automatically||map7||FreeBSD General||1||12th October 2008 11:09 PM|
|How to set up ssh login||cssgalactic||FreeBSD General||12||28th June 2008 06:00 PM|
|Automatic Mount for Devices/Filesystems||vermaden||FreeBSD General||11||12th June 2008 04:55 AM|
|Automatic Thread Subscription When Posting?||JMJ_coder||Feedback and Suggestions||6||6th May 2008 03:20 AM|