|
DEAD MAN'S SHOE posted:Not only the password issue but having to specify it prior in a root-only config file defeats the idea of being able to mount random shares on the fly. Ok, first of all the sudo solution that Grey Area suggested can be configured to work without a password. Second, are you *sure* that you changed the right binary files with the right chmod command? Straight from the 'mount.cifs' manpage - "It is possible to set the mode for mount.cifs to setuid root to allow non-root users to mount shares to directories for which they have write permission." That sounds like exactly what you want. The third approach would be to install FUSE and the SMB module, since that's all user-space stuff and no root is required.
|
# ? Mar 5, 2008 23:14 |
|
|
# ? May 9, 2024 22:54 |
|
I wrote a simple program with ncurses to call a command that generates a lot of output and refreshes it every few seconds. This avoids filling up a terminal with nothing but that output and having to manually push up and enter to refresh the output. It seems general and simple enough to have some simple unix command to do this, is there something like what I'm talking about? On a completely different note, if I have a MCE in hardware I know that Windows bluescreens. What does Linux do?
|
# ? Mar 5, 2008 23:24 |
|
watch(1) runs a program every few seconds and refreshes the screen. Linux kernel panics on unrecoverable errors.
|
# ? Mar 5, 2008 23:29 |
|
ShoulderDaemon posted:watch(1) runs a program every few seconds and refreshes the screen. Is a kernel panic going to display the MC registers? I'm going to want a screenshot showing specific information, if it's not there where would I look to start adding to that output? JawnV6 fucked around with this message at 23:48 on Mar 5, 2008 |
# ? Mar 5, 2008 23:42 |
|
Alowishus posted:Second, are you *sure* that you changed the right binary files with the right chmod command? Straight from the 'mount.cifs' manpage - "It is possible to set the mode for mount.cifs to setuid root to allow non-root users to mount shares to directories for which they have write permission." That sounds like exactly what you want. Yeah, I thought I had. quote:sudo chmod u+s `which mount` `which umount` `which mount.cifs` `which umount.cifs` I'm not certain of my switches here but I'm sure this worked on the previous Ubuntu release
|
# ? Mar 6, 2008 01:09 |
|
Edit: Beaten
juggalol fucked around with this message at 04:44 on Mar 6, 2008 |
# ? Mar 6, 2008 04:37 |
|
DEAD MAN'S SHOE posted:Yeah, I thought I had. code:
|
# ? Mar 6, 2008 07:25 |
|
Wow, thanks! That's quite odd behaviour...
|
# ? Mar 6, 2008 19:11 |
|
I'm trying to setup mythtv on an ubuntu server 7.10 install. Whenever I try and run mythtv-setup, I get hammered with this loop:code:
I can post any configs necessary. Thanks to anyone who has solutions.
|
# ? Mar 6, 2008 20:21 |
|
Slow is Fast posted:Apparently mythtv-setup isn't getting into the sql database properly so terminal is just barfing errors at me. Second, is the MySQL server at 192.168.1.110 on the same machine, or a different one? If on the same machine, try connecting to 127.0.0.1. MySQL's access control will prevent connections via any other address unless you go in and explicitly allow it.
|
# ? Mar 6, 2008 23:59 |
|
I've got a rather embarassing question, that goes to show exactly how little I know about using Linux, after nearly a decade of casual use. I've been following the XBMC Linux & OSX port progress (https://www.xbmc.org) for a while now, and am trying to throw together a community site related to XBMC. Specifically I want to play host to 'generic' compiles of the application that users can download and run (tarball) without having to compile for themselves. I know this isn't an ideal method of people obtaining the applications, but I'm pretty confident I can make it work. That being said, I honestly haven't the foggiest clue how to go about compiling something (say on an Ubuntu 7.10 32bit running on an A64, Intel Centrino, or C2D machine) intended to run on other linux flavors, with various hardware implementations. Any suggestions on where to start? Or anyone interesting in throwing in their lot with me and assisting with my little 'project'? https://www.xbmcbuilder.com is what I've thrown together so far (yeah I know, Joomla. It was quick and easy).
|
# ? Mar 7, 2008 00:11 |
|
I am trying to get a directx app working in a VM. It uses a ton of features not supported by VMWare's DX compatibility so that's a no go. I am wondering if the way wine works -- it is theoretically possible to run it under Wine and whatever DX compatibility methods Wine use will allow it to render. I know the FPS will probably be well under 1, but just getting it to render is the goal. If so, can someone suggest the absolute smalled distro that would be suitable for this? Preferably something debain based (I love apt-get) with almost nothing besides X and a lightweight WM installed.
|
# ? Mar 7, 2008 01:29 |
|
Chuu posted:I am trying to get a directx app working in a VM. It uses a ton of features not supported by VMWare's DX compatibility so that's a no go. You could just do a barebones Ubuntu server installation without any actual server software (it lets you choose during install) and install the WM setup you need.
|
# ? Mar 7, 2008 02:48 |
|
Ferg posted:You could just do a barebones Ubuntu server installation without any actual server software (it lets you choose during install) and install the WM setup you need. Thanks for the advice, downloading ubuntu server now to test this out. Can you recommend the best lightweight WM? I actuality really liked twm from my Solaris days but I don't see it supported by Ubuntu.
|
# ? Mar 7, 2008 03:41 |
|
Chuu posted:Thanks for the advice, downloading ubuntu server now to test this out. Can you recommend the best lightweight WM? I actuality really liked twm from my Solaris days but I don't see it supported by Ubuntu. It's certainly in Debian. Is there any reason a simple Debian install isn't what you want?
|
# ? Mar 7, 2008 03:51 |
|
ShoulderDaemon posted:It's certainly in Debian. Is there any reason a simple Debian install isn't what you want? If what I want to do ends up working I'm going to clone the VM several times and a full ~4 gig debain install is going to start to eat a bit too much space, not to mention I want every CPU cycle I can gather.
|
# ? Mar 7, 2008 04:03 |
|
Chuu posted:Thanks for the advice, downloading ubuntu server now to test this out. Can you recommend the best lightweight WM? I actuality really liked twm from my Solaris days but I don't see it supported by Ubuntu. TWM is nice and hardcore if you're going for super lightweight. If you're a bit more lenient and can deal with more than two colors on your desktop try: Window Maker, IceWM, Fluxbox, or Openbox. Really though, if you're looking for the bare minimum twm is in Ubuntu and that'll suit you just fine.
|
# ? Mar 7, 2008 04:20 |
|
Fluxbox is a wonderful window manager. I started with it on my fileserver since I didn't need a full desktop environment, but recently I've ditched gnome in favor of it on my school's cs network and I'm not looking back.
|
# ? Mar 7, 2008 04:34 |
|
Chuu posted:If what I want to do ends up working I'm going to clone the VM several times and a full ~4 gig debain install is going to start to eat a bit too much space, not to mention I want every CPU cycle I can gather. 4 gigs?!?! Where'd you get that number from? My media server root+usr+var is under 2 gigs, my desktop machine with hundreds of dev libraries and desktop apps is under 4 gigs, most of the virtual machines I run are way under 1 gig, base+required installs in under 180 megs and after apt-get clean is under 140, if you drop stuff from base you can kill about a quarter of that pretty easily, and if you're in a virtual machine and don't need filesystem tools or networking tools you can usually get to around 70 megs or so. If that's not small enough, emDebian can frequently get a working base in under 50 megs, and sometimes smaller.
|
# ? Mar 7, 2008 04:42 |
|
ShoulderDaemon posted:4 gigs?!?! Where'd you get that number from? Yea, that's ridiculous. I generate new Debian and Ubuntu Xen VMs almost daily and after installing a full set of LAMP-type server software it's rarely over a gig, gig and a half tops. A base Debian install shouldn't be more than maybe 500-700MB, IIRC. EDIT: Speaking of small Debian installs, and lightweight WMs, fvwm2 is what I cut my X11 teeth on when learning Linux back in the day on an old machine; it looks a bit nicer than twm and has more colorizing options, but is still super stripped down compared to even the *boxes. bitprophet fucked around with this message at 05:13 on Mar 7, 2008 |
# ? Mar 7, 2008 05:10 |
|
Quick scripting question. How do I capture the output of a command using bash?
|
# ? Mar 7, 2008 05:28 |
|
TheHeadSage posted:Quick scripting question. How do I capture the output of a command using bash? FOO=$(bar) or FOO=`bar`
|
# ? Mar 7, 2008 05:32 |
|
Alowishus posted:First verify that MySQL is actually running. The mysql server is on the same machine I'm trying to run setup on. It's all on 192.168.1.110. I also tried 127.0.0.1 and local host in the setup, yet I get the same error loop from myth.
|
# ? Mar 7, 2008 06:03 |
|
New Linux user! I installed Debian to work as a basic AV server, and successfully set up Darwin Streaming Server. Streaming over LAN works perfectly, but I'm getting an error when I try and stream through Port 80. From what I've learned, something else on the machine might be using Port 80. My question: how can I tell what is using Port 80? I'm not really sure where to view what processes are running, or in fact who might be the culprit. Any guidance would be appreciated.
|
# ? Mar 7, 2008 21:17 |
|
lord funk posted:New Linux user! I installed Debian to work as a basic AV server, and successfully set up Darwin Streaming Server. Streaming over LAN works perfectly, but I'm getting an error when I try and stream through Port 80. From what I've learned, something else on the machine might be using Port 80. sudo lsof -i :80 or sudo netstat -plnt|grep :80
|
# ? Mar 7, 2008 21:22 |
|
Here's a dumb question. How can I start a process within SSH and not have it close the process when I terminate the SSH connection?
|
# ? Mar 7, 2008 22:12 |
|
Mysterious Aftertaste posted:Here's a dumb question. Most flexible method is to run it inside of 'screen'. see also: nohup
|
# ? Mar 7, 2008 22:14 |
|
covener posted:Most flexible method is to run it inside of 'screen'.
|
# ? Mar 7, 2008 23:37 |
|
Is there actually such a thing as a terminal emulator supporting 24bit color?
|
# ? Mar 8, 2008 01:01 |
|
covener posted:sudo lsof -i :80 or Thanks! Turns out Apache was running, so I killed that. With a little more research, it looks like Darwin Streaming Server will not allow the port set below 1024 unless you are running as root. How can I do that? I've read that you can't login as root in the graphical interface.
|
# ? Mar 8, 2008 20:07 |
|
lord funk posted:Thanks! Turns out Apache was running, so I killed that. Nothing allows ports below 1024 unless you're running as root. 1024 is supposed to be for system services, and 1025+ for user stuff. (I'm not a Mac guy, so I don't have an answer for you, but that's just some background.)
|
# ? Mar 8, 2008 20:24 |
|
JoeNotCharles posted:Nothing allows ports below 1024 unless you're running as root. 1024 is supposed to be for system services, and 1025+ for user stuff. So just to clarify, I have to run DSS as a root process, or somehow give it root privileges? I thought I already did that, since I needed to run the launch command as root. What do I do differently? Edit: DSS version 5 changed to run as a non-root user for security reasons. That's great and all, but how then are you supposed to allow it to use port 80? lord funk fucked around with this message at 21:22 on Mar 8, 2008 |
# ? Mar 8, 2008 20:51 |
|
I'm still working on getting mythtv setup on my linux box. For some reason mythtv cannot get into the mysql database. I am completely loving baffled as to how to get this going. It's looping errors in terminal when I try to run setup. I've reinstalled all of mysql and mythtv 4 times and nuked the config each time I reinstalled. I even tried it on a clean ubuntu install, and still get the cant connect to mysql database loop. I installed MySQL admin and I cannot get into the database due to incorrect username/pass. Webmin can't get into mysql either. I'm lost and discouraged as hell. I've followed this guide: https://help.ubuntu.com/community/MythTV_Edgy_Backend_Frontend_Desktop I even made sure to add myself to the mythgroup to avoid the database loop, and yet it still shits on itself. Please help me goons. Edit: ubuntu 7.10 Edit2: I finally fixed it, used Webmin to nuke the passwords and redid the mysql accounts. Boy I feel silly now. Slow is Fast fucked around with this message at 06:22 on Mar 9, 2008 |
# ? Mar 9, 2008 06:05 |
|
Quick postfix question. If I want external clients or spammers to prevent using my SMTP server as relay, while being able to send from localhost to any host I want under any source address, I just need to set mynetworks_style=host, right? Doing so appears to bring the desired behaviour, I still want to ask for confirmation before I get an entry at Spamhaus or anywhere.
|
# ? Mar 9, 2008 17:24 |
|
Okay, this is driving me insane. Using a command line FTP client, how can I move the contents of a directory (including multiple files and subdirectories) to its parent?
|
# ? Mar 9, 2008 19:29 |
|
Toiletbrush posted:If I want external clients or spammers to prevent using my SMTP server as relay, while being able to send from localhost to any host I want under any source address, I just need to set mynetworks_style=host, right?
|
# ? Mar 10, 2008 01:19 |
|
With my first real foray into shell scripting, I'm writing a script which checks once a week to see if I have any updates, and also checks to see if there are any important or critical ones. However, this script only partialy works. The checks for the important updates work, yet the critical ones don't. Can someone take a look at this and see where it's all gone wrong? Also, are there any tips to make this more efficient? The script can be found here: http://www.tempusconsto.com/update.sh.txt Once I get it working I intend to use the one script to check for updates on 4 servers..
|
# ? Mar 10, 2008 05:58 |
|
Edit: Nevermind that.
|
# ? Mar 10, 2008 06:02 |
|
ShoulderDaemon posted:4 gigs?!?! Where'd you get that number from? After using apt-get clean && apt-get autoclean, and letting VMWare compress the image, the Ubuntu VM I use for some programming work comes out to a bit over 4 gigs. The only real things over the base package I installed was eclipse, the jdb, jdk, and emacs. I don't know how much space the install actually uses (and honestly I'm not really sure how to check) but that's as tight as VMWare lets me get it.
|
# ? Mar 10, 2008 06:10 |
|
|
# ? May 9, 2024 22:54 |
|
Is there any way to download an .iso (preferably the new openSuSE) and install it through Windows? Instlinux isn't an option, because I can't use my Wireless USB through the installer.
|
# ? Mar 10, 2008 09:55 |