Jump to content

jboy

OTW
  • Posts

    2241
  • Joined

  • Last visited

Everything posted by jboy

  1. jboy

    Securing MySQL

    Here's a fairly good reference (in .pdf format): http://dev.mysql.com/tech-resources/articl...rence-ch14.html Also, for helpful administration tools, have you checked into MySql GUI Tools and phpMyAdmin?
  2. If you really want to learn about building a server using Mandriva, participating in this forum is the way to proceed, rather than asking someone to email you, which I doubt that anyone will. Here's an excellent writeup on how to install and configure Mandriva 2006 as a server: http://www.howtoforge.com/perfect_setup_mandriva_2006 Also see: http://www.mandrake.tips.4.free.fr/installmdv2006.html After reviewing those, ask some specific questions if you need help.
  3. Here's a couple more: Cool Tricks with Perl and Apache Beginning Perl (online book) Lincoln Stein's Perl References
  4. Here's a few: Perl Language Documentation PerlDoc Perl Tutorials Perl Regular Expressions CPAN on Perl Regular Expressions
  5. At one time setuid for scripts used to work, but apparently at some point this feature was dropped in Linux due to security issues. This was the first thing I tried, but found that it didn't work in Mandriva 2006. Doing some research on the web, I found lots of references to setuid no longer working in Linux for scripts due to security. Setuid still works for binaries, though, so that's definitely an option for executing binaries with root permissions. Could it be related to the Mandriva security level for the system? Possibly, I'm not sure, but I doubt it. Mine is set to either Standard or High, I don't remember offhand and I'm not in Linux right now. But setuid for scripts definitely did not work for me. If setuid is working on your system for scripts, please comment which distro you're using, version, security levels, etc.
  6. I believe the following should work: if the script needs to be run by any user with root privileges without having the users authenticate by entering a password, add the following to /etc/sudoers (you'll need to be the root user to edit /etc/sudoers, of course): ALL ALL=NOPASSWD: /fullpathname/scriptname Substitute your actual path and script filename for: /fullname/scriptname If you determine that the script will be run by a specific user only, say apache, then you could use this instead: apache ALL=NOPASSWD: /fullpathname/scriptname If it needs to be run by a limited number of users, but not all, then read the sections titled EXAMPLES in this reference: http://www.die.net/doc/linux/man/man5/sudoers.5.html The command that then needs to be run by the users is: sudo /fullpathname/scriptname I withhold any comment as to the security advisability of this. EDIT: oh, one other VERY important thing - make SURE the script is not writable by any user who can execute it.
  7. EDIT: Original post deleted. I thought I had a technique for this but after further checking, it doesn't work. I'll try to see about another way to do this later tonight when I have more time.
  8. Well, I had previously installed version 8 at one point, but I preferred firefox over that version so I deleted it. But I find this new version 9 is a different story. It's great. I remember that you've been talking up Opera for some time, so I have to give you full credit for a prescient recommendation. Perhaps I'm a dunce (it won't be the first time) for taking so long to discover it! So you get a free pass to say "I told you so!" :D
  9. Whoa, what have I been missing? I recently installed Opera 9.01 to see how it rendered certain pages compared to firefox and IE, and discovered that it is one awesome browser! One thing I really like is the very easy way that you can customize settings for each site you visit: F12 -> Edit Site Preferences and you can override default settings for categories General, Cookies, Content, Display, Scripting, Network. Other features I like: mouseover thumbnail preview of each tab, Save/Recall Sessions, save Notes for a Website, great web standards support, did you close a tab and then find you want it back -> reload from trashcan. Feature list is shown here: http://www.opera.com/products/desktop/ It's version of firefox extensions is called widgets. Anyway, there's a lot to like with this browser. EDIT: One negative - RSS/Atom Feeds built-in feature is not as good as firefox's, imo. I could find no way to create folders for managing the feeds, and also no way to sort them (move up/down feature).
  10. Here's a Tux review of Mandriva 2007 Beta 1: http://www.tuxmachines.org/node/8633
  11. Note that by default, ntpd log messages are written to /var/log/messages. To see what ntpd is doing and what adjustments are being made and when, execute the following command as the root user in a terminal: cat /var/log/messages | grep ntpd This may help you diagnose what's going on. Here's some sample output from mine: Aug 1 17:44:08 ntpdate[5308]: step time server 128.194.254.9 offset -6.097146 sec Aug 1 17:44:08 ntpd: succeeded Aug 1 17:44:08 ntpd[5322]: ntpd 4.2.0@1.1161-r Wed Sep 7 20:06:56 CEST 2005 (1) Aug 1 17:44:08 ntpd: ntpd startup succeeded Aug 1 17:44:08 ntpd[5322]: precision = 1.000 usec Aug 1 17:44:08 ntpd[5322]: kernel time sync status 0040 Aug 1 17:44:08 ntpd[5322]: frequency initialized -8.896 PPM from /etc/ntp/drift Aug 1 17:47:22 ntpd[5322]: synchronized to LOCAL(0), stratum=10 Aug 1 17:47:22 ntpd[5322]: kernel time sync disabled 0041 Aug 1 17:48:26 ntpd[5322]: kernel time sync enabled 0001 Aug 1 17:52:46 ntpd[5322]: synchronized to 128.194.254.9, stratum=2 Aug 1 18:10:07 ntpd[5322]: time reset -0.161913 s Aug 1 18:14:24 ntpd[5322]: synchronized to LOCAL(0), stratum=10 Aug 1 18:19:46 ntpd[5322]: synchronized to 128.194.254.9, stratum=2 Aug 1 18:40:16 ntpd[5322]: time reset -0.348388 s Aug 1 18:44:33 ntpd[5322]: synchronized to LOCAL(0), stratum=10 Aug 1 18:49:54 ntpd[5322]: synchronized to 128.194.254.9, stratum=2 Aug 1 19:04:56 ntpd[5322]: time reset +0.153221 s Aug 1 19:09:12 ntpd[5322]: synchronized to LOCAL(0), stratum=10 Aug 1 19:14:35 ntpd[5322]: synchronized to 128.194.254.9, stratum=2 Aug 1 19:28:41 ntpd[5322]: time reset +0.284179 s There's a great site for ntp documentation here: http://ntp.isc.org/bin/view/Main/DocumentationIndex
  12. Nope, no need to be root to format a floppy. In KDE, you could use kfloppy as a regular user, choosing for example a DOS or ext2 filesystem. Or you could use the command line and do an fdformat /dev/fd0 to low-level format the floppy, then you could put a file system on it with commands like mformat a: or mkdosfs /dev/fd0 or /sbin/mkfs.vfat /dev/fd0.
  13. It's working if you use either of the following URLs: http://pwks.no-ip.org/photoworks/ ( note the trailing / ) or http://pwks.no-ip.org/photoworks/index.htm All the links from this main page are working as well.
  14. I'm adding to the kudos for your great review and detailed experiences with installing Arch. Like many have expressed, I was thinking of installing it when I had some time, but I don't think so now, at least not until they bring their documentation up to an acceptable level. You probably learned a lot in the process though, so that's good, I guess. But your experience with Arch makes me appreciate Mandriva all the more.
  15. Tom's Hardware has a nice review on the Radeon and GeForce graphics drivers on Linux: Tom's Hardware ATI/GeForce Review [moved from Hardware by spinynorman]
  16. jboy

    Display problem

    There was a similar problem reported in this thread and several suggestions were offered: Font Clipping Problem in Firefox You didn't say which version of Firefox you have. Maybe the info in that thread might be helpful.
  17. Indeed, he is. He's definitely an All-Pro and a shoo-in as an MVP candidate. Unfortunately, I don't think he got that much of a signing bonus when he was drafted by MUB right out of college. He's kinda young yet in his career to be talking Hall of Fame, but give him tyme! :D
  18. I had that happen to me with a Lexar Jump Drive Secure. It began refusing to have any data written to it, in either Linux or Windows. Nothing would work, and couldn't reformat it or fdisk it either. I found out through various postings that this was a known bug in certain Lexar USB drives. I contacted Lexar support via email and they gave me an RMA Number for a replacement drive.
  19. I'd suggest: Firefox 1.5.0.4 FF extensions: fasterfox, WebDeveloper, Firebug OpenOffice 2.0.3 K3B for burning DVDs/CDs sshd msfonts-1.0-2mcnl.noarch.rpm Java Runtime Flash player Mandriva documentation packages (Starter, Command Line, DrakTools, etc.) Multimedia: mplayer, Timidity, xine, RealPlayer, streamtuner, streamripper, kstreamripper, libdvdcss, kaffeine Utilities: krusader, kpdf, kdiff3, krename apache2 web server with PHP and MySQL if you want to a database I've forgotten a bunch that should be included but that's a start, anyway.
  20. At the command line, become the root user (enter the su command, then enter root password when prompted). Enter the command: XFdrake Select the last menu choice, which is: Options You will be asked if you want to start the graphical server at boot. Select the Yes option. When you restart, your graphical environment should be restored. ---- Also note that if you boot to the command line, you can start the graphical environment by issuing the command as your normal user: startx This will take you into your X graphical environment but for that session only, it is not a permanent fix like the method above.
  21. If you don't find anything better, here is a C program that you can compile with gcc: http://www.lns.com/papers/tonegen/ I just compiled it so I know it works. Only edit I had to make was to change the reference for soundcard.h from #include <machine/soundcard.h> to #include <sys/soundcard.h> Compile command: gcc -lm -o tonegen tonegen.c There were a couple of compiler warnings but it compiled and ran ok.
  22. Take a look at this configuration script: /usr/share/msec/libmsec.py It looks like you can control what msec does to /etc/hosts.deny by modifying that script according to your needs.
  23. jboy

    LCD Monitors

    Recently I converted from a CRT which I ran at 1024x768 resolution to a Samsung 930B LCD monitor whose native (and max) resolution is 1280x1024. This machine has an ATI 9200SE video card and I use the provided fglxrconfig to configure xorg.conf. After the switch, Mandriva 2006 booted up ok into KDE without any configuration changes being made to xorg.conf. Since I wanted to get the full 1280x1024 resolution, all I needed to do was execute fglrxconfig and select 1280x1024 resolution and that worked fine. Since I installed and started using the ATI proprietary drivers from ATI's website, I have never had to do anything other than run fglrxconfig to configure xorg.conf. Testing using glxgears and fgl_glxgears always showed good results after that.
  24. Banjo, have you tried putting both the full file path and the %1 each within the quotes? ~>wine "C:\Program Files\IrfanView\i_view32.exe" "%1"
×
×
  • Create New...