[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: vsftpd.conf



Sean Middleditch wrote:
On Sun, 2004-09-12 at 00:18 +0100, Paul Trippett wrote:

Why not take a BSD approach and give them the option when installing the
package, say for example...

# rpm -i vsftp....rpm
Would you like to enable Anonymous logins? (y/n) [N] Would you like to enable Local user Logins? (y/n) [N]


Because RPMs are absolutely never ever supposed to ask questions.

- What if the RPM is being installed non-interactively?
- What if the RPM is being installed with a GUI tool?
- What if the user doesn't understand English?

And then you get into the general usability problems - are the question
phrased properly?  Is "Y/N" an appropriate prompt?  etc.


Each rpm could then drop a scriptlet into a directory that gui would then be able to run to set things up for it.


/etc/system-setup/
                  vsftpd.py
                  httpd.py
                  samba.py
                  kill_my_harddrive.py

And then the system-setup program would display the questions, get the answers... and possibly be able to bring the system into at least a bare-bones configuration.

Reset to original configuration [Yes] [No] [Help]



--
Stephen John Smoogen	        | CCN-5 Security Team
LANL SIRT Team Leader           | SMTP:  smoogen lanl gov
Los Alamos National Laboratory  | Voice: 505.664.0645
Ta-03 SM-1498 MS: B255 DP 10S   | FAX:   505.665.7793
Los Alamos, NM 87545            |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]