@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8



Comments:

<0> then yours is the one that hit my head
<1> dcox, are you serious ?
<2> um,does anyone know how i can make ssh use a p***word saved somewhere instead of waiting for interactive p***word entry?
<3> uwe_: there is some strange, overly complicated thing where you can copy "keys" around in your homedirs... of a simple way to just store the p***word somewhere, I don't know.. but maybe there is a way :)
<2> hmmm ... well, thank you for the hint intrr
<3> uwe_: the ssh manpage has explanations about that method...
<4> uwe_: 'man ssh-agent'
<3> that is so complicated. why can't it just be a damn checkbox "remember p***word" like in windows.
<4> intrr: it is not that complicated really :-)
<5> intrr: you need to use publickeys somehow, can't remember right now how it's done tho..
<5> and it's not complicated :P
<6> anyone experienced with siege in here?
<6> or seen this - Error: unable to shutdown the socket: Transport endpoint is not connected
<7> Punkcut: That means some like, they went away before you had a chance to close the connection from your end -- if nothing else is going wrong, then it's probably ignorable.
<0> hero siege?



<6> no like siege the http benchmarker
<6> kittenbot - well its unfortunately stopping me from benchmarking my newly tweaked config files
<6> nobody else is even connected to the server.
<6> and from the very start the very first connection returns that
<7> Is the server running?
<7> Is it accepting connections?
<6> yup
<6> i can connect with a browser just fine
<6> ping it whatever
<6> it all goes fine until i try and rape it with siege
<6> but the thing is ive only got siege set to make 10 connections
<6> thats hardly enough to drop a 4GB mem server
<7> Can it go down to 1 connection ?
<8> hi there
<6> yah ill try that real quick
<6> kittenbot - hey that worked...
<6> kittenbot - i take it i messed up a setting in my httpd.conf?
<7> Punkcut: I have no idea -- the problem could still be anywhere afaik :)
<6> argh lame... alright back to the manuals.
<6> thanks for the second pair of eyes on the problem.
<9> hi, there is a PC running cupsys with a printer attached in my LAN. how should I set other linux machines so that I can print on that printer from other PCs?
<10> MrKeuner_ : huh?
<10> MrKeuner_ : you want to route the print jobs through 2 machines?
<9> mach A has the printer how should I set B to print on A
<10> or just the one which has cups running?
<9> both linux both cups
<10> go to /etc/cups, there's a file called client.conf
<10> edit that file, in the line that says ServerName put the ip of machine A [this is done on machine B]
<10> that's it on machine B. lpstat -a should show you now available printers
<9> do I need to do anything on A as well?
<10> yes. you have to allow machine B to print
<9> cupsd.conf is the file for that I guess
<10> yes
<11> is there a way that I can cause all files written / created in a certain directory to be readable by a specific group?
<10> pillage : nope.
<11> IE I'm poet:users and I want the files to be poet:tomcat
<11> ananke: bugger
<10> ohh, that you can do
<11> oh?
<10> first you 'chgr tomcat /somedir' then 'chmod g+s /somedir'
<11> basically I have to put my files under the tomcat webroot instead of my apache one but I keep having permissions problems
<10> of course, the users who write there have to be part of tomcat group
<11> yup
<11> ok I'll give that a try, thanks
<10> this takes care of ONLY group ownership, NOT permissions
<10> if your umask is 022, you still can't write to those files as another user
<11> ok... I don't really understand the umask side of things yetr
<10> do you understand the basic three 'user' 'group' 'other'?
<11> think so yes :)
<10> and the three types of permissions for each of those?
<11> yeah I have been able to set files so users of the group can write to them
<10> well, then you should know that changing the group does not mean that the group can write to it
<11> ananke: well I've been able to change the perms on the file after the fact, but that's a pain when I'm creating a bunch of new files arbitrarily from my ide
<11> ananke: what I'm trying to do is make sure when i create files in that dir they are writeable by me but readable / executable by tomcat
<10> again, those are two separate things [eventhough they work together]: user/group ownerships and permissions
<11> ananke: mm maybe I haven't properly understood that seperation before
<11> I guess it's permissions I'm looking for
<10> do you know how to read the 'rwx-x-rwx' notation?
<9> ananke/ should I add printer at B after those two steps?
<10> well, you're looking at BOTH group ownership AND permissions



