Search:

Type: Posts; User: andrewc6l; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.08 seconds.

  1. [ubuntu] Re: software installation when root has different user name

    Sometimes root got renamed on Internet-facing Unix boxes to reduce the probability of a successful attack. (This used to be done more than it is now - nowadays you just reject root logins that come...
  2. [ubuntu] Re: software installation when root has different user name

    I've never done it before, but you might want to look into the runaspw and runas_default options for /etc/sudoers.

    You might also be able to just su rather than sudo.
  3. Re: polkit / Dbus, I'm confused. Which is correct for granting root access?

    You haven't said what your app is written in. If it's C/C++, then setuid/seteuid (or setgid/setegid) is what you should be using:
    ...
  4. Replies
    10
    Views
    870

    Re: Problem with -classpath option in java

    Your classpath will need to include both the jar file and the directory that contains MyProgram (assuming it's in the default package). For example:

    java -cp foo.jar:. MyProgram

    More info than...
  5. [ubuntu] Re: Anybody want to take a guess at why I can resolve DNS names but cannot ping them?

    The only thing I can think might be a possibility is that your /etc/resolv.conf doesn't have the right nameserver line? If that's the case, not sure how dig is finding it though...
  6. Thread: MythTV Help!

    by andrewc6l
    Replies
    2
    Views
    647

    [ubuntu] Re: MythTV Help!

    Here's the official MythTV page for backup/restore:

    http://www.mythtv.org/wiki/Database_Backup_and_Restore

    You can download mythconverg_backup.pl and mythconverg_restore.pl from there. (Follow...
  7. Re: program compiled with cygwin (C) doesn't run in background

    Cygwin lets you build MS Windows apps - here's a link explaining how:

    http://www.cygwin.com/cygwin-ug-net/programming.html#gcc-gui

    It might be easier just to create a shortcut to your app. Then...
  8. [ubuntu] Re: Help with Uninstalling a Program with Terminal

    Use Synaptic Package Manager to install aptitude and you should get what you need.
  9. [ubuntu] Re: corrupt .odt open office document recovery?

    An .odt file is just a .zip file with a different name. You might be able to find a zip utility that will fix it (although zip -FF probably won't work) - if you can, you could extract the...
  10. Replies
    172
    Views
    181,188

    Re: Post your favorite bash aliases!

    alias 'cd..'='cd ..'
  11. Replies
    3
    Views
    1,112

    [ubuntu] Re: equivalent of nice command for RAM usage

    It looks as if this is a bug:

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/701141
  12. Replies
    3
    Views
    1,112

    [ubuntu] Re: equivalent of nice command for RAM usage

    You can set the maximum amount of RAM a program uses with the ulimit shell built-in command.

    I'm not sure if Ubuntu honors ulimit -m, but you might want to try:


    ulimit -m 256

    to give the...
  13. Replies
    1
    Views
    225

    [ubuntu] Re: LIRC problems ...again.

    Not sure if this is the same problem. If LIRC dies after rebooting but can be restarted with the init script, try something like this:

    http://ubuntuforums.org/archive/index.php/t-1123639.html
  14. Replies
    5
    Views
    733

    [ubuntu] Re: Problem using LCD TV as a monitor

    If it's a Samsung LCD TV, this is a pretty common problem. You will probably need to add a modeline to your /etc/X11/xorg.conf file. Try searching the web with "your model number" and modeline -...
  15. Replies
    2
    Views
    403

    Re: Weird .class error?

    The official syntax would be:

    java packagename.Classname

    (note the . instead of /). Make sure you're in the parent of packagename, and your class has the package packagename.
  16. [ubuntu] Re: CIFS user credentials on a qNap 209II NAS-disk

    Here's a link that might help:

    http://ubuntuforums.org/archive/index.php/t-642148.html

    Essentially, you'll need to change the default uid / gid on the NAS, not something you can do in Ubuntu.
  17. Replies
    4
    Views
    2,612

    [ubuntu] Re: any way to mount .dmg *image* read/write??

    You can avoid permssion problems with:


    sudo sh

    This will give you a root shell, which has permissions to do pretty much everything (including breaking your Ubuntu install, if you tell it to -...
  18. [ubuntu] Re: Want to get a TV Tuner (Internal or External) Card

    I'm using a couple of pcHDTV 5500s. It's supported on Linux - not sure about XP suport. You might want to ask this question on the MythTV forum - lots of people with opinions about tuner cards there...
  19. Thread: C to / ?

    by andrewc6l
    Replies
    9
    Views
    607

    [ubuntu] Re: C to / ?

    Nope, you'd still boot using the Linux boot loader, which would load the Linux kernel. If you want to run Windows apps on Linux, look into Wine - I'm pretty sure you can just install it using the...
  20. Replies
    3
    Views
    1,801

    [ubuntu] Re: wget failed to download image from URL

    Try:


    wget "cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom=5&x=0&y=0"


    (Note the quotation marks.) The shell is interpreting the first & as "put this process in the...
  21. Replies
    3
    Views
    1,801

    [ubuntu] Re: wget failed to download image from URL

    Try:


    wget "cbk0.google.com/cbk?output=tile&panoid=2dAJGQJisD1hxp_U0xlokA&zoom=5&x=0&y=0"


    (Note the quotation marks.) The shell is interpreting the first & as "put this process in the...
  22. [ubuntu] Re: create file of of all files being accessed

    You might want to use

    -amin -3
    (for files changed in the last 3 minutes).

    If you like life to be a little more edgy (with possibility of file system damage, but that's all part of the game):...
  23. [ubuntu] Re: How to change illegal Windows characters to underscores

    Here's a little groovy app that does it:

    http://andrewmemory.wordpress.com/2009/12/12/changing-unixlinux-filenames-to-handle-dos-conventions/
  24. Replies
    0
    Views
    417

    [ubuntu] Files turn into directories? (samba)

    I've run into a weird state when using a Samba-mounted filesystem on Ubuntu 9.10. Every now and then, files will turn into directories. In other words, I see:


    $ ls
    realdir/ test.txt/...
  25. Replies
    1
    Views
    1,770

    [ubuntu] Re: Encrypt string in DES

    The easiest way is to install mcrypt. Note that (unlike md5sum) mcrypt is actual encryption, not just a cryptographic checksum - so you'll have to supply a secret key to encrypt with.


    $ mcrypt...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4