Re: [ILUG] CD-Writing over a network

From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Tue 12 Jun 2001 - 22:21:35 IST


On Tue, Jun 12, 2001 at 11:25:22AM +0100 or so it is rumoured hereabouts,
Tor Bendiksen thought:
> >
> >mount -t smbfs //doze-box/share-name /mount/point
> >to mount the box to clone, then use mkisofs to create an iso image, then
> >use cdrecord to write the CD. You'd need to figure out how to feed
> >passwords to the mount command (which must run as root to do the smbfs
> >stuff, or that's what I've found. If you get this figured out for an
> >ordinary user, please let me know) but,
>
> man smbmount (wrapper for mount -t smbfs):
>
> mount -t smbfs -o username=user,password=pass //doze-box/share /mnt/tmp

Oh, I've done that. Trouble is, I can only do it as root (all the smbmnt,
smbmount etc. are suid) or put the password in /etc/fstab which I don't
like.

Conor

-- 
Conor Daly <conor.daly at domain oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  8:49pm  up 24 days,  8:57,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
  8:59pm  up 23 days, 10:00,  1 user,  load average: 0.00, 0.01, 0.00


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:38 GMT