<11> ananke: actually no - I understand what the letters represent but I'm unsure which segment is which
<10> MrKeuner_ : no. it should be automagically available
<10> pillage : <owner><group><other> that's the order. each has usually a combination of three main attributes: rwx = read write execute
<10> MrKeuner_ : lpstat -a on the client should show you those
<9> lpstat: Unable to connect to server: Connection refused
<9> I have allowed and restarted though
<11> ananke: ah thanks
<11> ananke: so can I achieve what I'm trying to do or do I just need to change the permissions after I've written the files?
<10> MrKeuner_ : then most likely you did not allow it. on machine A go to /var/log/cups, and run 'tail -f *', then on machine B run 'lpstat -a'
<10> it should tell you where that request is coming from
<10> pillage : how are you writing those files?
<11> ananke: just from jEdit running under my normal user account
<11> ananke:
<11> ananke: oops. You know, I think I have it working
<11> pillage: after your explanation I realised when it didn't work it was because I was mucking about with something else
<11> ananke: I can write the files and they are owned poet:tomcat, readable by all but writeable by me
<11> ananke: that seems to be all I need :)
<11> ananke: although I do have one more question if you don't mind
<11> ananke: is there a way to make them automagically writeable by the group as well as the owner?
<10> not without changing the umask
<9> ananke/ nothing drops to log on A when i do lpstat on B
<11> ananke: hrm I'll have to look that up - I don't really know what it means
<10> pillage : run 'touch me' then type 'stat me'
<10> pillage : look on the 'access' line
<11> ananke: after the date it has +1100
<10> MrKeuner_ : then it means that most likely machine A has a firewall
<10> pillage : that's not important now. it's a time zone
<11> ananke: ah ok
<10> pillage : anyway, do you see the access line, and the first number on that line?
<11> ananke: ah yes 0644
<11> ananke: thats the numeric representation of the permissions - the umask?
<10> that's the opposite of the umask :)
<10> type 'umask', it will show you the current umask
<11> 0022
<11> is that a system wide thing? Ie all files created by my user will be created under that umask?
<10> that's usually the default umask
<10> grep umask /etc/ * -R
<10> anyway, i gotta run for awhile
<11> ananke: ok thanks for the help
<12> I need a little help with the "monkey" webserver, anyone in here who have tried it?
<13> You know... some people love to insult Unixish ways because they consider duct tape too unprofessional to be suitable to fix any problem...
<7> CHodapp: Charge more for the duct-tape.
<14> kittenbot: lols
<15> yo microsoft! yo filesystem so FAT they put a patent on it
<16> anyone have cxacru module?
<12> wtf.. i removed mingetty and now i cant boot as it whines up about "INIT: Cannot execute /Sbin/mingetty" and disables ID for 5 minutes , and returns to that after the 5 min.. How can i skip that ? i cant I haev no bootloader thatpermits a different runlevel and sshd hasnt started yet,....
<12> well it permits runlevel 3 4 and 5, but this is started at 3..
<17> What's the command line variable to change the http proxy for secure https
<16> anyone have cxacru.o module?
<12> what kernel?
<16> debian default
<16> I think just this module is missing to make my USB modem working
<12> it probably needs to be compiled to the specific kernel, "default" isnt every exact
<16> pett... how can I compile a module into kernel?
<16> jsut the module... not the entire kernel
<12> you get the source for it, compile it and insmod it
<16> how i do it:
<16> ?
<12> its not a walk in the park to get usb equipment to work with linux
<16> I need just the module..
<12> but locate the src first cxacru-2003-10-05-src.gz
<16> I installed cxacru deb package.. and it find my modem...
<16> I have cxacru.ko and another one
<16> I just need know how to build that module
<7> Pett: (1) Get hold of a rescue disk (2) edit /etc/inittab and take out the like that tried to start mingetty (2 alternative) put a small shell script at /sbin/mingetty that simply sleeps for an hours or so... ?
<16> gcc -c module.c ?
<7> virtu: If you are running a 2.6 kernel, then you want cxacru.ko -- all you have to do now is to -- modprobe cxacru -- and is should load.
<16> i am running kernel 2.4 series
<12> the nice part is.... it doesnt have a floppy or cdrom anymore...grrr!!!
<7> Pett: Try booting with init=/bin/sh ?
<7> Pett: Or booting with single (or s or S, or whatever it is...)
<12> kittenbot: that worked once i figured out how to parse kernel arguments in the loader
<12> I have no idea where the mingetty is called from, so can you give me a tip on how to do the other trick by putting a sleep script instead ?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

#linux
mke3fs debian
udev extigy
dillo2 angstrom
initng dapper svn
#linux
libstdc libc6 centos5
bash rename all directories
XAACreateINfoRec undefined symbol
debian + oident



Home  |  disclaimer  |  contact  |  submit quotes