[00:01] <orudie> !upgrade
[00:19] <osmosis> where are the config files for the ethernet bridging ?
[00:24] <lifestream> errmmm, how would I go about ressetting the mysql password? I forgot what it was
[00:26] <jeffesquivel> lifestream, http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html
[00:27] <lifestream> thank you much, jeffesquivel
[00:27] <jeffesquivel> lifestream, no problem
[01:04] <smoser> binBASH, sorry, i didn't catch your question
[01:04] <smoser> ssh is the primary way to get to an instance
[01:05] <orudie> here is my output after running do-release-upgrade http://www.pastebin.org/154139
[01:05] <orudie> any ideas ?
[01:05] <orudie> that's long into the process
[01:17] <orudie> anyone ?
[01:17] <orudie> помогите пацаны
[01:21] <lifestream> Why isn't this workking?
[01:21] <lifestream> mysql> set password for opensim = Password('mypassword');
[01:21] <lifestream> ERROR 1133 (42000): Can't find any matching row in the user table
[01:22] <lifestream> I mean, the error is easy to understand
[01:22] <lifestream> The database exists ;  what row is it asking for? Password? It should be there, if I created the user, no?
[01:25] <lifestream> Here are the commands I was running for mysql
[01:25] <lifestream> http://www.pastebin.lt/view/raw/75158984
[02:37] <lifestream> Can I completely wipe all databases, users, rows, etc, from mysql, ro make it like a fresh install?
[02:49] <jeffesquivel> lifestream, hmm... IIRC, mysql package asked you for your password when installing, right?
[02:49] <jeffesquivel> lifestream, you may be able to get that dialog again with dpkg-reconfigure
[02:50] <jeffesquivel> but I'm not sure of that, have never done it
[03:12] <ChmEarl> problem in fresh lucid domU http://paste.ubuntu.com/415895/
[03:12] <ChmEarl> getting broken pipe errors before apparmor starts
[03:44] <pHcF> hey guys :)
[03:45] <pHcF> guys, how do i set the user's root to a folder
[03:45] <pHcF> and disable his access to any folder "higher"?
[06:18] <ruben231> hi guys i have a hosted server on a hosting sompany, how so i install ubuntu-server on it...any suggestion..?
[06:22] <ruben231> hi guys i have a hosted server on a hosting sompany, how do i install ubuntu-server on it...any suggestion..?
[06:26] <ScottK> ruben231: You need to talk to the hosting company.
[06:27] <ruben231>  ScottK: mostly whats the procedure for that..?
[06:27] <ScottK> Depends on the hosting company
[06:27] <ScottK> You need to ask them
[06:30] <ruben231>  ScottK:  but can i remote install on a hosted server is it possible what process is it
[06:31] <ScottK> It's not possible in most cases.
[06:32] <ruben231>  ScottK: so your request to the hosting company to install it for you..
[06:32] <ScottK> Yes
[07:02] <erichammond> I had a hosting company that provided a slick remote KVM UI in a browser which let me see the VGA display output in real time as well as mount ISOs on the remote server and boot from them.
[07:02] <erichammond> I seem to remember it was enabled by Belkin hardware.
[07:03] <ScottK> That would be one example of why I said most not all.
[11:33] <binBASH> smoser: I got everything working now :) thx again for all your help.
[12:15] <duffy_duck> hi, I'm using ubuntu server for multiple web hosting. I want to limit server resources for each customer. I'm using mpm-itk but apparently the Rlimitcpu directive is not applied to non cgi processes. Do you have an alternate solution for this?
[12:18] <duffy_duck> anyone?
[12:21] <au> hmm
[12:24] <RoyK> duffy_duck: what sort of resources would you like to limit? bandwidth? cpu? memory?
[12:26] <duffy_duck> ideally all of those
[12:27] <duffy_duck> RoyK: bot so far CPU would be a good starting point
[12:27] <RoyK> cpu is tricky
[12:27] <RoyK> are they using cpu intensive stuff?
[12:28] <RoyK> cgi should be avoided at all costs anyway
[12:28] <duffy_duck> well, the point is that if a website is under some sort of load it'll slow down all the others
[12:28] <binBASH> cpu for non cgi? are you using things like mod_php?
[12:28] <duffy_duck> yes
[12:29] <binBASH> don't use it ;)
[12:29] <binBASH> I would switch to cgi version
[12:29] <binBASH> and use suexec
[12:29] <duffy_duck> it's far slower
[12:29] <binBASH> well, every big hoster uses it.
[12:30] <RoyK> binBASH: cgi is a ninetees thing
[12:30] <binBASH> RoyK: Well, it's safe
[12:30] <RoyK> cgi => fork a job for every request
[12:30] <RoyK> it's NOT safe
[12:30] <binBASH> it is with suexec
[12:31] <RoyK> say you have perl cgi and someone launches 10k requests, 10k perl scripts are forket out with a memory footprint of 3-5MB each
[12:31] <binBASH> and mpm_itk is slow as well ;)
[12:31] <RoyK> make that 100k
[12:31] <binBASH> peruser.org seems to be much better.
[12:31] <binBASH> using this myself
[12:32] <duffy_duck> is that a mod_something?
[12:32] <binBASH> it's an alternative to mpm-itk
[12:32] <binBASH> though harder to control but faster ;)
[12:33] <binBASH> but I think you can't limit cpu there.
[12:33] <duffy_duck> hmmm, well the point is. I'using vmware and when the server gets too meny requests it dumps some out of memory messages on console and then it freezes
[12:33] <duffy_duck> and you have to reboot.
[12:33] <RoyK> I guess suexec and some ulimit magick might work
[12:34] <RoyK> but then, ulimit will just make the jobs stop working after spending xx in cpu
[12:34] <binBASH> duffy_duck: How many sites / users you have on your webserver?
[12:34] <RoyK> duffy_duck: really, cpu is rarely a problem with web pages, is it? do you use sysstat or something to monitor long-term cpu use?
[12:35] <duffy_duck> it's about 500 websites
[12:36] <binBASH> RoyK: btw. to your opensolaris suggestion. I just read yesterday there are some discussions in the community, due to the new plans of oracle
[12:36] <duffy_duck> no, i have the cpu graphs from vmware
[12:36] <RoyK> ok
[12:37] <RoyK> binBASH: what plans?
[12:37] <RoyK> duffy_duck: ok
[12:37] <RoyK> duffy_duck: but can't you just do the limitations from vmware?
[12:38] <binBASH> RoyK: They shifted a release
[12:39] <duffy_duck> RoyK: it's OS problem, when it gets too many request ( eg using a few apache benchmark ) it crashes
[12:39] <RoyK> what do you mean 'shifted'?
[12:39] <binBASH> and they stopped the sending service for opensolaris cds
[12:39] <binBASH> postponed
[12:39] <RoyK> well, it takes a man to download and burn it
[12:40] <RoyK> duffy_duck: I don't think I've seen ubuntu crash on cpu use - only memory
[12:41] <RoyK> duffy_duck: do you monitor the memory and swap use for your vmware guests?
[12:42] <duffy_duck> RoyK: I probabily should. BUT I still think it should stop opening processes instead of crashing
[12:42] <RoyK> apache doesn't care about how much memory the system has
[12:42] <RoyK> it just goes on
[12:42] <RoyK> you'll have to limit the max in the apache config
[12:43] <RoyK> if apache or any other process starts forking wildly, it'll consume large amounts of memory and then swap
[12:43] <duffy_duck> globally?
[12:43] <RoyK> and then linux will probably die, trying to swap
[12:43] <RoyK> duffy_duck: monitor swap use
[12:44] <duffy_duck> good point,I'll give it a try
[12:44] <binBASH> duffy_duck: and tune memory_limit in php.ini :)
[12:44] <RoyK> linux has an OOM (out of memory) killer that kicks in when the system runs out of memory, but usually too late
[12:45] <RoyK> binBASH: that's per session, so if you have 10k sessions, it won't help much
[12:45] <binBASH> true RoyK, OOM never worked for me yet :)
[12:45] <binBASH> RoyK: Just don't allow that much dynamic processes? ;)
[12:46] <duffy_duck> Royk: the problem with OOM is that it's kills one and apache opens 3
[12:46] <RoyK> that'll be limiting concurrent apache connections, since once you have an apache connection, it'll run
[12:46] <duffy_duck> so there's no way it can sort out
[12:46] <RoyK> duffy_duck: i know - the solution is to add more memory
[12:46] <binBASH> RoyK: A solution I would try is, putting a proxy before the webserver, let it handle static things
[12:46] <RoyK> how much memory do you have on these guests?
[12:47] <binBASH> varnish is really good on it ;)
[12:47] <duffy_duck> it's a cluster 512 x 3
[12:47] <RoyK> binBASH: yeah, varnish kicks ass :)
[12:47] <RoyK> binBASH: linpro.no did a great thing making that :)
[12:48] <RoyK> it can be a little hard to setup correctly with cookies and stuff, though
[12:48] <binBASH> true ;)
[12:49] <duffy_duck> is that some sort of proxy?
[12:49] <RoyK> duffy_duck: I meant - how much memory for the guests?
[12:49] <RoyK> duffy_duck: it eats squid for breakfast
[12:49] <duffy_duck> 512 x 3 guests
[12:49] <duffy_duck> 512 each
[12:49] <RoyK> ok
[12:50] <RoyK> 512MB isn't really a lot if you're hosting a heavy webapp on it
[12:50] <duffy_duck> but the problem is that when you get some attack memory is never enought
[12:50] <RoyK> well, start with monitoring swap
[12:50] <RoyK> use nagios/icinga or something else
[12:51] <duffy_duck> and, would you suggest x64 or x32?
[12:51] <RoyK> I use 64bit all the way these days unless I just need some toolbox vm
[12:52] <RoyK> even then, often 64
[12:53] <duffy_duck> would you install varnish on a separete server or one on each node?
[12:53] <RoyK> varnish should be on a separate box in front
[12:53] <RoyK> with LOTS of memory
[12:53] <duffy_duck> 2GB?
[12:53] <RoyK> varnish doesn't do disk caching
[12:54] <RoyK> yeah or 4 or 8 or more
[12:54] <RoyK> depending on the workload
[12:54] <duffy_duck> the boss is gonna kill me :D
[12:54] <RoyK> get a nice pizzabox with two CPUs and 16 gigs of RAM
[12:55] <binBASH> duffy_duck: Memory is not that expensive
[12:55] <RoyK> digi.no, a quite popular IT site, replaced  16 squid servers with 4 varnish boxes, and reports they really needed one, plus one for redundancy
[12:55] <RoyK> varnish kicks ass
[12:56] <binBASH> RoyK: are you using it?
[12:56] <RoyK> nope - not running anything like that
[12:56] <binBASH> well I plan to use it, but geoip based
[12:57] <binBASH> have to find a solution as well for smart dns round robbin
[12:57] <RoyK> binBASH: varnish was developed by linpro.no after vg.no contacted them to help speed up things. vg.no is probably the largest news site in .no. varnish was written for freebsd but later ported to other platforms. it might be a good idea to look at the freebsd implementation - it's said to be better
[12:58] <RoyK> there are some sendfile() stuff in linux that isn't very good
[12:58] <RoyK> or was - I haven't been looking into this for a year or so
[12:58] <binBASH> RoyK: probably, well in my cloud I can run all sorts of os
[12:58] <RoyK> don't run varnish on a vm...
[12:59] <RoyK> run it on dedicated hardware
[12:59] <binBASH> yup
[12:59] <binBASH> ;)
[12:59] <RoyK> it requires very fast memory access
[12:59] <binBASH> So I have to take linux :P
[13:00] <binBASH> I already testdrived varnish, it's quite nice.
[13:00] <RoyK> I'd give freebsd a chance if I were you - varnish should perform a lot better on that with a good sendfile() implementation
[13:01] <binBASH> http://www.hetzner.de/en/hosting/produkte_rootserver/eq8/
[13:01] <binBASH> maybe two of these for varnish failover
[13:03] <RoyK> :)
[13:03] <binBASH> 24 GB RAM should be fine ;)
[13:03] <RoyK> yeah
[13:04] <duffy_duck> ok guys i'lll give it a try and report next week
[13:04] <duffy_duck> thanks for the soggestions
[13:04] <binBASH> np
[13:06] <RoyK> duffy_duck: since varnish uses sendfile() for zero-copy memory access, it can't do so properly on linux because of a faulty implementation, and falls back to send()/recv(), meaning you'll get an in-memory copy operation for each request - it'll still help a lot, but on fbsd, it'll be faster with high traffic
[13:07] <RoyK> as long as the varnish system is running on low load, you probably won't notice much difference, but fbsd will scale better
[13:10] <duffy_duck> we have like 300 servers, I'm not going to learn how to administer another os for no reason
[13:10] <duffy_duck> :D
[13:27] <smoser> binBASH, i'd be interested in seeing / knowing what all you did and how you've set things up.
[13:27] <binBASH> smoser: I setup a dhcpd locally on each node.
[13:28] <binBASH> and changed the network config of eucalyptus to system
[13:28] <binBASH> and with your patch all worked
[13:32] <Grudg3> Hey all
[13:32] <Grudg3> Does someone here have knowledge of blade servers and has 5 minutes of time? Please :(
[13:34] <guntbert> !ask | Grudg3 (no help in that realm from me - sorry)
[13:35] <Grudg3> Well I'm ineterested in the specific blade server, and I just have some basic questions, would rather talk in private
[13:36] <guntbert> Grudg3: usually you don't get 1:1 support here anyway
[13:37] <Grudg3> Aha, okay thank you, got a link to a hardware channel here in freenode from #ubuntu ... thenks anyway, cheers!
[13:38] <guntbert> Grudg3: Good luck :-)
[14:16] <Italian_Plumber> good morning all
[14:17] <Italian_Plumber> I'm revisiting today an old issue of mine:  "ATA bus error" with my hard drive.  The details are here: http://ubuntuforums.org/showthread.php?t=1410891 ... .anyone with any advice would be greatly appreciated.
[14:17] <Italian_Plumber> and the advice would be too. :)
[14:20] <jaypur> Italian_Plumber, is this when the pc is booting???
[14:21] <Italian_Plumber> no it's all the time
[14:21] <Italian_Plumber> the error occurs repeately when the drive is being accessed.
[14:22] <jaypur> damn...
[14:22] <jaypur> let me see... i don't know how to help but i'll take a look
[14:23] <jaypur> lol i think it's all about the driver.... does the problem unable you to make things?
[14:23] <Italian_Plumber> thanks.  I feel like I've tried everything but I'm sure someone has a suggestion that I haven't tried yet
[14:23] <Italian_Plumber> the computer is usable, and the drive appears to read and write data without errors.  I have downloaded large torrents and they all pass the hash checks.
[14:24] <jaypur> so whats the real problem, if you can use the pc it's all ok
[14:24] <Italian_Plumber> well that's actually part of my dillemma... I don't really know if this is even something I should be worried about.
[14:25] <Italian_Plumber> at the very least, it makes my syslog HUGE.
[14:25] <jaypur> man
[14:25] <jaypur> if you eat a pizza
[14:25] <jaypur> do you wanna know what happened to make it?
[14:25] <jaypur> :D
[14:27] <jaypur> just a sec brb
[14:28] <Italian_Plumber> well, knowing what you're putting in your body goes a long way towards keeping you healthy... keeping a server healthy is a simlar experience, is it not? :)
[14:29] <Italian_Plumber>  is bumping considered rude in ubuntuforums.org?
[14:30] <jaypur> i don't think so, i think if you be polite all goes ok...
[14:30] <jaypur> yeah that's right what you said...
[14:30] <jaypur> and depends if you're running a serious server, yeah you should worry about it...
[14:31] <jaypur> if you running just for fun.... don't cook your brain...
[14:32] <Italian_Plumber> heh
[14:32] <jaypur> good luck my friend
[14:33] <Italian_Plumber> :) thanks.  Yeah it's not a "serious" server.  Just my personal one for music, virtual machines, and, um... wallpapers. :)
[14:47] <jaypur> i'm back Italian_Plumber
[14:48] <Italian_Plumber> welcome back. :)
[14:48] <jaypur> Italian_Plumber, i have one for counter-strike 1.6 server, webserver... and soon some cloud stuff
[14:56] <RoyK> Italian_Plumber: which version is this?
[14:57] <Italian_Plumber> of ubuntu?  hardy... 8.04.4
[15:02] <RoyK> my guess it's either a bad driver or a faulty drive
[15:03] <Italian_Plumber> how do I update the driver?
[15:05] <RoyK> check if there's a newer kernel available
[15:05] <RoyK> you also may want to try to upgrade ubuntu to a newer distro version
[15:07] <Italian_Plumber> I was planning on doing that when lucid comes out
[15:08] <lil_cain> aye, I'd never move a server off LTS
[15:38] <orudie> good morning. Can you guys have a look at this? This is what I got after d0-release-upgrade on ubuntu 9.04 http://www.pastebin.org/154139
[15:38] <orudie> this error I saw about 1.5 hours into the install
[15:55] <lil_cain> try removing wine, upgrading, and installing wine again?

