@# Quotes DB     useful, funny, interesting





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



Comments:

<0> and there weren't any strange occurences in the logs, etc
<1> screen entry makes sense, as I said a brokwn wtmp is likely to be ur answer
<0> any way to clean the two extra users up without rebooting?
<1> mmmh, actually I've never done that so cant really help, but what you want to look into is fixing wtmp
<1> Mersault: actually deleting the file would do it, but that's not clean
<1> what I meant is I cant think of any clean way to fix wtmp
<0> hmmm...
<2> anyone in here set up an NFS server recently? I'm getting errors where it's not exporting any of my directories in /etc/exports
<0> have you run $exportfs -ar
<0> ?
<2> yeah
<2> and restarted nfs
<2> an d portmap
<0> and the other daemons?
<0> rpc.xxx
<2> portmap, famd, rpc.statd, and nfsd are all running, it's just not exporting my filesystems



<0> rpc.mountd?
<2> yeah, that too
<2> and rpciod/0 and rpciod/1
<2> I'm seriously at a loss, I've never had issues running nfsd before
<3> seems my ram was fine, system just boots every time now.. weird.
<2> mersault, I appreciate the help, it's just weird, I'm gonna recompile the kernel with modular nfs support and try again
<4> can someone give me a suggestion on this error, i am getting it from all audio apps, including jack: ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
<2> crap, hit the wrong button.
<2> was that last message for me?
<5> hey...anybody here use or tried brazil firewall and router?
<4> nope, sorry
<6> what can I use to decompress an ACE archive file?
<2> unace?
<6> macly: thanks
<7> if I have a directory owned by testuser:testgroup and the perms are chmod'd 6775 on the directory, why when I create a subdirectory as root does the ownership on the subdir end up root:testgroup ??
<1> ramz: what were you expecting?
<1> that's how it's supposed to work
<7> spike: the subdir to be owned by testuser:testgroup
<7> otherwise, what's the points of set-uid'ing?
<1> ramz: setuid bit on dir works for group ownership, not owner ones
<1> stuff will always be owned by the one creating it
<7> spike: oh... well, crap... is there no way to get subdir's/files within a directory to have ownership sticky in spite of the person that creates the subdir/file?
<1> ramz: what did I just say?
<7> spike: I ***umed you had implied "under these conditions"...
<7> my apologies... so there simply isn't a way to do what I want to do in Linux...
<1> yeah, ineed, that might be true
<1> ramz: but no, that's unix, and it's reasonable to be so
<1> ramz: you never explained what you want to do
<1> yet you could play with ACLs, that might give you what you want
<7> ramz: I just have an web server... until now I've always had the apache-server user with a disabled account (shell = /bin/false) and when I needed to put new content on the server I scp'd it from my local box using the root account...
<7> oops... that was to spike (obviously)
<7> spike: this configuration creates a bit of a h***le in that I have to change the permissions of everything I scp over... prolly the best thing to do is to reenable the http-user account and use that for file transfer...
<7> spike: out of curiosity was does chmod u+s on a directory do, exactly?
<1> ramz: nothing afaik, just it was too much h***le/pointless to filter it on directories
<1> ramz: well you can do that in a few ways, including cron or svn. I do latter because *nothing* I work with should go on with a revision control system on the back of it
<1> it's not safe to update stuff without backups, and an RCS makes that easy to handle
<1> if you have that, you can simply use commit hook to update your web dir with relevant stuff
<1> ramz: otherway you can scp to a specific dir and have cron to check it and sync the stuff, changing the ownership
<1> so you dont ever even have to login, it'll take care of it by itself, just do the scp
<7> spike: likely prudent, but for these kinds of files I'm only talking about images, etc... all of my content is controlled by joomla, so I don't have too many worries day to day unless I'm working on template mods, etc...
<7> spike: so in that case, you'd have cron regularly update the perms on the entire directory tree, or is there a more interactive way to handle the issue?
<1> just on the file you uploaded, but if the tree isnt big you can do that too, that's fine
<1> and save youself a more complicated script
<1> script should check for files in ~/incoming_web, mv/chmod them. done
<7> spike: I'll have to go read up on cron to do something that targeted...
<7> spike, oh, I see what you're saying
<1> as simple as that. of course this exoses other risks like anybody able to upload files there will be able to run them via apache
<1> exposes*
<1> bu then it'd mean he/she got ur pwd, so he/she could just ssh to it
<7> spike: for a moment, I thought you were saying that cron could somehow keep an eye out for files that a user uploads and change the perms on them interactively... heh...
<1> and ud' have bigger probs
<1> ramz: well, at intervals a script run by cron will do that
<7> spike: indeed, and my firewall plugs ssh for people coming from the wan...
<7> spike: right... I get it... I'll so some playing around with that... sounds like a good system...
<1> another solution is to play with ACLs
<1> but the cron one is way easier
<7> spike: not familiar with ACLs... new fangled (and by that, I generally mean something invented in the last decade) technology for linux?
<1> ramz: way older than a decade
<7> spike: heh... okay... prolly never encountered a situation where they came to my attention... certainly wouldn't be the first time...
<1> well, back in the days when virtual users support werent that common they were quite useful



