| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> cause it runs as root <0> you lost me there <1> I just don't get why you guys don't just do your thing as root, when needed, and then just add extra pivs to wheel users <0> a-evol: say again? <2> sudo can still look thru its config, and say if the user is root, do not allow them to sudo.... <0> # User privilege specification <0> root ALL=(ALL) ALL <0> I have that in the sudoers file <3> sudo is good for running services you don't want running as root. <0> so root should have access to anything <2> ok.... <2> hmm... /me thinks everyone's ears are glued shut.... coulda sworn we were talking about sudo for the last half hour... well i left for 20 mins... but still <1> now, that's not a good thing eighter todo you see Raptor <1> limit root as well :) <1> but I've never been a sudo fan <0> one step at a time
<0> I just need to run su/sudo screen command on startup <0> can anyone help me with that? <0> I've tried basically anything anyone said here so far, it doesn't work :( <0> example: <2> hmm.... ok <0> sudo -u hlds screen -A -m -d -S hlds /home/hlds/HLDSteam/hlds_run -game cstrike +mapchangecfgfile "server.cfg" +map de_dust2 +maxplayers 20 -insecure -nomaster <2> ~ # su bear -c screen -d -m sh <0> adding that to /etc/conf.d/local.start does nothing <2> Cannot open your terminal '/dev/pts/4' - please check. <0> I get that aswell <2> hmm... when i do sudo -u bear -c screen -d -m sh it works <0> oh <0> you need to do -c ? <0> for sudo ? <2> oh.. no <2> i didn't do the -c <2> everything but that <4> try su bear -c screen -- -d -m sh <0> same <2> Freman, nothing... the sudo worked but su p***es some bogus terminal device by the look of things <0> su doesn't p*** all the args <2> either way.... ~ # sudo -u bear screen -d -m sh <2> works here... so i'm done <0> ok try it further <0> sudo -u bear screen -d -m sh some command with args <2> interesting... screen won't let me reattach that from anywher <2> you try it further... see if that works for you with your user <4> you'll have to specify it explicitly <4> but yeh... su <name> - -c screen -- -d -m sh should defidently work <2> whats with the -- ? <4> from the man page: <4> You can use the -- argument to separate su options from the arguments <4> supplied to the shell. <2> interesting.... <2> i always liked just using excessive quotes in things like local.start.... <0> wow <0> I think it worked <0> gimme a sec :/ <0> I have no clue what I did to make it work 5 mins ago, but I can't do it again :( <2> you broke it inside of 5 minutes !!?!?!!? <4> hmmm windows user <5> =D <6> :o) <0> no <0> I made it work once <0> then tried to apply it to the local.start file <2> then you broke it <0> rebooted and it hasn't worked since <2> oh... thats easy.... use more/different quotes... <0> define more/different <0> or give an example <0> ok <0> I think I have it <0> /path/program name -params doesn't work <0> instead I cd to the path and run ./program <0> I think that's the answer <4> -- <5> =D <6> :o) <0> let's see if it works
<2> hmm... so does anyone know how metalog config works ? does a log-line get sent to the first log/rule that it matches, or does it get sent to ALL the rules/logs that it matches ? <7> Ewww, metalog. <0> yay! <0> that did the trick <0> cd-ing to the working dir <0> and then running sudo <0> :) <0> thanks guys! <2> zaei, what in the hell do you strongly recommend then ? <6> :-) <4> that has been known to help <5> =) <6> :o) <4> metalog is pretty damned good... cept has no remote logging <7> theBear: In general, syslog-ng. <4> syslog-ng is what I use <7> But I don't know what you're doing with it =) <7> metalog buffers =( <7> =( =( =( =..( <2> buffers are cool when there aren't problems... and one SIG can make it not buffer <4> I might re-format this laptop over easter <4> it's feeling paifully sluggish, a fresh install with more care to what flags I use might help <2> i'm gonna re-do my laptop this week... got a shiny new 40g drive ready to go and all... as usual i'm just indecisive about the last few things to build in the chroot, and whether to do a dual boot windowz or just hope that 200mhz pentium can do a win4lin session usably <grin> <2> at least its got a lotta ram and a shiny fast new harddrive <7> My laptop would be faster with more ram, I think. <7> Though ever since I switched to ion from windowmaker, things have been faster. <2> this one became sorta cool when it jumped from 24M to about 300.... <3> i don't deal well with lappies. <2> i sorta got this wifi thing going yesterday, but i still can't quite convince the pda to connect to the ndiswrapper card... it half-connects and says the network is available, but never sets its own ip... so i wanna get the laptop working with the card i've got for it (should work with native madwifi) and test with that too <2> at least the experimental ebuild installs the drivers o.k... the old (stable) one doesn't copy half the ****.... <2> my head hurts.. i might need a little nap first.... went to work thismorning, but no-one was there, there were no supplies i had been waiting for, and the 2 people who might know whats going on BOTH had their mobiles switched off.... oh well... i asked the dogs what was going on but they didn't know <3> sounds like a small or weird company. <2> yeah... we're between premises... working at the bosses house round the corner this week.. well, except today it would seem <2> gonna have a big shiny warehouse soon, and soon after that we will have built lots of rooms including a nice office or two and workshop or 2 for me... probly some kind of server room too :) <3> server room? nah, stick those in my office so i can keep an eye on 'em. <2> pfft ! if i'm gonna have servers i didn't find discarded in an alleyway, they're gonna be well taken care of :) <3> thats what security cabinets are for. <2> maybe... but they aren't airconditioned <3> just don't use a knife to cut the keys off. <7> Just get a safe, and drill a small hole in the back for power and ethernet =P <3> thats easily fixable. <2> nah... i like the idea of a little room.... out of the way, discreet... <3> thats just asking to fry it all zaei. <8> AHAHAHAHAHAHA you should look at my command line :) <2> i sure hope its abbusive <9> theBear: !! <8> 107 lines :) <3> now playing [Static-X - I Want To ****ing Break It] length[2:45] <9> xmms ****s and so does spamming a channel with your **** music <8> traumahound: I already pressed enter <2> pinkerton, !!~~~ <2> spamming the channel with **** music does kinda **** <9> traumahound: thats not an opinion that is a fat <9> fact <9> keep your **** to yourself <2> no, this is a fat <3> who pissed in your cornflakes? <9> it's on the same level as a global away <9> nicotine withdrawl <2> maybe higher <3> oh. <3> have a day. <7> pinkerton: Go eat some food =) <2> what a bitch <2> go eat some babies <7> Mmmmm, babies. <9> actually <9> i'm back at it <9> but still <2> haven't caught up yet :) <9> death to all!
Return to
#gentoo or Go to some related
logs:
#c #asm skype lofl injection cyrox #AllNiteCafe #chatzone #windows host whit httacces #linuxhelp php substr mit endposition
|
|