[15:57] <lil_cain> I'd guess it's trying to change vm.mmap_min_addr since wine requires it set to 0, and you've changed it in some way
[15:59] <sporedi> how do i acess my ubuntu server  over internet using xrdp/mstsc
[15:59] <aetaric> sporedi: server doesn't have an X11 server
[16:00] <aetaric> so you can't use a mouse.
[16:00] <sporedi> i have installed ubuntu desktop
[16:00] <lil_cain> You'll have to install a vncserver
[16:00] <ikonia> sporedi: those are windows tools
[16:01] <lil_cain> And then connect over VNC. I would recommend ssh forwarding to localhost, and only having your VNC server listening there.
[16:01] <aetaric> that too. tightvnc works well to connect to a vnc server
[16:02] <sporedi> ok
[16:02] <sporedi> thx
[16:27] <orudie> !upgrade
[16:51] <schmidt>  /j #haml
[16:51] <schmidt> whops
[16:52] <RoyK> /j #msdos
[16:52] <RoyK> whoops
[16:52] <binBASH> lol
[16:55] <RoyK> a colleague of mine was complaining about things the other day - it was so stable and clean when we were running Sintran, but now it was all problems
[17:16] <orudie> how can I choose a different screen profile
[17:16] <orudie> in 9.04 it was there by default
[17:16] <orudie> in 9.10 its not
[17:21] <Italian_Plumber1> Did someone say (in regards to my earlier quesiton a few hours ago) that the UDMA settings are in the BIOS?
[17:22] <ruben23> hi guys on the installation porcess of my ubuntu-server 8.04 LTS- its asking me for bootloeader something about grub and i have selection- hd0, hd1 and fd0, tried hd0 but i get fatal error
[17:22] <ruben23> any suggestion what should i do on this part im stuck
[17:24] <Italian_Plumber1> how many physical hard drives you have?
[17:25] <Italian_Plumber1> did you try hd1?
[18:37] <Italian_Plumber1> ugh.  My server is unresponsive, even from the console, and I don't want to do a hard reset.  Are there any other options for doing a controlled shutdown?
[18:37] <Pici> !sysrq | Italian_Plumber1
[18:38] <pHcF> hey guys
[18:38] <Italian_Plumber1> wow... that seems to have worked. :)
[18:39] <pHcF> there's any tool to monitor with graphics CPU, Bandwith and RAM for ubuntu server? something that generates an image, like .jpg or something
[18:39] <Italian_Plumber1> interesting.
[18:39] <Italian_Plumber1> THANKS!
[18:39] <Pici> pHcF: munin does 5 minute snapshots and graphs them on RRDs.
[18:40] <pHcF> Pici: thanks :D
[18:40] <pHcF> gonna search
[19:19] <Mahdi> Who i can convert slapd.d to slapd.conf in ubuntu 9.04
[20:08] <ruben23> hi guys, im having unusual issue during install of ubuntu server 8.04 LTS
[20:09] <lil_cain> What's the issue?
[20:09] <ruben23> after install and im on root, when i do cd /etc/ or cd /var/ i got no file or directory..
[20:09] <ruben23> this is really confusing
[20:09] <lil_cain> what does ls / give you?
[20:10] <lil_cain> All the expected stuff?
[20:10] <ruben23> lil_cain:  im re installaing it again now for th 8 time
[20:10] <ruben23> i tell you when its done ill try your advice
[20:10] <lil_cain> cool.
[20:19] <mallchin> hi guys
[20:19] <mallchin> are there any giudes fpr
[20:19] <mallchin> guides for securing an ubuntu server
[20:23] <ScottK> mallchin: Did you have any particular issues in mind.  It's meant to default to a reasonably secure condition.
[20:24] <mallchin> ScottK: thanks, none in particular, I'm using a dedicated hosted server, just making sure it's secure
[20:25] <ScottK> The base Ubuntu Server install has no ports open to the outside world by default.
[20:25] <ScottK> The ufw firewall is included, but off by default.  You might start looking at it.
[20:25] <mallchin> ScottK: great, thank you
[20:26] <mallchin> ScottK: is there an easy way to tell if I am using server edition or not?
[20:26] <ScottK> No ports open by default is true of all Ubuntu flavors.
[20:28] <mallchin> ScottK: I assume it would be better to use server edition for a server though?
[20:28] <ScottK> Yes.
[20:30] <mallchin> thanks
[20:42] <ruben23>  lil_cain: you there
[20:42] <ruben23> ..
[20:43] <lil_cain> yup
[20:44] <ruben23> i got same error
[20:44] <ruben23> no file or directory
[20:44] <ruben23> what couls be the problem its my 9 time install of the ubuntu server
[20:45] <lil_cain> ls /
[20:45] <lil_cain> what's there?
[20:45] <lil_cain> and do you get any errors during your install?
[20:52] <ruben23> i dont get any error
[20:52] <ruben23>  duirng install but
[20:53] <lil_cain> ok. Is /etc/ there when you ls / ?
[20:53] <ruben23> during login
[20:53] <lil_cain> and is there anything odd in dmesg?
[20:53] <ruben23> it says no such files or directoryt
[20:53] <ruben23> im on root at that moment
[20:53] <lil_cain> you get no such file or directory when you ls / ?
[20:54] <ruben23> yes
[20:54] <ruben23> and also cd /etc/
[20:54] <ruben23> and also /var/
[20:54] <ruben23> all
[20:54] <ruben23> my install dont have any error at all
[20:54] <lil_cain> right. cd /; echo *;
[20:55] <lil_cain> and then try cat /proc/mounts
[20:55] <lil_cain> This is just a base install, you didn't do anything funny?
[20:55] <ruben23> yeah
[20:55] <ruben23> i follow this
[20:55] <ruben23> http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p3
[20:56] <lil_cain> ok. Is there anything in / when you echo *?
[20:57] <lil_cain> better yet, for i in /*; do echo $i; done;
[20:57] <lil_cain> ruben23: how far did you get in that?
[20:58] <ruben23> try it now
[20:58] <ruben23> ill try now
[20:58] <lil_cain> also, don't follow that guide. Anything which tells you to disable app armour is stupid.
[20:59] <lil_cain> as is telling you to use dash, rather than patching the single script they have.
[20:59] <lil_cain> sorry to replace dash
[21:01] <ruben23> still no such file or directory
[21:01] <lil_cain> you get no such file or directory when you cd ?
[21:01] <lil_cain> sorry, 'cd /'
[21:02] <ruben23> no such file or directory
[21:02] <ruben23> still
[21:03] <lil_cain> what does pwd say?
[21:03] <ruben23> :'( what should i do- i cant install ubuntu-server
[21:04] <ruben23>  /home/cj911#
[21:05] <ruben23> thats my pwd
[21:05] <lil_cain> Right. What happens when you type 'cd ..'
[21:06]  * ScottK notes that a lot of people who know what they are doing spend a lot of effort on the Ubuntu Server Guide.
[21:06]  * ScottK finds it generally a lot better than random web howto's.
[21:07] <ruben23> hi
[21:07] <ruben23>  lil_cain:/home#
[21:07] <ruben23> thats it
[21:07] <guntbert> ScottK: yes, but there is a disadvantage: you must be willing to read a whole page ;-))
[21:08] <ScottK> ruben23: If you're running as root you are doing it wrong.
[21:09] <ruben23> ScottK: what should be
[21:09] <lil_cain> ScottK: That's a matter of taste.
[21:09] <RoAkSoAx> kirkland: ping?
[21:09] <ScottK> Since Ubuntu ships with root disabled, you've already made your system non-standard
[21:10] <lil_cain> yes. But non-standard doesn't mean worse.
[21:10] <ScottK> lil_cain: Yes and no.  There are parts of the system that have been changed to expect sudo instead of a true root account.
[21:10] <lil_cain> like what?
[21:10] <ScottK> lil_cain: It does when people ask for support
[21:10] <lil_cain> ruben23: cd ../
[21:10] <lil_cain> ScottK: What is possibly going to break because you're root?
[21:10] <ScottK> It's fine if you know what you are doing, but people just starting shouldn't start doing non-standard things.
[21:11] <ScottK> I'm not sure of anything on server, but on desktops priviledge escalation for doing root level things is hardwired to sudo.
[21:11] <ruben23>  lil_cain: nothing happens
[21:11] <guntbert> lil_cain: why do you think you *need* root enabled?
[21:12] <ScottK> lil_cain: As it happens, I prefer to enable root on servers too, but I'm not the one here with a non-working system.
[21:16] <RoyK> ScottK: "enable root"?
[21:16] <guntbert> !root | RoyK
[21:17] <ScottK> guntbert: Thanks.  I was about to look for that url.
[21:17] <RoyK> guntbert: I'm quite aware of what root is, but "enable root" means nothing. enabling root password means something
[21:17] <guntbert> RoyK: don't pick on words please
[21:17] <guntbert> ScottK: :)
[21:18] <RoyK> guntbert: not doing that - just saying it wasn't clear what he meant
[21:18] <ScottK> RoyK: What else would it have meant?
[21:18] <guntbert> and RoyK the root account is not enabled by default - no way to change to it
[21:18] <RoyK> guntbert: on the other side, it should be quite fine if people learned to use their language properly before babbling out
[21:19] <guntbert> !attitude | RoyK
[21:19] <RoyK> guntbert: sudo su - ; passwd
[21:19] <ScottK> RoyK: If you can't contribut constructively go elsewhere
[21:19] <RoyK> ScottK: I contribut a lot in here, SIR
[21:19] <guntbert> RoyK: we know - but what you suggest is just useless
[21:20] <RoyK> huh?
[21:20] <RoyK> why?
[21:20] <ScottK> So far in this discussion all I've seen is pointless pedantry.
[21:21] <guntbert> RoyK: sudo su is definitely not needed and not useful, and there is no need to set a root password,
[21:21] <RoyK> omg
[21:21] <RoyK> guntbert: sudo su - is an old version of the newer sudo -i
[21:22]  * RoyK hits guntbert with a small iron bar
[21:22] <guntbert> ScottK: "a lot" doesn't necessarily mean quality :-)  - sorry RoyK I could not resist - please stop telling me old facts as your latest findings
[21:22] <guntbert> !ops | RoyK verbal violence
[21:23] <ikonia> easy please guys
[21:23] <ScottK> RoyK: I think if you'll look there are differences in the resulting environment between those two commands.  They are not identical.
[21:23] <RoyK> guntbert: calm down, sir
[21:23] <ikonia> RoyK: you too please
[21:24] <RoyK> ScottK: the result is the same - you end up in a shell with root's environment
[21:24] <ikonia> the environments are different, but both are root shells, there is a page on the wiki about this, I'm sure
[21:25] <RoyK> sudo su and sudo su - differs
[21:25] <RoyK> sudo su and sudo -i differs
[21:25] <ikonia> of course, the - matters
[21:25] <ikonia> RoyK: as well it should
[21:25] <RoyK> but sudo -i and sudo su - doesn't differ
[21:26] <ikonia> I believe they do, there is a document on the wiki that talks about this, but I'm not fully aware without research
[21:26] <ScottK> It does.
[21:26] <ScottK> It's clear from just reading the su and sudo man pages.
[21:26] <ikonia> bottom line is, ubuntu put sudo in place - respect it's implimentation and don't try to bypass it
[21:27] <ScottK> The difference is generally of little or no consequence, but sudo -i is generally preferred to sudo su.
[21:28] <RoyK> ScottK: sudo su doesn't take root's env, but sudo su - does, but I see the point - sudo -i keeps DISPLAY and stuff
[21:28] <tsimpson> "sudo su -" is pointless, you switch from your user to root via sudo, then switch from root to root via su
[21:29] <RoyK> tsimpson: sudo -i is quite new
[21:29] <ikonia> not really
[21:29] <ikonia> been around a long time now
[21:29] <tsimpson> define "quite new"
[21:29] <RoyK> as in 'doesn't work with older versions of sudo'
[21:30] <ikonia> I'm pretty sure it does, RoyK what versions are you talking of
[21:30] <RoyK> if you manage a truckload of OSes, sudo su - works for them all
[21:30] <tsimpson> it works from at least dapper, probably earlier
[21:30] <tsimpson> dapper is 6.06
[21:30] <ikonia> RoyK: it's in solaris 9 and hpux 11.20 too, so that's pretty old
[21:31] <ikonia> that's pretty good legacy coverage
[21:32] <ScottK> It was added in 2004.
[21:33] <ScottK> 2004-01-18 17:55 to be precise.
[21:34] <RoyK> damn
[21:34] <ikonia> ScottK: impressive searching
[21:34] <lil_cain> guntbert: You don't. It's a matter of taste.
[21:34]  * RoyK sends some eyjafjallajökull ash in ScottK's direction
[21:34] <ScottK> Sorry, I live upwind.
[21:35]  * ScottK was there once, but when it wasn't erupting.
[21:36] <guntbert> lil_cain: was that about "need" - of course you do on your system what you regard as appropriate :-)
[21:36] <lil_cain> guntbert: Aye.
[21:36] <lil_cain> I wouldn't recommend people do it. But I'm going to continue doing it, because I prefer it that way.
[21:38] <guntbert> lil_cain: exactly :-)
[21:42] <ScottK> lil_cain: I find that quite reasonable.
[21:56] <ruben23> lil_cain:  you there..?
[21:56] <ruben23> my echo $PATH --> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[21:57] <lil_cain> I don't see what your PATH should change.
[21:57] <lil_cain> cd is a builtin.
[21:57] <lil_cain> and you've go /bin
[21:57] <lil_cain> cd / shouldn't give an error, no matter what.
[22:12] <cemc> ruben23: what does 'alias | grep cd' say? :-)
[22:44] <ubuntologist> Hi all, would anyone have any clues as to why my syslog is showing a Shorewall net2fw entry where the destination IP is not on my LAN but rather my ISP's DNS? I've recently installed DNSMasq - is this perhaps modifying the frame before it's logged?
[22:46] <ubuntologist> Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=222.59.176.26 DST=220.233.15.6 LEN=40 TOS=0x00 PREC=0x00 TTL=101 ID=256 PROTO=TCP SPT=6000 DPT=9415 WINDOW=16384 RES=0x00 SYN URGP=0
[22:47] <guntbert> ubuntologist: it came in through ppp0
[22:47] <ubuntologist> yes
[22:48] <ubuntologist> aah...ok, i think i understand
[22:51] <ubuntologist> thanks guntbert - got it
[22:52] <guntbert> ubuntologist: nice :-)
[23:11] <ruben23> hi