MavKen | is there a way to automatically have a mysql user/db created when I use adduser ? and then for it to be removed when deleting a user? I also want the /home/user director removed after deleting user | 00:15 |
---|---|---|
shauno | MavKen: adduser can run a script when it creates a user (it's subtle in the docs, look for adduser.local in adduser's manpage). however, it doesn't have access to the user's password, which would complicate issues. (ditto for man deluser -> deluser.local) | 00:33 |
MavKen | ok... wonder if I could create it so that it generated a random password and then used sendmail to send it out | 00:38 |
halvors | I've setup a slave dns server with bind9 on ubuntu. But it doesn't write the records received from its master. This because of apparmor, may anyone help me figure out the issue. I don't hav eany idea :( | 00:41 |
halvors | Here is the error i'm getting in syslog: http://pastebin.com/uKHE4bFb | 00:42 |
=== stiv2k_ is now known as stiv2k | ||
rostam | HI general question , I need to choose a system management software, I am wondering to choose either Puppet or salt. Any recommandation greatly appreciated? thx | 01:26 |
NeverHere | Is there a way to reinstall the default config files after apt-get purge? | 01:40 |
=== freeflying_away is now known as freeflying | ||
teward | NeverHere, reinstall the package after the purge, maybe. | 02:10 |
NeverHere | teward, i did apt-get install but the config files did not come back | 02:10 |
teward | what package if I may ask | 02:11 |
NeverHere | postfix | 02:11 |
NeverHere | for sasl | 02:11 |
=== BrianH is now known as Guest72950 | ||
=== BrianH is now known as Guest74476 | ||
=== Ursinha is now known as Ursinha-afk | ||
=== BrianH is now known as Guest56863 | ||
=== NCommander is now known as uid0 | ||
=== uid0 is now known as NCommander | ||
=== freeflying is now known as freeflying_away | ||
=== freeflying_away is now known as freeflying | ||
gdeeble | If i'm running a file server and install squid, will it work even though it's not a gateway? I'd like it to be there for caching purposes | 06:01 |
=== Ursinha-afk is now known as Ursinha | ||
LLKCKfan | Is there any natural ways to relieve pain without using herbs or weed? No drugs | 06:28 |
cfhowlett | LLKCKfan, you are clearly in the wrong channel | 06:28 |
cfhowlett | !ot|LLKCKfan, | 06:29 |
ubottu | LLKCKfan,: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! | 06:29 |
mapps | hi | 06:48 |
LLKCKfan | hi | 06:48 |
mapps | having trouble with squid and squidguard..compiled squidguard from source..thought i was working but when i run squidguard -C all on the blacklists its just sitting there | 06:48 |
mapps | and i dont think it's working as the squidguard site says it should say started.. | 06:48 |
codenomics | howdy | 07:18 |
codenomics | got a python file that I want to start at boot and can't find a good way to do this, any recommendations? | 07:18 |
cfhowlett | !python | 07:19 |
ubottu | python is a popular Object Oriented scripting language included in Ubuntu. For more on Python please see http://www.python.org/ or #python | 07:19 |
codenomics | well that was helpful | 07:19 |
codenomics | are you telling me to go ask in #python? | 07:20 |
cfhowlett | codenomics, of course - they ARE the experts ... | 07:20 |
codenomics | um... this is not a python question more as a "how do I get things to start at boot" question | 07:20 |
mardraum | codenomics: man 5 crontab | 07:21 |
codenomics | um... ok | 07:22 |
codenomics | nevermind | 07:22 |
codenomics | I will continue to google it | 07:23 |
mardraum | can't read? | 07:23 |
codenomics | I can read | 07:23 |
codenomics | I can read just fine | 07:23 |
mardraum | "Instead of the first five fields, one of eight special strings may appear:" string @reboot meaning Run once, at startup | 07:23 |
codenomics | I know | 07:23 |
codenomics | read that | 07:24 |
mardraum | good on you. | 07:24 |
codenomics | trying to 30 minutes of reading to do this one little thing | 07:24 |
codenomics | trying to avoid** | 07:25 |
mardraum | yeah, I hate learning too. | 07:25 |
codenomics | yeah, that is exactly what I said | 07:25 |
mardraum | even when some chucklenuts on irc gives you the exact answer to a vaguely worded question. | 07:25 |
codenomics | also, been told this is not the right way to do it | 07:25 |
codenomics | vaguely worded? how was that vague? | 07:26 |
* cfhowlett bookmarks "chucklenucks" ... | 07:26 | |
mardraum | sounds like you know more | 07:26 |
codenomics | I have a python file that I want to run at boot... | 07:26 |
mardraum | why is this "not the right way"? | 07:26 |
codenomics | mardraum: I have no idea... please read what I type... "been told this is not the right way" | 07:27 |
mardraum | well that clears it all up | 07:27 |
codenomics | oh screw it... not going to argue with the buntu trolls | 07:27 |
codenomics | nevermind, will ask elsewhere | 07:27 |
LLKCKfan | Is there any natural ways to relieve pain without using herbs or weed? No drugs | 07:28 |
mardraum | hit your head against the keyboard | 07:28 |
mardraum | why would you keep asking that here? | 07:28 |
cfhowlett | mardraum, don't feed | 07:28 |
NeverHere | how can i create a mailbox for a user and not have then access to the server its on | 10:22 |
NeverHere | *them | 10:22 |
bekks | Create a virtual mail user. You may have to configure your mailserver to do so first. | 10:23 |
NeverHere | how do you do that? | 10:25 |
bekks | That depends on the mailserver you are using. | 10:25 |
NeverHere | postfix | 10:25 |
NeverHere | well | 10:26 |
bekks | https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto | 10:26 |
NeverHere | thanks | 10:26 |
vedic | Hey guys, I run a small office of 10 people. Currently I don't have any network monitoring & control mechanism. All the users surf the stuff that they should not visit during office hours. | 12:00 |
vedic | Also want to block torrent etc. How to setup such a server to monitor? Does setting up a proxy server through which all traffic should pass is the right way? | 12:00 |
vedic | Could you suggest tutorial and tools for that? | 12:01 |
Seveas | vedic: generally one would block direct internet access and enforce the use of a proxy (e.g. squid). And in the proxy you can enforce things like 'no facebook'. | 12:09 |
mardraum | that's the most straightforward technical solution, but I can't help but think in a office of only 10 people you have a HR or rather Management issue. | 12:15 |
mardraum | (the technical solution may make that worse. It won't solve it). | 12:16 |
vedic | mardraum: You can monitor all the employees all the time specifically if some of them work in shifts (time rotation). | 12:17 |
vedic | mardraum: You can't | 12:17 |
vedic | Seveas: Thanks. I will read more on squid | 12:18 |
mardraum | I'm not suggesting you monitor them | 12:18 |
mardraum | I'm suggesting you fix the people problem by perhaps giving them clear guidelines about what is ok and what is not | 12:18 |
mardraum | torrenting at work? not ok | 12:18 |
mardraum | some personal use? ok | 12:18 |
vedic | mardraum: Making guidelines and enforcing them are two different things | 12:18 |
vedic | If every body in the world follow guidelines then we don't need police | 12:19 |
mardraum | good luck man. | 12:19 |
vedic | mardraum: I agree with you that there should be guidelines. I am not creticising but just highlighting the point that setting up technical solution do have their advantages | 12:20 |
Seveas | I'm with mardraum on this. We (company with 7000+ employees) only enforce the use of a proxy to enforce the use of virus scanning and blacklist malicious urls (e.g. known phishing urls) | 12:20 |
vedic | why can't both go hand in hand | 12:20 |
Seveas | other than that one should not solve people problems with technology. | 12:20 |
vedic | Seveas, mardraum: Setting up a firewall and preventing all to access internet directly has many security advantages | 12:21 |
Seveas | well, yes, that's what I just said :) | 12:21 |
Seveas | I should add we do block all other ports as there is nothing work-related they can do via those ports and it helps against attakcs/viruses etc. | 12:22 |
vedic | We keep 2 systems in office that can be used in free time to access personal emails, facebook youtube etc. But guidelines doesn't allow them to use work systems. But people still do that | 12:22 |
Seveas | the proxy (squid) can also be used for things like ftp and ssh | 12:23 |
vedic | I see | 12:23 |
=== BrianH is now known as Guest40372 | ||
JanC | vedic: huh, reading personal mail on a shared company PC? | 13:17 |
JanC | you're teaching them bad internet hygiene :p | 13:19 |
=== freeflying is now known as freeflying_away | ||
=== freeflying_away is now known as freeflying | ||
=== BrianH is now known as Guest43373 | ||
halvors | [01:41] <halvors> I've setup a slave dns server with bind9 on ubuntu. But it doesn't write the records received from its master. This because of apparmor, may anyone help me figure out the issue. I don't hav eany idea :([01:42] <halvors> Here is the error i'm getting in syslog: http://pastebin.com/uKHE4bFb | 15:31 |
=== BrianH is now known as Guest67173 | ||
mortrca | I'm a student and I'm trying to teach myself about server virtualization. I have read the virtualization section in the server guide, but I'm not understanding how the different pieces (libvirt, JeOS, and vmbuilder) are supposed to work together. | 18:20 |
mortrca | Perhaps I am misunderstanding these components and they don't work together. Either way, could someone shed some light on this for me? | 18:21 |
TJ- | libvirt manages the hypervisor; JeOS is a kernel build targeted at known virtual machine environments (VMWare, KVM), vmbuilder create guest images | 18:23 |
mortrca | So, JeOS is the host operating system for the virtual systems created by vmbuilder? | 18:24 |
TJ- | mortrca: Yes, it was originally a separate install but is now the "minimal" server install | 18:25 |
mortrca | Okay | 18:25 |
TJ- | mortrca: because we know the small range of devices presented to VMware and KVM guests, the drivers in the image can be limited. A standard install carries every possible driver. | 18:26 |
mortrca | TJ-: I thought that was how it worked and tried to get a setup running with that in mind | 18:26 |
JanC | JeOS is the guest OS | 18:26 |
mortrca | Now I'm confused, I thought it was the host | 18:27 |
TJ- | mortrca: "Just enough Operating System" | 18:27 |
TJ- | mortrca: because, the guest contains a small subset of hardware, the kernel is minimal size and the only the essential base packages and configuration are needed in the guest | 18:28 |
JanC | the hardware that a guest sees is very limited | 18:28 |
mortrca | So, JeOS is what would be installed on a virtual machine? If so, what is the virtual machine running on - a full server install? | 18:29 |
JanC | only whatever the hypervisors provide | 18:29 |
JanC | yes, regular server instal | 18:29 |
mortrca | Ah, that clears some things up | 18:29 |
mortrca | I think I can figure out the rest of this now. My last question is, where does vmbuilder get the installation media? | 18:31 |
JanC | it probably uses debootstrap | 18:32 |
JanC | and a quick check seems to confirm that :) | 18:32 |
mortrca | JanC: Can you elaborate? Does this mean I don't need to provide an image for the virtual machines to install? | 18:33 |
JanC | yes, no image needed | 18:33 |
JanC | it downloads the necessary debs and unpacks them | 18:34 |
mortrca | Doesn't seem very efficient, but okay | 18:34 |
JanC | actually, it's usually more efficient, especially if you have a local mirror | 18:34 |
TJ- | mortrca: Very efficient. Instead of needing an image that carries everything everyone wants, it allows just the packages wanted by the user to be fetched | 18:35 |
JanC | no need to run a complicated installer etc. | 18:35 |
mortrca | Okay, that makes sense | 18:35 |
mortrca | Thanks TJ- and JanC | 18:36 |
LLKCKfan | Is there any natural ways to relieve pain without using herbs or weed? No drugs | 18:40 |
genii | LLKCKfan: That's not really a support question for your Ubuntu Server | 18:41 |
TJ- | I find chopping my head off usually does the trick; that or installing ubuntu server :) | 18:41 |
genii | LLKCKfan: Might want to try some channel like #health | 18:42 |
LLKCKfan | genii I have | 18:42 |
LLKCKfan | No help | 18:42 |
hitsujiTMO | LLKCKfan: try: rm -rf /sys/class/pain | 18:42 |
hitsujiTMO | LLKCKfan: if it doesn't go away, then run the command with sudo | 18:43 |
genii | LLKCKfan: At any rate, try applying heat or ice, perhaps both in an alternating series | 18:44 |
JanC | LLKCKfan: so now you are going to troll other channels too? | 18:45 |
LLKCKfan | Ice makes it worse | 18:46 |
LLKCKfan | And heat does not help | 18:46 |
LLKCKfan | Not a troll | 18:46 |
teward|phone | how can I pin a PPA to be a higher priority than other packages? | 19:23 |
genii | !pinning | 19:28 |
ubottu | pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto | 19:28 |
teward|phone | genii: that didn't give me any help to answer my question. It doesn't state how to get the exact statement to put in the pinning for any given PPA | 19:34 |
genii | teward|phone: Use something like: Package: * then: Pin: release a=<ppaname here> ..then: Priority: 990 | 19:43 |
genii | Work, AFK | 19:44 |
teward|phone | genii: i'll test that. fortunately on a 12.04 system the PPA's version number is higher than what's in precise/precise-updates/precise-security/precise-backports, so it's less of an issue | 19:44 |
teward|phone | but on a 13.10 server it won't hence the question :/ | 19:44 |
teward|phone | i can always install it with a version pin but meh | 19:44 |
teward|phone | genii: i'll try that, on the 13.10 servers affected | 19:49 |
teward|phone | (everything prior is clear because the PPA version is higher than others) | 19:50 |
genii | teward|phone: You can additionally add a stanza for the regular repository with a negative number value for Priority, this means it will not get updated from there. But instead of * use the actual packagename(s) | 20:04 |
genii | teward|phone: A description of the number values can be found by: man apt_preferences | 20:07 |
=== TheLordOfTime is now known as teward | ||
=== BrianH is now known as Guest51460 | ||
Titanium | is there a good way to remove lines matching a regex from a file? | 22:00 |
Titanium | i tried using sed, but when i redirect the output back into the file... it wipes it | 22:00 |
hitsujiTMO | Titanium: use sed -i | 22:13 |
JanC | Titanium: use a temporary fil | 22:14 |
JanC | * file | 22:14 |
JanC | (which is what sed -i does) | 22:15 |
=== BrianH is now known as Guest63322 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!