Re: I need to mount in a normal account

2009-04-20 Thread patrick keshishian
On Mon, Apr 20, 2009 at 4:37 AM, Juan Jimenez Galdos wrote: > Right now works, i am using "db B B B ALL=/sbin/mount,/sbin/umount" > > But i can't write in the usb or HDD (fat32) mounted. What could i do? Thank > you very much. $ man mount_msdos see -u option. next $ man mount and read all ab

Re: : I need to mount in a normal account

2009-04-20 Thread Raimo Niskanen
On Mon, Apr 20, 2009 at 01:37:45PM +0200, Juan Jimenez Galdos wrote: > Right now works, i am using "db ALL=/sbin/mount,/sbin/umount" > > But i can't write in the usb or HDD (fat32) mounted. What could i do? Thank > you very much. Who owns the mount point, and what are the rights on it? For

Re: I need to mount in a normal account

2009-04-20 Thread Juan Jimenez Galdos
Right now works, i am using "db ALL=/sbin/mount,/sbin/umount" But i can't write in the usb or HDD (fat32) mounted. What could i do? Thank you very much.

Re: I need to mount in a normal account

2009-04-20 Thread Nick Guenther
2009/4/17 Juan Jimenez Galdos : > Hi. Right now i have written "db ALL=NOPASSWD:/sbin/mount /mnt/cd0, > /sbin/umount /mnt/cd0", but it seems that isn't correct. What could i write? > I was typing the root password, so i have tried the user password and it > works fine. > > THank you very much. >

Re: I need to mount in a normal account

2009-04-17 Thread Juan Jimenez Galdos
Hi. Right now i have written "db ALL=NOPASSWD:/sbin/mount /mnt/cd0, /sbin/umount /mnt/cd0", but it seems that isn't correct. What could i write? I was typing the root password, so i have tried the user password and it works fine. THank you very much.

Re: I need to mount in a normal account

2009-04-16 Thread Martin Oppegaard
Hi, On Thu, Apr 16, 2009 at 10:32:52PM +0200, Toma?? Bod??ar wrote: > Why is there cd0 even if it's directory name? > On this line you write only commands which you want to use > without/with password and not name of directories. One can indeed include options for the commands: sudoers(5):

Re: I need to mount in a normal account

2009-04-16 Thread Tomáš Bodžár
Hmmm,it's new for me.I use only syntax for commands in /etc/sudoers Thanks for info 2009/4/16 Hannah Schroeter : > Hi! > > On Thu, Apr 16, 2009 at 10:32:52PM +0200, TomC!?? Bod??C!r wrote: >>Why is there cd0 even if it's directory name? >>On this line you write only commands which you want to use

Re: I need to mount in a normal account

2009-04-16 Thread Martin Oppegaard
Hi, On Thu, Apr 16, 2009 at 10:18:12PM +0200, Juan Jimenez Galdos wrote: > Sorry, I pressed enter. > > I add to sudoers (cd0 is the directory in /mnt/): > db ALL=/sbin/mount /cd0,/sbin/umount /cd0 > > But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says This command is

Re: I need to mount in a normal account

2009-04-16 Thread Hannah Schroeter
Hi! On Thu, Apr 16, 2009 at 04:29:48PM -0400, Nick Guenther wrote: >On Thu, Apr 16, 2009 at 4:18 PM, Juan Jimenez Galdos > wrote: >> I add to sudoers (cd0 is the directory in /mnt/): >> db ALL=/sbin/mount /cd0,/sbin/umount /cd0 >> But when I try "mount /dev/cd0c /mnt/cd0" and i write the pass

Re: I need to mount in a normal account

2009-04-16 Thread Hannah Schroeter
Hi! On Thu, Apr 16, 2009 at 10:32:52PM +0200, Toma?? Bod??ar wrote: >Why is there cd0 even if it's directory name? >On this line you write only commands which you want to use >without/with password and not name of directories. No, you can also name arguments if you want to permit them only if the

Re: I need to mount in a normal account

2009-04-16 Thread Hannah Schroeter
Hi! On Thu, Apr 16, 2009 at 10:18:12PM +0200, Juan Jimenez Galdos wrote: >Sorry, I pressed enter. Strange software to "punish" you for a mere press of enter. >I add to sudoers (cd0 is the directory in /mnt/): >db ALL=/sbin/mount /cd0,/sbin/umount /cd0 >But when I try "mount /dev/cd0c /mnt/c

Re: I need to mount in a normal account

2009-04-16 Thread Alexander Hall
Juan Jimenez Galdos wrote: > Sorry, I pressed enter. Pressing Enter sends your email? > I add to sudoers (cd0 is the directory in /mnt/): > db ALL=/sbin/mount /cd0,/sbin/umount /cd0 > > But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says > "try again", and i have writt

Re: I need to mount in a normal account

2009-04-16 Thread Ariane van der Steldt
On Thu, Apr 16, 2009 at 10:18:12PM +0200, Juan Jimenez Galdos wrote: > Sorry, I pressed enter. > > I add to sudoers (cd0 is the directory in /mnt/): > db ALL=/sbin/mount /cd0,/sbin/umount /cd0 > > But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says > "try again", and i

Re: I need to mount in a normal account

2009-04-16 Thread Tomáš Bodžár
Why is there cd0 even if it's directory name? On this line you write only commands which you want to use without/with password and not name of directories. So 'db ALL=/sbin/mount , /sbin/umount' or 'db ALL=NOPASSWD:/sbin/mount , /sbin/umount' is enough. What's the output of 'ls -l /dev/cd*' an

Re: I need to mount in a normal account

2009-04-16 Thread Nick Guenther
On Thu, Apr 16, 2009 at 4:18 PM, Juan Jimenez Galdos wrote: > Sorry, I pressed enter. > > I add to sudoers (cd0 is the directory in /mnt/): > db ALL=/sbin/mount /cd0,/sbin/umount /cd0 > > But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says > "try again", and i have writt

Re: I need to mount in a normal account

2009-04-16 Thread Juan Jimenez Galdos
Sorry, I pressed enter. I add to sudoers (cd0 is the directory in /mnt/): db ALL=/sbin/mount /cd0,/sbin/umount /cd0 But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says "try again", and i have written the password correctly. I am trying to do the same without password:

Re: I need to mount in a normal account

2009-04-16 Thread Juan Jimenez Galdos
I add to sudoers: db

Re: I need to mount in a normal account

2009-04-12 Thread Stuart Henderson
On 2009-04-12, Abel Camarillo wrote: > Nobody will help you if you don't describe thoroughly what was the problem. > > I have seen a lot of messages from you recently, are you doing your > homework? (lurking through the docs) probably not, looking at the examples in the default sudoers file: # S

Re: I need to mount in a normal account

2009-04-12 Thread Abel Camarillo
Nobody will help you if you don't describe thoroughly what was the problem. I have seen a lot of messages from you recently, are you doing your homework? (lurking through the docs) On Mon, Apr 13, 2009 at 01:07:49AM +0200, Juan Jimenez Galdos wrote: > I repeat: I have searched and i have tried se

Re: I need to mount in a normal account

2009-04-12 Thread Juan Jimenez Galdos
I repeat: I have searched and i have tried several things but it's a little difficult configure two comands. Please lend me some help. Thank you very much.

Re: I need to mount in a normal account

2009-04-12 Thread Fred Crowson
On 4/12/09, Juan Jimenez Galdos wrote: > Hi. I need two things: I need to use the command "mkdir", the command > "mount" and "umount", but ONLY THOSE. Somebody could say me what could i > write in sudoers? I have searched and i have tried several things but it's a > little difficult configure two

I need to mount in a normal account

2009-04-12 Thread Juan Jimenez Galdos
Hi. I need two things: I need to use the command "mkdir", the command "mount" and "umount", but ONLY THOSE. Somebody could say me what could i write in sudoers? I have searched and i have tried several things but it's a little difficult configure two comands. Thank you very much.