Questions Tagged With lucidhttp://linuxexchange.org/tags/lucid/?type=rssquestions tagged <span class="tag">lucid</span>enThu, 14 Apr 2011 13:53:25 -0400iptables and sudo not logginghttp://linuxexchange.org/questions/2355/iptables-and-sudo-not-logging<p>I have Ubuntu 10.04.2LTS 32-bit Desktop Edition and it's the same on 3 different systems.</p> <p>iptables and sudo aren't logging and I need them to be.</p> <p>1) None of them have the auth.log in /etc which is used for logging sudo commands/login authorizations</p> <p>2) None of them have the syslog.conf file in /etc (but one does exist under /usr/share/logwatch/default.conf/logfiles/syslog.conf)</p> <p>3) I've looked in the "Log Viewer" in Gnome and in /etc</p> <p>I need to enable and monitor these loggings somehow.</p>RonThu, 14 Apr 2011 13:53:25 -0400http://linuxexchange.org/questions/2355/iptables-and-sudo-not-loggingiptablessysloglucidlogsubuntuBash Scripting Questionshttp://linuxexchange.org/questions/1464/bash-scripting-questions<p>Ok, I've got a basic bash scripting question, but the answer is so simple it eludes me.</p> <p>From my .bash_aliases file....</p> <p>PROBLEM 1:</p> <p><pre><code></p> <p># alias reboot-win-host='net rpc shutdown -S thehostname -U username -r -f -t 120 -c "This system will reboot in 2 minutes. Save any work now." &amp;&amp; echo Rebooting Remote Windows System' # alias reboot-win-ip='net rpc shutdown -I 111.111.111.111 -U username -r -f -t 120 -c "This system will reboot in 2 minutes. Save any work now." &amp;&amp; echo Rebooting Remote Windows System' #</p> <p></pre></code></p> <p>What variable(s) do I use for the hostname (or IP) and the username?</p> <p>I want to: $ reboot-win-host hostname-here username-here or $ reboot-win-ip ip-here username-here</p> <p>PROBLEM 2</p> <p>For these, I can't get them to work for whatever reasoning....</p> <p><pre><code> alias perm='stat -c '%A %a %n'' alias list-root-id='awk -F: '($3 == "0") {print}' /etc/passwd' alias install-date='ls /var/lib/dpkg/info/*.list -lht | tail -1 | awk '{print $6}'</p> <p>top 25 process/RAM usage alias top-proc='ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 25'</p> <p>Graphic connections to hosts alias hosts-connect='netstat -an | grep ESTABLISHED | awk '{print $5}' | awk -F: '{print $1}' | sort | uniq -c \ | awk '{ printf("%s\t%s\t",$2,$1) ; for (i = 0; i &lt; $1; i++) {printf("*")}; print ""}' </pre></code></p>RonWed, 29 Dec 2010 22:43:24 -0500http://linuxexchange.org/questions/1464/bash-scripting-questionsbashscriptinglucidKickstart and customized Ubuntu installshttp://linuxexchange.org/questions/1251/kickstart-and-customized-ubuntu-installs<p>I'm looking at making a way where I can do installs of Ubuntu systems with as little work as possible.</p> <p>I'm just starting to use Kickstart so I want to do the unattended install; but I also want to have it pull the install-script.sh from the Internet (Dropbox right now, but maybe a PPA??) and then install some repos, applications, deb files for which there is no repo, and some wallpaper images, etc. I also want to be able to change, remove, update the install-scetup.sh on my Internet site and whatever deb files, images, etc, all at-will; -- so putting these things on the ISO image of the alternate install CD isn't really a viable option.</p> <p>By pulling from the Internet, I don't need to constantly update the CD itself until a new point release comes out, ala 10.04.1LTS, 10.04.2LTS, etc, so anything that I change (like adding/removing applications from the install-script.sh and/or *.deb files, wallpapers, etc) would instantly be updated. So of John installs and now a few months later I add some new backgrounds, remove a few applications from the install-setup.sh, so when Suzy installs, she will get those changes.</p> <p>It'd be a nice bonus if Johnny would get those changes too. I know that would require a PPA repo vs Dropbox. One thing about that though... I'm not a packager, so I don't know how to package *.deb files, etc.</p> <p>Some sites (and code....) I've ran across are below..... as for the code, will it work "as is"? How do I incorporate it into the ks.cg (Kickstart) file as a %post ? Can I even do that?</p> <p><a href="http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-kickstart2.html" rel="nofollow">http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-kickstart2.html</a> http://nerdnotes.org/2006/02/kickstart-for-ubuntu-live-cd/</p> <p><a href="http://www.ubuntugeek.com/unattended-ubuntu-installations-made-easy.html" rel="nofollow">http://www.ubuntugeek.com/unattended-ubuntu-installations-made-easy.html</a></p> <pre><code> #!/bin/sh # determine the mac address of the first network adapter mac=`/sbin/ifconfig | awk '/HWaddr/ { print $5 }' | head -1` # download and execute livecd init script wget -q -O - http://dl.dropbox.com/u/914191/install-script.sh?mac=$mac | /bin/sh </code></pre> <p>( Anyone who researches my posts on here will see the install-script.sh I'm talking about.) ( You can also get it at: <a href="http://dl.dropbox.com/u/914191/install-script.sh" rel="nofollow">http://dl.dropbox.com/u/914191/install-script.sh</a> )</p>RonThu, 19 Aug 2010 20:41:50 -0400http://linuxexchange.org/questions/1251/kickstart-and-customized-ubuntu-installslucidinstallscriptingkickstartStartup slow after installing linux and a dual boothttp://linuxexchange.org/questions/933/startup-slow-after-installing-linux-and-a-dual-boot<p>Had installed Windows 7 initially, then with lucid lynx dvd, I installed with default parameters and with dual boot. Usually it took around 12-16 secs to bring up my login screen in windows, but after this install it takes me around 30 seconds to even bring the dual boot choice screen, which also has Linux as the default (1st option that gets selected on inactivity of 10 secs). Here is what I have set out to do.</p> <ol> <li>bring up the list of OS to boot as soon as possible on a boot</li> <li>make windows as the initial choice(default) in the boot menu. </li> </ol> <p>Please help.</p>Arun SriniTue, 29 Jun 2010 04:45:55 -0400http://linuxexchange.org/questions/933/startup-slow-after-installing-linux-and-a-dual-bootlucidgrubHow can I improve this install script?http://linuxexchange.org/questions/779/how-can-i-improve-this-install-script<p>This is a script I wrote that you can run right after you install Ubuntu 10.04LTS (Desktop Edition). It adds some 3rd party applications, repositories, configures iptables and so forth. One thing I'd like it to do is detect if it's being ran on a 32-bit or 64-bit system and then either download the w32codes or the w64codes accordingly.</p> <p>I'm also open to any other ideas and/or suggestions.</p> <p>I've updated this code a few times, incorporating suggestions from people to the point that there's more code than what I am allowed to paste here, si I've moved the code off-site to a Pastebin log at:</p> <p><a href="http://pastebin.com/3B9K5Fyp" rel="nofollow">http://pastebin.com/3B9K5Fyp</a></p> <p>1) Does anyone see anything else I can do too?</p> <p>2) Another thing I was thinking of adding was my own repository for files like fonts, images, PDFs, etc and loading them into the appropriate places .I do have a Lanchpad account, but I'm not a packager/programmer by nature. I'm a network / os / security guy, not a developer. I'd like to make some sort of all-inclusive *.deb file that people can download from my repo and it'd update wallpapers, documents, programs, etc.</p> <p>Right now as you can see, I'm using Dropbox as a repo of sorts.</p> <p>So in addition to my on-going question of how to improve the script and the above new things, I need to add this:</p> <p>3) Is there a way I can test my script without loading it onto a new PC? A sort of "simulation mode" per se?</p> <p>I've ran into a couple of issues where during the install, I must select choices (like to accept the EULA for Java, or to enable or disable a daemon, etc), and I'd like to automate that process somehow for testing purposes.</p> <p>Lastly, but most importantly, I'd like to thank everyone for their suggestions, as you have helped me make this a better script.</p>RonFri, 04 Jun 2010 17:43:13 -0400http://linuxexchange.org/questions/779/how-can-i-improve-this-install-scriptubuntuinstallscriptingbashlucidwill NVIDIA driver 185.xx.xx work on kubuntu lucid lynx?http://linuxexchange.org/questions/609/will-nvidia-driver-185xxxx-work-on-kubuntu-lucid-lynx<p>im using karmic with NVIDIA 185.18.14 driver because its the latest driver that can output s-video on my card. for some reason any later driver breaks my tv-out output. i want to upgrade to lucid lynx and i want to know if this driver would work on it..</p> <p>thanks..</p>GorbayovSat, 15 May 2010 14:46:45 -0400http://linuxexchange.org/questions/609/will-nvidia-driver-185xxxx-work-on-kubuntu-lucid-lynxkubuntulucidnvidiadriverUbuntu Booting very slowlyhttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly<p>I an using Ubuntu 10.04. I have decent hardware (2.6 Ghz Intel Core 2 Duo, 1GB Ram) However it takes a lot of time to boot. I tried booting through the recovery mode but i could not understand anything.</p> <p>I have uploaded the boot log here <a href="http://pastebin.com/7DGS3u7h" rel="nofollow">http://pastebin.com/7DGS3u7h</a> </p>Tapan ChughTue, 11 May 2010 05:19:12 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowlyubuntubootlucidHow do I move the Minimize, Maximize and Close buttons in Ubuntu Lucid back to where they used to be?http://linuxexchange.org/questions/83/how-do-i-move-the-minimize-maximize-and-close-buttons-in-ubuntu-lucid-back-to-where-they-used-to-be<p>You may have noticed the Minimize, Maximize and Close buttons in Ubuntu 10.04 Lucid Lynx have moved from the upper right to the upper left of a given window. The order of them has also changed. How do you get them back to where they were in previous Ubuntu versions?</p>jeremyFri, 16 Apr 2010 16:39:53 -0400http://linuxexchange.org/questions/83/how-do-i-move-the-minimize-maximize-and-close-buttons-in-ubuntu-lucid-back-to-where-they-used-to-beubuntulucidmetacity