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...
Type: Posts; User: andrewc6l; Keyword(s):
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...
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.
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:
...
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...
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...
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...
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...
Use Synaptic Package Manager to install aptitude and you should get what you need.
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...
alias 'cd..'='cd ..'
It looks as if this is a bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/701141
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...
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
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 -...
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.
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.
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 -...
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...
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...
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...
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...
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):...
Here's a little groovy app that does it:
http://andrewmemory.wordpress.com/2009/12/12/changing-unixlinux-filenames-to-handle-dos-conventions/
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/...
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...