| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> It's not exactly free, but there seems to be a trial version available <0> MadMunky: Disable animations perhaps? <1> how? <0> No preference pane for stuff like that? <2> guyz! i've set ut an autobootable Quake3 & Teamspeak server (on Mandriva 2005). the servers run at boot so they run as root module and i need them to run as other user let's say q3server. How can i do it ???? <0> Praxus: From the scripts that fire up the servers, use su to start those apps as a different user <2> but i'd need to type the p*** for the user... and the serv is ment to be standalone, autoreboot, autostart (with as little administration as possible) <2> i'd like to know if or how to make a script to log as that other user upon startup <0> No, using su as root doesn't require you to type a p***word to change users <3> hello <2> so... edit the script... su q3server / cd /home/q3a/ ./q3ded (<something like that??) <4> Coma-sama: by default. :-) <0> Praxus: Maybe you better have a look at the su manpage ;) <2> Coma-sama.. could u explaint it more... i started using linux 3 days ago :P
<4> Hm. I wonder if I can control the fans on this thing. <0> Praxus: Quite simple, at the command prompt, you type "man su" (without the quotes) and start reading <2> ok... brb :P <5> Coma-sama: please read it for me <hides> <0> Sunblade: Ummmm, what if I'm on windows and don't have any manpages? =) <4> Oh, riight. <3> people who use windows and sit on linux channels are dangerous <4> You need a 13.500 USD card to be able to do that. <0> stall-Fan: You mean people would have to run linux all the time in order to be taken serious here? <5> oh man a bsod <5> :D <0> hehehe <3> Coma-sama, dont worry, on IRC i take nobody for serious anyways <0> Not that I'm on windows to begin with, I just can't be arsed to do someone else's reading <2> ok Coma-soma. you're right i can su to other user (from root) without the p***... from command propmt <2> gonna check if it works if i make it in the script <0> Praxus: How's that for a lucky guess from a windows user :P <2> well i'm a linux newbie... and i think you're not :P <0> Oh, but I am, very much so <2> anyway. goota check it in the script. brb to say the resault ;) <0> Hmm, resault... Would that be the result of an ***ault? <2> :P <2> ok it does change the user... but the rest of the script doesn't run <1> where can i download sensors for gDesklets? <0> Praxus: You must have gotten a part of the syntax wrong <2> Coma-sama i just aded su q3server at the 1st line in the script i use to launch the servers <2> it's a plain txt file (i have no idea at making real scripts) <0> Praxus: Heh, that won't work, since by the end of the line it'll drop back to the previous shell, running as root <2> well it doesn't... but it doesn't run the servers (from the scripts) <0> You'll be better off running that entire script as that particular user, e.g. su q3werver -c /path/to/your/script <2> oh <2> lemmie try it ;) <0> Praxus: And all it takes to make a "real" script is adding #!/bin/sh to the top of your script (the first line) and making it executable <2> well.... <2> THX Coma-soma <2> it does work ;) <5> coma-stoma <hides> <5> that sounds weird <2> now all i gotta do is add that script path to inittab and i try if it works at booting <2> i'll be back ;) <5> Coma-sama: as long as you bring your own favorite cooked lasagne with you <0> Um, did he just say _inittab_? <5> yes a rewrite of mgetty most likely :) <0> Someone should have told him about initscripts <1> Anyone know why i cant load candybar for gDesklets it says there is a sensor missing, any ideas? <2> :) <2> it's working <0> Praxus: You do _not_ run this sort of stuff from inittab <2> why ?? <0> This is what init scripts are for <2> and/or where to _run_ them from ?? <0> From a startup script in /etc/init.d/ or /etc/rc.d/init.d/, depending on your distro <2> so i just put the script in rc.d/inid.d ?? <2> init.d* <6> rc.local <6> :) <0> rc.local wouls do too
<0> s/ls/ld/ <2> um... brb gotta smoke ;) <0> But solely stick the script in the init.d dir won't suffice, you'll have to create symlinks to it from the proper runlevel directories <0> I haven't seen any spam in weeks *knocks on wood* <0> err <0> WWS(tm) <2> ah that was refreshing:) <2> Coma-sama can i put the script to ~rc3.d ?? <0> Praxus: No, it should go into init.d, and you link to it from rc3.d. Or better yet, per Demonen's suggestion, use rc.local <2> i can't see rc.local <2> ah... found it <2> all i got in rc.local is: touch /var/locksubsys/local <0> Good enougn, you can run your script from there <0> s/gn/gh/ <2> s/gn/gh ?? <0> Praxus: "man perlre" if you really want to know ;) <2> so... i just put /path/to/script in rc.local yes?? <0> yup <2> can the script be in any location ?? <0> Technically, sure. But there's a few logical places you should stick with, like /usr/local/bin/ for example <2> well i have the script in q3server home dir <0> *shrug* if that's convenient enough for you <2> i'm telling u... i'm a linux newbie... so i'm just asking if it's a good location :P <2> ok i put the script in /usr/local/bin :P <2> hope it'll work like i want it to ;) <6> Praxus: A "good location" is a location where you, using your own logic, can find it later with no difficulty. I use /home/*/bin/ for that sort of stuff. <2> k Demonen <2> ok i'm rebooting ... <6> have fun <2> be back in a few.. <1> does xgl work ok with KDE? <0> Doesn't have much to do with KDE, does it? <1> i heard it was only working with gnome but could be wrong <2> re <2> k... it works 99% as i would like it to <2> Coma-sama i'm using screen to lunch q3server in that script <2> it starts correctly <2> but i can't screen back to it from the console <7> i need help reregistering my channel. who's down? <8> can one national time server cost $65.000 ? <0> Sorry, I was afk for a bit <9> hello <9> how do i tell witch modules are safe to remove ? i see a lot of modules that have a "0" in the "used by" column <9> can removing those harm my system ? <0> glontu: That's the reference count alright <10> can anybody help me with this, im trying to update yum =>http://pastebin.com/724408 <10> i got compatibility error with rpm <10> modules <9> Coma-sama : so if there are no refferences pointing to that module that means i can safely remove it wirhg ? <0> For a certain degree of safely, yes <9> is there some web site somewhere that explains what do the different modules do/mean ? <0> Well, the kernelsource itself comes with plenty of documentation <9> oke ... thanks Coma-sama <10> any idea for my problem? <0> Get a doctor's prescription? <11> anyone alive in here caring enough to try to help with some kernel option question for 64 bit smp systems ? <12> hi guys <12> in which category limewire belongs? smtp, ftp or any other? <13> SuRoT: p2p <12> ow thankz <12> DNS, Ping, http, https, ftp, pop3, imap, smtp, nntp, telnet, snmp, tftp, ike <-- which category p2p belongs? <12> i have a modem and i want to block p2p <13> None of the above <12> ow my <7> heh <0> You'll find certain p2p protocols quite hard to block <7> might be some kind of iptables_p2p hack for it <12> well.. thanks guys <12> reality thank you <12> XD no change but to let him hehe <0> There's the iptables l7 patch, but even that won't stop all p2p traffic
Return to
#linuxhelp or Go to some related
logs:
kiss ma azz emechs darwin #linuxhelp JFrame setDefaultClose #javascript #mirc #linux wyldroze #linux #php
|
|