[clug] Installing debian package.

Barry Campbell barryca at bigpond.net.au
Thu Mar 29 01:51:50 GMT 2007


Hi there

I am trying to install a Debian package in Kubuntu using the Konsole program 
but get the message  " The utility is not in your PATH please install it or 
contact your system administrator ".  Anyone out there like to be my 
administrator??
Regards Barry


----- Original Message ----- 
From: <linux-request at lists.samba.org>
To: <linux at lists.samba.org>
Sent: Wednesday, March 28, 2007 10:00 PM
Subject: linux Digest, Vol 51, Issue 36


> Send linux mailing list submissions to
> linux at lists.samba.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.samba.org/mailman/listinfo/linux
> or, via email, send a message with subject or body 'help' to
> linux-request at lists.samba.org
>
> You can reach the person managing the list at
> linux-owner at lists.samba.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux digest..."
>
>
> Today's Topics:
>
>   1. Samba help (Chris Smart)
>   2. RE: Samba help (Mike J)
>   3. RE: Samba help (Chris Smart)
>   4. ? file command (Adrian Blake)
>   5. Re: ? file command (Sam Couter)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Mar 2007 01:15:09 +0000
> From: Chris Smart <chris at kororaa.org>
> Subject: [clug] Samba help
> To: linux at lists.samba.org
> Message-ID: <1175044509.8620.16.camel at ubuntu>
> Content-Type: text/plain
>
> Greetings all,
>
> Can someone help me a little with samba? I have a samba server
> configured for a local network, which needs to serve a share for a
> network of 100 or so Windows pcs.
>
> Although there is an active directory server I don't want to use
> authentication for this server, I want everyone to be able to connect as
> a guest with read only permissions.
>
> However, I want ONE particular user on the network to be able to write
> to the share.
>
> If I have the security options off or manually set to 'user' then this
> person can connect and write to the share perfectly. However, all other
> users are prompted with a username and password. Makes sense.
>
> So I set security to 'share' which enables all users to connect without
> a password, however now the user I want to be able to write to the share
> can't.
>
> My guess is that samba just forgets about auth and connects everyone as
> guest (?) but I want this user to be authenticated and allowed to write
> to the share.
>
> So perhaps I want something like: first try to authenticate the user, if
> not, then connect with guest. This way he should be authenticated and
> the share gives him write access, but all others are not authenticated
> and therefore connect as guest, for which the share denies write access.
>
> I hope that makes sense.. can anyone tell me what I'm doing wrong?
>
> Box is running Etch. I've been fiddling with the smb.conf but here it is
> in its latest state:
>
> ;start
> [global]
>   workgroup = mshome.local
>   server string = %h server
>   dns proxy = no
>   log file = /var/log/samba/log.%m
>   max log size = 1000
>   syslog = 0
>   panic action = /usr/share/samba/panic-action %d
>   security = share
>   encrypt passwords = true
>   passdb backend = tdbsam
>   obey pam restrictions = yes
>   guest account = nobody
>   invalid users = root
>   passwd program = /usr/bin/passwd %u
>   socket options = TCP_NODELAY
>
> [graphics]
>   comment = Graphics
>   guest ok = yes
>   browseable = yes
>   path = /data/samba/graphics
>   writable = no
>   create mask = 0775
>   directory mask = 0775
>   write list = chrissmart
>   force group = chrissmart
>   public = yes
> ;end
>
> Muchas gracias!
> Chris
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 28 Mar 2007 01:45:57 +0000
> From: "Mike J" <astro_mikel at hotmail.com>
> Subject: RE: [clug] Samba help
> To: chris at kororaa.org, linux at lists.samba.org
> Message-ID: <BAY117-F11054B01CAEE0FBBFCFB9D8D6D0 at phx.gbl>
> Content-Type: text/plain; format=flowed
>
> This isn't really a fix more of a workaround.....but.
>
> Can't u just make a user that doesn't have write access to the share, use 
> a
> login script (or however ur doing it) to connect to the share with those
> credentials behind the scenes.
> Then create a user with write access and let them know user/pass or make a
> different login script passing those details?
>
> Just a thought....make not be what ur after though.
>
> cheers
>
> michael.
>
>
>
>
>>From: Chris Smart <chris at kororaa.org>
>>To: linux at lists.samba.org
>>Subject: [clug] Samba help
>>Date: Wed, 28 Mar 2007 01:15:09 +0000
>>
>>Greetings all,
>>
>>Can someone help me a little with samba? I have a samba server
>>configured for a local network, which needs to serve a share for a
>>network of 100 or so Windows pcs.
>>
>>Although there is an active directory server I don't want to use
>>authentication for this server, I want everyone to be able to connect as
>>a guest with read only permissions.
>>
>>However, I want ONE particular user on the network to be able to write
>>to the share.
>>
>>If I have the security options off or manually set to 'user' then this
>>person can connect and write to the share perfectly. However, all other
>>users are prompted with a username and password. Makes sense.
>>
>>So I set security to 'share' which enables all users to connect without
>>a password, however now the user I want to be able to write to the share
>>can't.
>>
>>My guess is that samba just forgets about auth and connects everyone as
>>guest (?) but I want this user to be authenticated and allowed to write
>>to the share.
>>
>>So perhaps I want something like: first try to authenticate the user, if
>>not, then connect with guest. This way he should be authenticated and
>>the share gives him write access, but all others are not authenticated
>>and therefore connect as guest, for which the share denies write access.
>>
>>I hope that makes sense.. can anyone tell me what I'm doing wrong?
>>
>>Box is running Etch. I've been fiddling with the smb.conf but here it is
>>in its latest state:
>>
>>;start
>>[global]
>>    workgroup = mshome.local
>>    server string = %h server
>>    dns proxy = no
>>    log file = /var/log/samba/log.%m
>>    max log size = 1000
>>    syslog = 0
>>    panic action = /usr/share/samba/panic-action %d
>>    security = share
>>    encrypt passwords = true
>>    passdb backend = tdbsam
>>    obey pam restrictions = yes
>>    guest account = nobody
>>    invalid users = root
>>    passwd program = /usr/bin/passwd %u
>>    socket options = TCP_NODELAY
>>
>>[graphics]
>>    comment = Graphics
>>    guest ok = yes
>>    browseable = yes
>>    path = /data/samba/graphics
>>    writable = no
>>    create mask = 0775
>>    directory mask = 0775
>>    write list = chrissmart
>>    force group = chrissmart
>>    public = yes
>>;end
>>
>>Muchas gracias!
>>Chris
>>--
>>linux mailing list
>>linux at lists.samba.org
>>https://lists.samba.org/mailman/listinfo/linux
>
> _________________________________________________________________
> Advertisement: Its simple! Sell your car for just $30 at carsales.com.au
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801577%2Fpi%5F1005244%2Fai%5F838588&_t=754951090&_r=tig&_m=EXT
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 28 Mar 2007 02:12:07 +0000
> From: Chris Smart <chris at kororaa.org>
> Subject: RE: [clug] Samba help
> To: Mike J <astro_mikel at hotmail.com>
> Cc: linux at lists.samba.org
> Message-ID: <1175047927.8620.27.camel at ubuntu>
> Content-Type: text/plain
>
> Hi Mike,
> Thanks for your reply.
>
> I tried this before, however when security was set to 'share' it ignored
> the username and password that I 'forced' it to connect with. But
> setting this back to 'user' will let me connect with another username
> and try your suggestion.
>
> I didn't want to do it this way originally because I didn't want it
> popping up and having to type in usernames and passwords. However your
> suggestion of adding it to the login script made me realise I could set
> the username with 'net use' and then it shouldn't be an issue.
> Thanks! :)
>
> So that'll do for now, unless someone has a 'proper way' of doing it.
>
> Thanks a lot!
>
> Cheers,
> Chris
>
> On Wed, 2007-03-28 at 01:45 +0000, Mike J wrote:
>> This isn't really a fix more of a workaround.....but.
>>
>> Can't u just make a user that doesn't have write access to the share, use 
>> a
>> login script (or however ur doing it) to connect to the share with those
>> credentials behind the scenes.
>> Then create a user with write access and let them know user/pass or make 
>> a
>> different login script passing those details?
>>
>> Just a thought....make not be what ur after though.
>>
>> cheers
>>
>> michael.
>>
>>
>>
>>
>> >From: Chris Smart <chris at kororaa.org>
>> >To: linux at lists.samba.org
>> >Subject: [clug] Samba help
>> >Date: Wed, 28 Mar 2007 01:15:09 +0000
>> >
>> >Greetings all,
>> >
>> >Can someone help me a little with samba? I have a samba server
>> >configured for a local network, which needs to serve a share for a
>> >network of 100 or so Windows pcs.
>> >
>> >Although there is an active directory server I don't want to use
>> >authentication for this server, I want everyone to be able to connect as
>> >a guest with read only permissions.
>> >
>> >However, I want ONE particular user on the network to be able to write
>> >to the share.
>> >
>> >If I have the security options off or manually set to 'user' then this
>> >person can connect and write to the share perfectly. However, all other
>> >users are prompted with a username and password. Makes sense.
>> >
>> >So I set security to 'share' which enables all users to connect without
>> >a password, however now the user I want to be able to write to the share
>> >can't.
>> >
>> >My guess is that samba just forgets about auth and connects everyone as
>> >guest (?) but I want this user to be authenticated and allowed to write
>> >to the share.
>> >
>> >So perhaps I want something like: first try to authenticate the user, if
>> >not, then connect with guest. This way he should be authenticated and
>> >the share gives him write access, but all others are not authenticated
>> >and therefore connect as guest, for which the share denies write access.
>> >
>> >I hope that makes sense.. can anyone tell me what I'm doing wrong?
>> >
>> >Box is running Etch. I've been fiddling with the smb.conf but here it is
>> >in its latest state:
>> >
>> >;start
>> >[global]
>> >    workgroup = mshome.local
>> >    server string = %h server
>> >    dns proxy = no
>> >    log file = /var/log/samba/log.%m
>> >    max log size = 1000
>> >    syslog = 0
>> >    panic action = /usr/share/samba/panic-action %d
>> >    security = share
>> >    encrypt passwords = true
>> >    passdb backend = tdbsam
>> >    obey pam restrictions = yes
>> >    guest account = nobody
>> >    invalid users = root
>> >    passwd program = /usr/bin/passwd %u
>> >    socket options = TCP_NODELAY
>> >
>> >[graphics]
>> >    comment = Graphics
>> >    guest ok = yes
>> >    browseable = yes
>> >    path = /data/samba/graphics
>> >    writable = no
>> >    create mask = 0775
>> >    directory mask = 0775
>> >    write list = chrissmart
>> >    force group = chrissmart
>> >    public = yes
>> >;end
>> >
>> >Muchas gracias!
>> >Chris
>> >--
>> >linux mailing list
>> >linux at lists.samba.org
>> >https://lists.samba.org/mailman/listinfo/linux
>>
>> _________________________________________________________________
>> Advertisement: Its simple! Sell your car for just $30 at carsales.com.au
>> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801577%2Fpi%5F1005244%2Fai%5F838588&_t=754951090&_r=tig&_m=EXT
>>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 28 Mar 2007 18:54:48 +1000
> From: Adrian Blake <adrian.blake at ieee.org>
> Subject: [clug] ? file command
> To: linux at lists.samba.org
> Message-ID: <460A2D58.5070009 at ieee.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I am trying to compile some software.
>
> On the originator's machine "file" and "file -i" display this:
>
> ./src] > file bibliotheque_trigonometrique.f
> bibliotheque_trigonometrique.f: ISO-8859 English text
>
> ./src] > file -i bibliotheque_trigonometrique.f
> bibliotheque_trigonometrique.f: text/plain; charset=iso-8859-1
>
> i.e. same
>
> on my machine
> > file bibliotheque_trigonometrique.f
> bibliotheque_trigonometrique.f: ISO-8859 English text
>
> > file -i bibliotheque_trigonometrique.f
> bibliotheque_trigonometrique.f: image/x-3ds
>
> different ?? why? Is there a fix?  I use Mandriva 2007.
>
> Adrian
>
>
> -- 
> Adrian Blake
> Molonglo Radio Observatory
> University of Sydney
> 1152 Hoskinstown Rd
> Bungendore 2621
> ph. 02 80042212  mobile 0407 232 978
>
> http://150.101.125.30/pics
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 28 Mar 2007 19:39:11 +1000
> From: Sam Couter <sam at couter.id.au>
> Subject: Re: [clug] ? file command
> To: linux at lists.samba.org
> Message-ID: <20070328093911.GA27164 at tekno.house>
> Content-Type: text/plain; charset="us-ascii"
>
> Adrian Blake <adrian.blake at ieee.org> wrote:
>> on my machine
>> > file bibliotheque_trigonometrique.f
>> bibliotheque_trigonometrique.f: ISO-8859 English text
>>
>> > file -i bibliotheque_trigonometrique.f
>> bibliotheque_trigonometrique.f: image/x-3ds
>>
>> different ?? why? Is there a fix?  I use Mandriva 2007.
>
> The man page for 'file' says it uses a different magic file for the '-i'
> option. On my system (Debian sid) they're at /usr/share/file/magic and
> /usr/share/file/magic.mime
>
> magic.mime even has a little hint in it:
>
> # 3DS (3d Studio files) Conflicts with diff output 0x3d '='
> #16     beshort         0x3d3d          image/x-3ds
>
> Looks like 'file' can be easily confused if a file has equal signs near
> the start, and the Debian maintainer (or somebody else) has disabled the
> x-3ds MIME type for that reason.
> -- 
> Sam Couter         |  mailto:sam at couter.id.au
>                   |  jabber:sam at teknohaus.dyndns.org
> OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: Digital signature
> Url : 
> http://lists.samba.org/archive/linux/attachments/20070328/cfe71be8/attachment-0001.bin
>
> ------------------------------
>
> _______________________________________________
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>
>
> End of linux Digest, Vol 51, Issue 36
> ************************************* 




More information about the linux mailing list