Posts Tagged ubuntu
Chroot SSH script for Debian and its derivatives
AHello,
Recently, I wanted to do a chroot to secure new connections to come on my server.
After reading some tutorial, it seemed very complicated ...
So me when it's complicated, I script
The result, a small script that you created everything!
The only information to know is that the tree before the chroot file must be owned by root ...
Here's how to install and use:
As a first step to root
sudo-i Now install the application and once more become user
http://www.syl21.org/wp-content/uploads/2011/05/mkchroot_ssh wget-O / usr / sbin / mkchroot_ssh chmod + x / usr / sbin / mkchroot_ssh exit
It is now to use the script it'll just be
sudo mkchroot_ssh Let us guide you is that of happiness ...
Good day
Mime Type and Thunderbird on Linux
3Hello,
I propose today to correct a problem you may have with Thunderbird.
Since an update, I can not open my attachments in Thunderbird!
I am forced to download them to my disk and then open them by hand ... boring!
Here is the solution from the command line and the explanation below for those interested:
rm ~ /. thunderbird / *. default / mimeTypes.rdf ln-s / etc / mime.types ~ /. mime.types
The file "mimeTypes.rdf" at the root of a Thunderbird profile contains information file management via their specific extensions for Thunderbird. The file "/ etc / mimetypes" He has the management information files via their extensions to the system. Finally, the file "~ /. Mime.types" hidden in the "home", contains information for managing files via their extensions for the user (if different from "/ etc / mimetypes" system).
Now that this goes on??
Normally the opening of Thunderbird, More>
No Sleep (Shift 03/03/2010)
5EDIT # # # # # # The script has been updated following a bug with spaces in file names. Now, if the script is interrupted incorrectly, the next launch, it restores your original configuration. ########## Hello,
After a long time without post, here's a new script ...
I'm on ubuntu and I noticed that when I watched a DVD on VLC, the screensaver was not disabled ...
I then created a script that disables the screen saver and power management in environments gnome2.
Here is the script nosleep to put in your PATH. I recommend / usr / local / bin
You only have to copy this in a terminal:
sudo wget-O http://www.syl21.org/wp-content/uploads/nosleep.bash / usr / local / bin / nosleep sudo chmod + x / usr / local / bin / nosleep
Then from the command line simply run:
nosleep command arguments
Example:
nosleep vlc / dev / cdrom nosleep nosleep mplayer k3b You can of More>















































