LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Setting udev permission for raw host disk access by virtualbox machine.

Posted 10-14-2008 at 09:02 AM by dr_agon

applies to: linux, udev, permissions, device node, virtualbox


To allow raw host disk access by guest machine on VirtualBox the user must have read-write permission to all partitions which are to be accessed. You can do this by something like
Code:
sudo chmod a+rw /dev/sda7
but executing it every time you need to boot virtual machine is annoying. You may want to set the permissions at boot time.
In modern kernels (since 2.6) you can use the udev rules for setting default...
Member
Posted in Uncategorized
Views 4333 Comments 0 dr_agon is offline
Old

How to remove selected messages left on the POP3 server.

Posted 10-13-2008 at 04:46 PM by dr_agon

applies to: KMail, Evolution, Perl, POP3, mail client

Unfortunatelly my favourite mail client (Kmail) cannot leave messages on the POP3 server while retrieving them and delete them later, eg. when they are moved to 'Trash" folder (like Thunderbird). The same applies to Evolution. Of course I know there are IMAP servers, but that's not the solution I like most. I also did not want to periodically erase all messages left on POP3 server. I did not find any reasonable solution, so...
Member
Posted in Uncategorized
Views 1377 Comments 0 dr_agon is offline
Old

CVS diff default behavior

Posted 10-13-2008 at 03:55 PM by dr_agon

applies to: linux, cvs, diff

I spent some time wondering why cvs diff does not show the local files which differ from the most recent revision. It turned out that this is simply the default behavior, as described in man page:
Quote:
The default action is to compare your working files with the revisions they were based on
To see differences with other revision, you must use -D or -r option.
For example to compare with newest revisions:
Code:
cvs diff --brief -D now
...
Member
Posted in Uncategorized
Views 1056 Comments 0 dr_agon is offline
Old

How to allow ordinary (not root) users to mount/unmount everything.

Posted 10-06-2008 at 01:50 PM by dr_agon

applies to: linux, debian based (Mepis), mount, sudo

While testing many things often I have to mount/unmount resources, and I became tired of using 'su' and supplying password.

The easy but not very secure solution is to allow some (or all) users to execute mount/unmount as root without being prompted for password by adding them to /etc/sudoers file like this:
Code:
%users  ALL=NOPASSWD: /bin/mount, /bin/umount
'users' is a group name.
Now I can use...
Member
Posted in Uncategorized
Views 657 Comments 0 dr_agon is offline
Old

recover from HP Backup&Recovery partition mess

Posted 06-07-2008 at 08:13 AM by dr_agon

After initial OS installation (WindowsXP) on a HP laptop I created a set of recovery DVDs. The user installed more and more unnecessary programs and remnants after applications removal started to build up, so I decided to revert it to the fresh state after the first run. The important thing is, that after creating the backup DVDs I resized the first (system) partition, created another for user files, and removed the HP Recovery partition, because I decided to keep my backups elsewhere. <!--break-->...
Member
Posted in Uncategorized
Views 1130 Comments 0 dr_agon is offline

  



All times are GMT -5. The time now is 08:11 PM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration