Re: Advanced fsck?

2010-01-28 Thread lego_12239
On Thu, Jan 28, 2010 at 08:36:33AM +, hadi motamedi wrote:
 Thank you for your reply . Can you please let me know how to check for the
 amount of bad sectors ( I mean some sort of like scan disk on Windows) ?
 Thank you

fsck.ext3 -c  - do a read-only badblock test


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Access Problem with pppd

2010-01-26 Thread lego_12239
On Tue, Jan 26, 2010 at 07:34:33PM +0100, Hans-J. Ullrich wrote:
 Hi all,
 
 I am looking for a l?ttle understanding problem. Maybe someone can advice me.
 
 On my EEEPC I am running an application called umtsmon (this is for gprs-
 access). Umtsmom is a single binary located in /usr/bin.
 
 When I start it, it is started, and when I want to connect to the internet it 
 starts a modem connection by using pppd.
 
 This is fine working, when I am starting it as user root. (I use sux to 
 become root from a normal user).
 
 When I start umtsmon as normal user, pppd is not allowed to be used by this 
 user. This is ok, I want only users in a special group use pppd.
 
 So far so well, but I dop not understand this: When set the binary 
 with rwsr-x--- (root:dialout), then umtsmon should start with the rights of 
 root and should be also allowed to start pppd! But i does clearly NOT! I get 
 the maesage: pppd is not allowed to start, only root is allowed to start it.
 
 What do I do wrong? Where do I think wrong?
 
 BTW: maybe someone wants to adopt umtsmon and create a package.  It is open-
 source / GPL and it is really great tool (This only remarked besides)
 
 Thank you for any help!
 
 
 Best regards
 
 Hans

  Excuse me, what about sudo?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Ubuntu 8.10 sees my home partition, sid of Dec. 25 doesn't

2010-01-11 Thread lego_12239
On Mon, Jan 11, 2010 at 10:12:19AM -0700, Paul Scott wrote:
 Sorry for reposting but my home system is effectively unusable.
 
 Late on Dec. 25 I rebooted my sid system and my home directory is no
 longer visible to my system even to Grub.  It contains my home
 directory.  An Ubuntu 8.10 live CD sees it just fine.  I normally keep
 everything updated unless apt-listbugs shows.
 
 FWIW it's /dev/hda10 on a 40GB drive.  The / directory which is
 /dev/hda9 is completely visible and boots just fine.
 
 Is anyone aware of any changes at that time that would cause this?
 
 Any diagnostic ideas?

  What do you mean by doesn't see? no device or no filesystem?

  What does fdisk say?

  ~# fdisk -l

  Which filesystem does on it?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to connect my ipod?

2010-01-10 Thread lego_12239
On Sat, Jan 09, 2010 at 11:13:56AM +0100, Joost Kraaijeveld wrote:
 Hi,
 
 I got a brand new toy, an iPod classic 160 GB, for my birthday today.
 When I connect I can see it through Nautilus. But depending on the mood
 of my machine (?) it is mounted as /dev/sdd, /dev/sde of whatever sd* it
 sees fit at /media/usb0 or /media/usb1 if I happened to have a
 usb-memory stick in my machine. 
 
 Is it possible to let the iPod appear consistently at /media/ipod so
 that I can use it with GtkPod, which expects it to be at that mount
 point (or any other consistent mount point I guess)? If so, how does one
 do that using Debian Squeeze? 

  udev + fstab

  You should write an udev rule for making something like /dev/ipod when a 
device is connected to the computer. And then write line like next in the fstab:

/dev/ipod  /media/ipod  vfat noauto,sync,users 0 0


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: chroot a few apps

2010-01-09 Thread lego_12239
On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote:
 Hi.
 
 What kind of chroot should I use, if I want to make a more secured
 desktop, running e.g.:
 
 pdf reader
 webbrowser
 audio player
 video player
 openoffice
 picture viewer
 mua
 ooo
 virtualbox

  For web browser you can simply use a separate user. E.g. on my machine I
run browser with sudo -H -u inet iceweasel.

~$ id inet
uid=1001(inet) gid=1001(inet) groups=1001(inet),29(audio)

  I have no flash installed under my user, but I installed it under inet user.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: apache2 directory protection

2009-12-04 Thread lego_12239
On Fri, Dec 04, 2009 at 11:14:38AM -0500, vr wrote:
 I am having trouble getting apache2 recognizing directory protection.
 
 I've created a directory /var/www/mydir and created .htaccess  .htpasswd
 files in there but am never prompted for login.
 
 .htaccess
 AuthUserFile /var/www/mydir/.htpasswd
 AuthType Basic
 AuthName test
 require valid-user
 
 .htpasswd
 mytestuser:hashedScramble
 
 I understand that .htpasswd should reside someplace else and even moved it
 to rule this out but is the above not enough on a default installation of
 apache2 under lenny to protect a directory?

  Do you have next line in the httpd.conf:

  Directory /var/www/mydir
AllowOverride AuthConfig
  /Directory

 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org