Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suggestions Wanted

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
shifty_ben
LXF regular


Joined: Tue Oct 04, 2005 10:56 am
Posts: 1292
Location: Ipswich

PostPosted: Sat Apr 15, 2006 2:04 am    Post subject: Suggestions Wanted Reply with quote

Hi all,

To sum it up I have gotten rather lazy recently. I host a number of websites (or reasonable low importance) on my ADSL connection for (mainly) people I know. But configuring and maintaining the server has been taking up more and more of my time, I got fed up with continually typin the same commands, so i have created a CLI based interface for it. A BASH script nothing more complicated than that, but already its starting to have more and more features. It can be found at http://benscomputer.no-ip.org/manipulate/ apologies if the page doesnt load, my router is somewhat temperamental at the moment. What I am really after is ideas of what to add to it next. The security of the programs login system needs improving greatly, and I also plan to add a module to control samba to it, but does anyone have any other ideas? it is as much a project for me as it is a useful utility, so I have no problem adding services to it that I will never use, Ill just disable that module if I don't need it.
The program can already talk to you (if configured to do so) through a Text to speech synth such as Festival, just wondering if anyone can think of more features, if people have time bug reports are also very welcome Very Happy I havent created documentation for Version 0.2 because the changes are fairly self explanatory, although the documentation for version 0.1 still comes in the tarball. That will be updated soon enough - must get into the habit of updating documentation as I add features Wink

Cheers (and hopefully there will be no ./ effect on my server Wink )

Ben
_________________
Need a New Signature
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hello
LXF regular


Joined: Wed Mar 15, 2006 1:51 pm
Posts: 249

PostPosted: Sun Apr 16, 2006 9:09 pm    Post subject: Reply with quote

Make it modular so people can code their own modules for it
Have a option for adding sites and ftps
Backup function
A server shut down and restart feature
Multiuser and multi privelege features
Back to top
View user's profile Send private message
shifty_ben
LXF regular


Joined: Tue Oct 04, 2005 10:56 am
Posts: 1292
Location: Ipswich

PostPosted: Sun Apr 16, 2006 10:09 pm    Post subject: Reply with quote

Already done 4 of those since orginially posting, the FTP idea is a good idea Very Happy inicidentally can you think of a better name? Im fairly crap at coding, worse at documentation but far worse than either at thinking up names.
Ive added an online update function to it as well, although that still needs some tweaking. The main thing I need to do at the moment is change the main menu to a module, at the moment if I make a change on that menu then the main portion of the program needs re downloading by the update function, so that has to change.

Thanks for the input Very Happy
_________________
Need a New Signature
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hello
LXF regular


Joined: Wed Mar 15, 2006 1:51 pm
Posts: 249

PostPosted: Sun Apr 16, 2006 10:26 pm    Post subject: Reply with quote

Again I cant think of names for security you want to utalise ssh probably.

Really its just thinking what you need to control while you are away and think if you get stuck what would you need to control such as the reboot thing those may never be used but would be useful to put there

Sorry but I dont have a clue about names as well
Back to top
View user's profile Send private message
shifty_ben
LXF regular


Joined: Tue Oct 04, 2005 10:56 am
Posts: 1292
Location: Ipswich

PostPosted: Sun Apr 16, 2006 10:41 pm    Post subject: Reply with quote

Yea the entire system uses ssh (assuming you are connecting to a remote server of course) Although at the moment it does require the ability to log in as root via SSH (something that I am well on the way to fixing) Yea the main reason I put the reboot in was actually because of a bug in the program, and whilst I could just walk upstairs and restart I figured what if I couldn't do that? Ive been wondering about adding the ability to run a program using ssh X forwarding. Its easy enough to do from the CLI but if you are already in the program then an option to do so would be useful
_________________
Need a New Signature
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
shifty_ben
LXF regular


Joined: Tue Oct 04, 2005 10:56 am
Posts: 1292
Location: Ipswich

PostPosted: Sun May 14, 2006 2:37 pm    Post subject: Reply with quote

OK I have implemented some new features, Including the ability to edit/add/remove samba shares. I'm now in the process of writing developer documentation - largely for my own benefit if I am honest - and it has occurred to me its actually quite difficult to install modules, well unless you are me (as I know my programming style - messy - so i know where thigns need to be inserted) what I was thinking of doing is creating another file that would contain menu entries for any new modules, this would then be sourced by the program and display a menu entry for any extra modules installed. Can anyone think of a better way of doing this?
Also another thing I have been considering (I'm past the point of writing it to my needs, they are already more or less fulfilled) is writing a module to allow authentication on the basis of a bluetooth device being present instead of using a GPG card. I.e. if my phone is detected as being present then a script will be run that will notify manipulate of this, its more out of interest to see if I can do it or not, just wondering if anyone had any ideas on this one? The main issue I can think of is that if I make it possible to override the ordinary login in this way then it presents a bit of a security hole in terms of people logging in when they shouldn't be able to.

My final question is, I could swear there was a program that could encrypt a password from the command line, but I cannot seem to find it. Am I going mad or can anyone remember what it is?

Cheers

Ben
_________________
Need a New Signature
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jjmac
LXF regular


Joined: Fri Apr 08, 2005 2:32 am
Posts: 1996
Location: Sydney, Australia

PostPosted: Mon May 15, 2006 1:56 am    Post subject: Reply with quote

Howdy,


Just did a wget on 2.0, looking forward to reading through it Smile


jm
Humpty Dumpty Was Pushed !
_________________
http://counter.li.org
#313537

The FVWM wm -=- www.fvwm.org -=-

Somebody stole my air guitar, It happened just the other day,
But it's ok, 'cause i've got a spare ...
Back to top
View user's profile Send private message
shifty_ben
LXF regular


Joined: Tue Oct 04, 2005 10:56 am
Posts: 1292
Location: Ipswich

PostPosted: Mon May 15, 2006 9:37 am    Post subject: Reply with quote

Excellent Smile My coding style is somewhat messy I'm afraid though, and it is a fairly simple program at the moment, albeit getting complex.
_________________
Need a New Signature
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast