Re: edit users quota in a script

2009-02-07 Thread Stephen Corbesero

Besides the -e switch to edquota as has already been mentioned, I used
to make extensive use of the -p switch to use a prototype.  

For example, you could create a fake user (or group) named
q-typical, assign that user the quotas for a typical user, and then
use

 edquota -p q-typical newuser

to assign those quotas to the new user.  You could maintain several
prototypes for different classes of users or groups.



On Sat, Feb 07, 2009 at 01:00:25PM +0100, Nicolas Letellier wrote:

 Hello.

 I use a script to create automatically my users (with pw, and mkdir,
 etc...). I use quota, and I have to excute 'edquota -u user', and
 enter quota informations. So, the process can not be
 automaticated. And cannot be part of my script.  I don't find
 informations in edquota(8) manpages about editing user quota without
 open a file.

 Is an other solution exists? I'm looking for a solution in command
 line (for my script).


-- 
Stephen CorbeseroIt's always darkest 
Bethlehem, PA 18015  before pitch black.
corbes...@ptd.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Use Sysinstall/Configure on geom's

2008-12-23 Thread Stephen Corbesero

How can I use the visual label editor on a geom object like a mirror,
or is using bsdlabel/disklabel the only way to create the partitions?



-- 
Stephen CorbeseroIt's always darkest 
Bethlehem, PA 18015  before pitch black.
corbes...@ptd.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Toshiba laptop not recognizing usb nor cardbus

2004-11-27 Thread Stephen Corbesero
   capPen: 0
   infoSimplC: 1
   infoGeometry: 1
  Extended capabilities:
   capExtended: 1
   capPassthrough: 0
   capSleep: 1
   capFourButtons: 0
   capMultiFinger: 1
   capPalmDetect: 1
psm0: found Synaptics Touchpad
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons
psm0: config:, flags:0008, packet size:6
psm0: syncmask:c0, syncbits:00
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on 
acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
orm0: ISA Option ROMs at iomem 
0xe6000-0xe6fff,0xe-0xe1fff,0xc-0xcefff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2533432697 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 28615MB TOSHIBA MK3025GAS/KA300A [58140/16/63] at ata0-master UDMA33
acd0: CDRW UJDA760 DVD/CDRW/1.50 at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
psm: ENABLE_DEV return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 20 02 64
psm: SET_SAMPLING_RATE (100) 00fa
psm: SET_RESOLUTION (2) 00fa
psm: SET_SCALING11 return code:00fa
psm: SEND_AUX_DEV_STATUS return code:00fa
psm: status 20 02 64
psmintr: Sync bytes now 00c0,00c0
  ==  dmesg output ^^ 

-- 
Stephen Corbesero This message brought to you by
Associate Professor of Computer Science --  electrons  -- 
Moravian College, Bethlehem, PA 18018 The Other Charged Particle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB not working ona Toshiba laptop

2004-10-27 Thread Stephen Corbesero
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: found Synaptics Touchpad
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
orm0: ISA Option ROMs at iomem 0xe6000-0xe6fff,0xe-0xe1fff,0xc-0xcefff on 
isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2533435471 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 28615MB TOSHIBA MK3025GAS/KA300A [58140/16/63] at ata0-master UDMA33
acd0: CDRW UJDA760 DVD/CDRW/1.50 at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a




)-- 
Stephen Corbesero This message brought to you by
Associate Professor of Computer Science --  electrons  -- 
Moravian College, Bethlehem, PA 18018 The Other Charged Particle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to use a mirrord cvs repository

2003-11-30 Thread Stephen Corbesero

I have several machines at home at both (4) STABLE and (5) current.  I
as using cvsup on them to keep things current, but I thought it would
be better if I would just mirror the whole cvs repository and then,
on each build machine, grab the appropriate release and compile.

There are several places which clearly describe how to do the cvs
mirroring, but how do i use the mirror locally?  I was successful in
grabbing the repository.

Thanks in advance.


-- 
Stephen Corbesero
Associate Professor of Computer Science
Moravian College, Bethlehem, PA 18018
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]