Search:

Type: Posts; User: Lars Noodén; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.09 seconds.

  1. [ubuntu] incomming vs outgoing

    Your browsing connects to port 80 and 443 on the remote server, not your machine. On your own machine some high port will be outgoing. Surf a little and then check with netstat. It's a little...
  2. locate

    locate searches a database (/var/lib/mlocate/mlocate.db) which is a snapshot of the system at the time the database was filled. So if you move things around, install or uninstall things, the...
  3. Re: Recursive Delete throughout Multiple Directories

    The find command listed above won't actally delete anything until you modify it. How to modify it should become more obvious once you get more familiar with how it works and what it does.
  4. find

    You could use find:



    find . -name "*avgd" -exec echo rm {} \;


    You can see the full list of options in the manual page for find. But the above looks recursively in the current directory...
  5. Replies
    14
    Views
    300

    [lubuntu] Re: Shell Scripting

    There are a lot of sources listed in this thread:

    http://ubuntuforums.org/showthread.php?t=2155675

    I can't propose an order in which to read them. You'll have to skim them and decide which to...
  6. Replies
    8
    Views
    206

    [ubuntu] flac

    Skipping ahead to when you've gotten the hardware solved, you'll probably only want to port from vinyl to digital once per disc. In that case you should strongly consider making the first copy in a...
  7. [PPC] Lubuntu

    Also take a look at Lubuntu. The GUI will be a little faster on the G4 than regular Ubuntu and there have been PPC versions for each release.
  8. [ubuntu] Re: Web Proxy server and DHCP Server on ubuntu 12.04

    If there are not too many to be blocked, I would probably just add them to iptables rules. Otherwise, there is also Dansguardian, which I have read about but never used. I presume it still works...
  9. Replies
    2
    Views
    208

    VirtualBox

    Try VirtualBox, it works well and is Free/Open Source Software (as long as Oracle lets it be).

    It can do both 32-bit and 64-bit, but if you want to try ARM, PPC, MIPS or Sparc then you'll have...
  10. Re: rsync - copy files within all subdirectories and with patterns

    The option --files-from only reads the files from an existing list. If you want rsync to find what's there you can just point it to the source directory:



    rsync -avl /home/koosfoto.hu/source/ ...
  11. [ubuntu] Re: LAMP for Wordpress safe on home computer?

    That's still about the same as restricting access to localhost for non-VM'd services. That kind of access control is something you have to learn any way. VMs do add another layer where something...
  12. [ubuntu] Re: LAMP for Wordpress safe on home computer?

    That won't make it any more secure. It just makes it easier to clean up. For learning it might be better to take advantage of VM snapshots. But for security, there's no advantage. In fact there...
  13. [ubuntu] Re: LAMP for Wordpress safe on home computer?

    If your home router is like most people's it will not forward connections to your desktop unless you specifically configure it to do so.

    If you are really worried, you can use UFW or GUFW to...
  14. Re: Recommend a book/resource to learn bash

    I'd also recommend at least skimming the following as you progress with other material:


    http://mywiki.wooledge.org/FullBashGuide
    http://mywiki.wooledge.org/BashFAQ
    ...
  15. Replies
    6
    Views
    161

    [ubuntu] key-based authentication

    +1 for key-based authentication

    If you turn off password authentication and use only keys, you can stop worrying about brute force cracking attempts for the most part.


    ...
  16. Replies
    6
    Views
    161

    [ubuntu] sftp

    To give more hints on the ssh option, the remote machine needs to be running the server which is in the package openssh-server for Ubuntu. For other Linux distros the name might vary a little.
    ...
  17. [ubuntu] Re: Squid or iptables to block facebook https

    Yes. Though sometimes it is a little hard to massage HTML tables into workable lists of text. Having two alternative methods of getting the networks won't hurt ... much.
  18. [ubuntu] whois

    If you know the AS number of the network, you can also use whois to generate the list for you:


    /usr/bin/whois -h whois.radb.net '!gAS32934' | tr ' ' '\n' | sort -n -k1,1 -k2,2 -k3,3 -k4,4

    ...
  19. juggling sudo

    There might be a way to do it using sudo. Instead of using sudo to run as root, use sudo to run as a user that can read the password file. The option for that is -u. Have it call a shell script...
  20. rbash

    If they are logging in while physically at the computer, then your might consider rbash. Make a special directory with only that one script in it and then set the value of $PATH to that directory. ...
  21. Replies
    7
    Views
    215

    [ubuntu] Re: sudo & root pass in one line!?

    That could be boiled down even shorter, skipping the redirect to a file and just piping the echo into sudo. However, either way you end up with the password unencryped in the shell's history which...
  22. Replies
    7
    Views
    215

    [ubuntu] Re: sudo & root pass in one line!?

    You can set specific programs to not need passwords in sudo, but you have to be careful in setting it up.

    Here is one example:



    %adm ALL=(ALL) NOPASSWD: /sbin/ifconfig eth0 *


    It allows...
  23. Replies
    3
    Views
    168

    Re: A home server / router

    I'd go with something lower power if it's going to be on most of the time. Most of the tasks you list don't demand fancy hardware, except for the Bitcoin. About the Bitcoin, it's way too late to be...
  24. [ubuntu] Re: Web Proxy server and DHCP Server on ubuntu 12.04

    Bind is probably not necessary unless special tricks with DNS are needed.

    ISC dhcpd is easy enough to set up, but dnsmasq is even easier. dnsmasq can also do DNS caching if that was on the...
  25. Thread: gpg help

    by Lars Noodén
    Replies
    4
    Views
    344

    ctrl-d

    When you are editing text as input you can use ctrl-d on a blank line to exit. It works in many other situations, too. Just be careful not to do it twice in a row, becaue the first one will exit...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4