<8> ACLs are old, they were introduced to Unix to try to address the problem traditional unix permissions have in a more hostile environment
<7> rofl... on the topic of the set-uid thing on directories, what's hilarious is that under the KDE "Advanced Permissions" for a folder (testing on my local box instead of my web server) the "What's This?" help says that if the set-uid flag is set on a folder that the owner of the folder will be the owner for all files/directories created within the folder... I guess someone better tell the KDE folks about set-uid on folders...
<8> KDE is platform independant, ramz, on systems other than Linux, and perhaps even with ACLs that may be true
<7> wolf_fire: ah... true enough
<9> Is anyone around who can look at a really short C++ program and help me with why it's segfaulting?
<1> CHodapp: wc -l
<9> you want that on the code?
<1> I want to know what you mean with really short :)
<9> less than 50 lines total, including closing brackets and empty lines.
<9> ftp://mershell.no-ip.org/temp/cs02.tar.gz
<9> the tarball is 502 bytes
<1> CHodapp: ok, paste on pastebin, I'll have a look
<10> http://sparr.homeip.net/gifsuite/gifsuite.html <--- please tell me if these images look the same in your browser
<9> sparr, looks like it to me
<10> :(
<1> both are supposed to be squirrels?
<1> :P
<1> sparr: same here
<10> they are supposed to be different shapes
<9> spike, did you get the link, or would you rather have it on pastebin?
<1> CHodapp: well, I guess I'll get the gz and scan with clamav
<9> http://cpp.sourceforge.net/?show=14657
<9> it's just source code, same as you'd get in a pastebin
<1> CHodapp: yes, but I'd have to uncompress the tar.gz
<9> eh, just use the 2nd link
<1> yup, reading up
<7> spike: did a fair amount of reading on acls, and I don't see how it would be possible for you to specify sticky uid/gid on newly created subdirs/files with setfacl... I can specify named users/groups in the permissions of the folder, but that's really it... I suppose that's not far from what I actually need, but it's not exactly what I was going for...
<1> ramz: yes, that's why I said "you could use that to obtain the same result", whihc implies not being the same thing you were going for
<1> ramz: still cronjob looks easier to me
<7> spike: indeed and indeed... ;o)
<1> CHodapp: s/++i/i++/?
<9> spike, no, the problem was that I didn't return a value in my overloaded <<
<1> CHodapp: ho, sorry, didnt see you were using < MAX and <= in the other for, I read <= on both, thought you were writing to 1001
<11> Hey-o!
<11> Is there a way to paste stuff in a terminal that is copied from a terminal using only the keyboard?
<11> Pasting from the select-buffer.
<11> Right now I only know of middle-clicking.
<1> Laban: nope, and I swear that's been one of the most wanted thing on my list for years
<1> Laban: best you can do is run screen/twin in terminal and work from there
<11> twin?
<1> it mostly fixes the prob, even if not fully as one might like
<11> I'd like to move the select-buffer into the global clipboard, but only for terminals.
<11> There is an option in Klipper to always copy the select-buffer into clipboard, but that's just annoying.
<11> Would be gold worth if it could be predefined in Klipper (or in Konsole) which selects should go into the clipboard.
<1> geee, I didnt read the last centOS story...
<12> whats the centos 4.3 cmd to update a mount?
<13> I have some handing processes that does not respond to "kill -9" , any idea how to deal with them ?
<14> NEED HELP! i did gcc -o 4.c 4, which means, i lost my 4.c...! any idea to get it back? my backups are too old! PLEASE it was days of work!
<15> geko: umount the filesystem and search for the contents of the file on the disk
<15> geko: but you should have been using version control for work
<14> i know, but now its late
<14> the filesystem is / :O
<15> use a live cd
<15> if you're still writing to to the disk you've probably lost the file already
<14> ooh
<14> ****
<16> at least you won't make that mistake again
<17> ahh, the value of backup
<18> anyone know a good *nix graphing / scientific calculator that's not too bad on the eyes?
<10> unix_infidel: heh, a ti89 emulator?
<10> theres mathematic, its pretty sweet
<10> mathematica
<15> maxima, yacas...
<10> matlab might have a linux version
<15> are you serious? mathematica and matlab cost hundreds of dollars
<18> sparr: umm, not free. not gpl.
<18> lol.
<10> i didnt see you say free / gpl
<18> reqs: gpl/free, interface like galculator, graphing functions, easy to use....too much to ask?
<15> sparr: your suggestions were way overkill and stupidly expensive for a calculator
<18> nothing too complex like yacas
<10> PenAndPaper
<10> (TM)


Name:

Comments:

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






Return to #linuxhelp
or
Go to some related logs:

error smbk5pwd gentoo openldap admin.h
ejabberd howto debian etch
#web
#ubuntu
#centos
gumbyno
ubuntu + stratagus + conf
kaber2
jerrybme
#osdev



Home  |  disclaimer  |  contact  |  submit quotes