/srv/irclogs.ubuntu.com/2010/04/17/#ubuntu-server.txt

orudie!upgrade00:01
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/getubuntu/upgrading00:01
=== brianherman_ is now known as brianherman
osmosiswhere are the config files for the ethernet bridging ?00:19
lifestreamerrmmm, how would I go about ressetting the mysql password? I forgot what it was00:24
jeffesquivellifestream, http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html00:26
lifestreamthank you much, jeffesquivel00:27
jeffesquivellifestream, no problem00:27
uvirtbotNew bug: #565101 in eucalyptus (main) "walrus reports java.lang.OutOfMemoryError: Java heap space" [Undecided,New] https://launchpad.net/bugs/56510100:42
smoserbinBASH, sorry, i didn't catch your question01:04
smoserssh is the primary way to get to an instance01:04
orudiehere is my output after running do-release-upgrade http://www.pastebin.org/15413901:05
orudieany ideas ?01:05
orudiethat's long into the process01:05
orudieanyone ?01:17
orudieпомогите пацаны01:17
uvirtbotNew bug: #565123 in chkrootkit (main) "chkutmp assert failure: *** stack smashing detected ***: ./chkutmp terminated" [Undecided,New] https://launchpad.net/bugs/56512301:21
lifestreamWhy isn't this workking?01:21
lifestreammysql> set password for opensim = Password('mypassword');01:21
lifestreamERROR 1133 (42000): Can't find any matching row in the user table01:21
lifestreamI mean, the error is easy to understand01:22
lifestreamThe database exists ;  what row is it asking for? Password? It should be there, if I created the user, no?01:22
lifestreamHere are the commands I was running for mysql01:25
lifestreamhttp://www.pastebin.lt/view/raw/7515898401:25
=== lifestream is now known as imgoingtoripmyha
=== imgoingtoripmyha is now known as riphairoff
=== riphairoff is now known as lifestream
uvirtbotNew bug: #520273 in postfix (main) "cron doesn't send mail" [Undecided,New] https://launchpad.net/bugs/52027302:13
lifestreamCan I completely wipe all databases, users, rows, etc, from mysql, ro make it like a fresh install?02:37
jeffesquivellifestream, hmm... IIRC, mysql package asked you for your password when installing, right?02:49
jeffesquivellifestream, you may be able to get that dialog again with dpkg-reconfigure02:49
jeffesquivelbut I'm not sure of that, have never done it02:50
ChmEarlproblem in fresh lucid domU http://paste.ubuntu.com/415895/03:12
ChmEarlgetting broken pipe errors before apparmor starts03:12
pHcFhey guys :)03:44
pHcFguys, how do i set the user's root to a folder03:45
pHcFand disable his access to any folder "higher"?03:45
=== RoAk is now known as andreserl
=== RoAkSoAx is now known as andreserl
=== andreserl is now known as roaksoax
=== roaksoax is now known as andreserl
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
ruben231hi guys i have a hosted server on a hosting sompany, how so i install ubuntu-server on it...any suggestion..?06:18
ruben231hi guys i have a hosted server on a hosting sompany, how do i install ubuntu-server on it...any suggestion..?06:22
ScottKruben231: You need to talk to the hosting company.06:26
ruben231 ScottK: mostly whats the procedure for that..?06:27
ScottKDepends on the hosting company06:27
ScottKYou need to ask them06:27
ruben231 ScottK:  but can i remote install on a hosted server is it possible what process is it06:30
ScottKIt's not possible in most cases.06:31
ruben231 ScottK: so your request to the hosting company to install it for you..06:32
ScottKYes06:32
erichammondI 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
erichammondI seem to remember it was enabled by Belkin hardware.07:02
ScottKThat would be one example of why I said most not all.07:03
binBASHsmoser: I got everything working now :) thx again for all your help.11:33
duffy_duckhi, 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:15
duffy_duckanyone?12:18
auhmm12:21
RoyKduffy_duck: what sort of resources would you like to limit? bandwidth? cpu? memory?12:24
duffy_duckideally all of those12:26
duffy_duckRoyK: bot so far CPU would be a good starting point12:27
RoyKcpu is tricky12:27
RoyKare they using cpu intensive stuff?12:27
RoyKcgi should be avoided at all costs anyway12:28
duffy_duckwell, the point is that if a website is under some sort of load it'll slow down all the others12:28
binBASHcpu for non cgi? are you using things like mod_php?12:28
duffy_duckyes12:28
binBASHdon't use it ;)12:29
binBASHI would switch to cgi version12:29
binBASHand use suexec12:29
duffy_duckit's far slower12:29
binBASHwell, every big hoster uses it.12:29
RoyKbinBASH: cgi is a ninetees thing12:30
binBASHRoyK: Well, it's safe12:30
RoyKcgi => fork a job for every request12:30
RoyKit's NOT safe12:30
binBASHit is with suexec12:30
RoyKsay you have perl cgi and someone launches 10k requests, 10k perl scripts are forket out with a memory footprint of 3-5MB each12:31
binBASHand mpm_itk is slow as well ;)12:31
RoyKmake that 100k12:31
binBASHperuser.org seems to be much better.12:31
binBASHusing this myself12:31
duffy_duckis that a mod_something?12:32
binBASHit's an alternative to mpm-itk12:32
binBASHthough harder to control but faster ;)12:32
binBASHbut I think you can't limit cpu there.12:33
duffy_duckhmmm, 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 freezes12:33
duffy_duckand you have to reboot.12:33
RoyKI guess suexec and some ulimit magick might work12:33
RoyKbut then, ulimit will just make the jobs stop working after spending xx in cpu12:34
binBASHduffy_duck: How many sites / users you have on your webserver?12:34
RoyKduffy_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:34
duffy_duckit's about 500 websites12:35
binBASHRoyK: btw. to your opensolaris suggestion. I just read yesterday there are some discussions in the community, due to the new plans of oracle12:36
duffy_duckno, i have the cpu graphs from vmware12:36
RoyKok12:36
RoyKbinBASH: what plans?12:37
RoyKduffy_duck: ok12:37
RoyKduffy_duck: but can't you just do the limitations from vmware?12:37
binBASHRoyK: They shifted a release12:38
duffy_duckRoyK: it's OS problem, when it gets too many request ( eg using a few apache benchmark ) it crashes12:39
RoyKwhat do you mean 'shifted'?12:39
binBASHand they stopped the sending service for opensolaris cds12:39
binBASHpostponed12:39
RoyKwell, it takes a man to download and burn it12:39
RoyKduffy_duck: I don't think I've seen ubuntu crash on cpu use - only memory12:40
RoyKduffy_duck: do you monitor the memory and swap use for your vmware guests?12:41
duffy_duckRoyK: I probabily should. BUT I still think it should stop opening processes instead of crashing12:42
RoyKapache doesn't care about how much memory the system has12:42
RoyKit just goes on12:42
RoyKyou'll have to limit the max in the apache config12:42
RoyKif apache or any other process starts forking wildly, it'll consume large amounts of memory and then swap12:43
duffy_duckglobally?12:43
RoyKand then linux will probably die, trying to swap12:43
RoyKduffy_duck: monitor swap use12:43
duffy_duckgood point,I'll give it a try12:44
binBASHduffy_duck: and tune memory_limit in php.ini :)12:44
RoyKlinux has an OOM (out of memory) killer that kicks in when the system runs out of memory, but usually too late12:44
RoyKbinBASH: that's per session, so if you have 10k sessions, it won't help much12:45
binBASHtrue RoyK, OOM never worked for me yet :)12:45
binBASHRoyK: Just don't allow that much dynamic processes? ;)12:45
duffy_duckRoyk: the problem with OOM is that it's kills one and apache opens 312:46
RoyKthat'll be limiting concurrent apache connections, since once you have an apache connection, it'll run12:46
duffy_duckso there's no way it can sort out12:46
RoyKduffy_duck: i know - the solution is to add more memory12:46
binBASHRoyK: A solution I would try is, putting a proxy before the webserver, let it handle static things12:46
RoyKhow much memory do you have on these guests?12:46
binBASHvarnish is really good on it ;)12:47
duffy_duckit's a cluster 512 x 312:47
RoyKbinBASH: yeah, varnish kicks ass :)12:47
RoyKbinBASH: linpro.no did a great thing making that :)12:47
RoyKit can be a little hard to setup correctly with cookies and stuff, though12:48
binBASHtrue ;)12:48
duffy_duckis that some sort of proxy?12:49
RoyKduffy_duck: I meant - how much memory for the guests?12:49
RoyKduffy_duck: it eats squid for breakfast12:49
duffy_duck512 x 3 guests12:49
duffy_duck512 each12:49
RoyKok12:49
RoyK512MB isn't really a lot if you're hosting a heavy webapp on it12:50
duffy_duckbut the problem is that when you get some attack memory is never enought12:50
RoyKwell, start with monitoring swap12:50
RoyKuse nagios/icinga or something else12:50
duffy_duckand, would you suggest x64 or x32?12:51
RoyKI use 64bit all the way these days unless I just need some toolbox vm12:51
RoyKeven then, often 6412:52
duffy_duckwould you install varnish on a separete server or one on each node?12:53
RoyKvarnish should be on a separate box in front12:53
RoyKwith LOTS of memory12:53
duffy_duck2GB?12:53
RoyKvarnish doesn't do disk caching12:53
RoyKyeah or 4 or 8 or more12:54
RoyKdepending on the workload12:54
duffy_duckthe boss is gonna kill me :D12:54
RoyKget a nice pizzabox with two CPUs and 16 gigs of RAM12:54
binBASHduffy_duck: Memory is not that expensive12:55
RoyKdigi.no, a quite popular IT site, replaced  16 squid servers with 4 varnish boxes, and reports they really needed one, plus one for redundancy12:55
RoyKvarnish kicks ass12:55
binBASHRoyK: are you using it?12:56
RoyKnope - not running anything like that12:56
binBASHwell I plan to use it, but geoip based12:56
binBASHhave to find a solution as well for smart dns round robbin12:57
RoyKbinBASH: 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 better12:57
RoyKthere are some sendfile() stuff in linux that isn't very good12:58
RoyKor was - I haven't been looking into this for a year or so12:58
binBASHRoyK: probably, well in my cloud I can run all sorts of os12:58
RoyKdon't run varnish on a vm...12:58
RoyKrun it on dedicated hardware12:59
binBASHyup12:59
binBASH;)12:59
RoyKit requires very fast memory access12:59
binBASHSo I have to take linux :P12:59
binBASHI already testdrived varnish, it's quite nice.13:00
RoyKI'd give freebsd a chance if I were you - varnish should perform a lot better on that with a good sendfile() implementation13:00
binBASHhttp://www.hetzner.de/en/hosting/produkte_rootserver/eq8/13:01
binBASHmaybe two of these for varnish failover13:01
RoyK:)13:03
binBASH24 GB RAM should be fine ;)13:03
RoyKyeah13:03
duffy_duckok guys i'lll give it a try and report next week13:04
duffy_duckthanks for the soggestions13:04
binBASHnp13:04
RoyKduffy_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 traffic13:06
RoyKas long as the varnish system is running on low load, you probably won't notice much difference, but fbsd will scale better13:07
duffy_duckwe have like 300 servers, I'm not going to learn how to administer another os for no reason13:10
duffy_duck:D13:10
smoserbinBASH, i'd be interested in seeing / knowing what all you did and how you've set things up.13:27
binBASHsmoser: I setup a dhcpd locally on each node.13:27
binBASHand changed the network config of eucalyptus to system13:28
binBASHand with your patch all worked13:28
Grudg3Hey all13:32
Grudg3Does someone here have knowledge of blade servers and has 5 minutes of time? Please :(13:32
guntbert!ask | Grudg3 (no help in that realm from me - sorry)13:34
ubottuGrudg3 (no help in that realm from me - sorry): Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)13:34
Grudg3Well I'm ineterested in the specific blade server, and I just have some basic questions, would rather talk in private13:35
guntbertGrudg3: usually you don't get 1:1 support here anyway13:36
Grudg3Aha, okay thank you, got a link to a hardware channel here in freenode from #ubuntu ... thenks anyway, cheers!13:37
guntbertGrudg3: Good luck :-)13:38
Italian_Plumbergood morning all14:16
Italian_PlumberI'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_Plumberand the advice would be too. :)14:17
jaypurItalian_Plumber, is this when the pc is booting???14:20
Italian_Plumberno it's all the time14:21
Italian_Plumberthe error occurs repeately when the drive is being accessed.14:21
jaypurdamn...14:22
jaypurlet me see... i don't know how to help but i'll take a look14:22
jaypurlol i think it's all about the driver.... does the problem unable you to make things?14:23
Italian_Plumberthanks.  I feel like I've tried everything but I'm sure someone has a suggestion that I haven't tried yet14:23
Italian_Plumberthe 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:23
jaypurso whats the real problem, if you can use the pc it's all ok14:24
Italian_Plumberwell that's actually part of my dillemma... I don't really know if this is even something I should be worried about.14:24
Italian_Plumberat the very least, it makes my syslog HUGE.14:25
jaypurman14:25
jaypurif you eat a pizza14:25
jaypurdo you wanna know what happened to make it?14:25
jaypur:D14:25
jaypurjust a sec brb14:27
Italian_Plumberwell, 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:28
Italian_Plumber is bumping considered rude in ubuntuforums.org?14:29
jaypuri don't think so, i think if you be polite all goes ok...14:30
jaypuryeah that's right what you said...14:30
jaypurand depends if you're running a serious server, yeah you should worry about it...14:30
jaypurif you running just for fun.... don't cook your brain...14:31
Italian_Plumberheh14:32
jaypurgood luck my friend14:32
Italian_Plumber:) thanks.  Yeah it's not a "serious" server.  Just my personal one for music, virtual machines, and, um... wallpapers. :)14:33
jaypuri'm back Italian_Plumber14:47
Italian_Plumberwelcome back. :)14:48
jaypurItalian_Plumber, i have one for counter-strike 1.6 server, webserver... and soon some cloud stuff14:48
RoyKItalian_Plumber: which version is this?14:56
Italian_Plumberof ubuntu?  hardy... 8.04.414:57
RoyKmy guess it's either a bad driver or a faulty drive15:02
Italian_Plumberhow do I update the driver?15:03
RoyKcheck if there's a newer kernel available15:05
RoyKyou also may want to try to upgrade ubuntu to a newer distro version15:05
Italian_PlumberI was planning on doing that when lucid comes out15:07
lil_cainaye, I'd never move a server off LTS15:08
=== dendro-afk is now known as dendrobates
orudiegood 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/15413915:38
orudiethis error I saw about 1.5 hours into the install15:38
lil_caintry removing wine, upgrading, and installing wine again?15:55
lil_cain</hack>15:55
lil_cainI'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 way15:57
sporedihow do i acess my ubuntu server  over internet using xrdp/mstsc15:59
aetaricsporedi: server doesn't have an X11 server15:59
aetaricso you can't use a mouse.16:00
sporedii have installed ubuntu desktop16:00
lil_cainYou'll have to install a vncserver16:00
ikoniasporedi: those are windows tools16:00
lil_cainAnd then connect over VNC. I would recommend ssh forwarding to localhost, and only having your VNC server listening there.16:01
aetaricthat too. tightvnc works well to connect to a vnc server16:01
sporediok16:02
sporedithx16:02
orudie!upgrade16:27
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/getubuntu/upgrading16:27
=== lenios_ is now known as lenios
schmidt /j #haml16:51
schmidtwhops16:51
RoyK/j #msdos16:52
RoyKwhoops16:52
binBASHlol16:52
RoyKa 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 problems16:55
=== sporedi_ is now known as sporedi
orudiehow can I choose a different screen profile17:16
orudiein 9.04 it was there by default17:16
orudiein 9.10 its not17:16
Italian_Plumber1Did someone say (in regards to my earlier quesiton a few hours ago) that the UDMA settings are in the BIOS?17:21
ruben23hi 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 error17:22
ruben23any suggestion what should i do on this part im stuck17:22
Italian_Plumber1how many physical hard drives you have?17:24
Italian_Plumber1did you try hd1?17:25
Italian_Plumber1ugh.  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_Plumber118:37
ubottuItalian_Plumber1: In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing, in succession, R, E, I, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key18:37
pHcFhey guys18:38
Italian_Plumber1wow... that seems to have worked. :)18:38
pHcFthere's any tool to monitor with graphics CPU, Bandwith and RAM for ubuntu server? something that generates an image, like .jpg or something18:39
Italian_Plumber1interesting.18:39
Italian_Plumber1THANKS!18:39
PicipHcF: munin does 5 minute snapshots and graphs them on RRDs.18:39
pHcFPici: thanks :D18:40
pHcFgonna search18:40
uvirtbotNew bug: #565481 in php5 (main) "PHP preg_match doesn't match matching string" [Undecided,New] https://launchpad.net/bugs/56548118:46
MahdiWho i can convert slapd.d to slapd.conf in ubuntu 9.0419:19
ruben23hi guys, im having unusual issue during install of ubuntu server 8.04 LTS20:08
lil_cainWhat's the issue?20:09
ruben23after install and im on root, when i do cd /etc/ or cd /var/ i got no file or directory..20:09
ruben23this is really confusing20:09
lil_cainwhat does ls / give you?20:09
lil_cainAll the expected stuff?20:10
ruben23lil_cain:  im re installaing it again now for th 8 time20:10
ruben23i tell you when its done ill try your advice20:10
lil_caincool.20:10
mallchinhi guys20:19
mallchinare there any giudes fpr20:19
mallchinguides for securing an ubuntu server20:19
ScottKmallchin: Did you have any particular issues in mind.  It's meant to default to a reasonably secure condition.20:23
mallchinScottK: thanks, none in particular, I'm using a dedicated hosted server, just making sure it's secure20:24
ScottKThe base Ubuntu Server install has no ports open to the outside world by default.20:25
ScottKThe ufw firewall is included, but off by default.  You might start looking at it.20:25
mallchinScottK: great, thank you20:25
mallchinScottK: is there an easy way to tell if I am using server edition or not?20:26
ScottKNo ports open by default is true of all Ubuntu flavors.20:26
mallchinScottK: I assume it would be better to use server edition for a server though?20:28
ScottKYes.20:28
mallchinthanks20:30
=== RoAkSoAx_ is now known as RoAkSoAx
ruben23 lil_cain: you there20:42
ruben23..20:42
lil_cainyup20:43
ruben23i got same error20:44
ruben23no file or directory20:44
ruben23what couls be the problem its my 9 time install of the ubuntu server20:44
lil_cainls /20:45
lil_cainwhat's there?20:45
lil_cainand do you get any errors during your install?20:45
ruben23i dont get any error20:52
ruben23 duirng install but20:52
lil_cainok. Is /etc/ there when you ls / ?20:53
ruben23during login20:53
lil_cainand is there anything odd in dmesg?20:53
ruben23it says no such files or directoryt20:53
ruben23im on root at that moment20:53
lil_cainyou get no such file or directory when you ls / ?20:53
ruben23yes20:54
ruben23and also cd /etc/20:54
ruben23and also /var/20:54
ruben23all20:54
ruben23my install dont have any error at all20:54
lil_cainright. cd /; echo *;20:54
lil_cainand then try cat /proc/mounts20:55
lil_cainThis is just a base install, you didn't do anything funny?20:55
ruben23yeah20:55
ruben23i follow this20:55
ruben23http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p320:55
lil_cainok. Is there anything in / when you echo *?20:56
lil_cainbetter yet, for i in /*; do echo $i; done;20:57
lil_cainruben23: how far did you get in that?20:57
ruben23try it now20:58
ruben23ill try now20:58
lil_cainalso, don't follow that guide. Anything which tells you to disable app armour is stupid.20:58
lil_cainas is telling you to use dash, rather than patching the single script they have.20:59
lil_cainsorry to replace dash20:59
ruben23still no such file or directory21:01
lil_cainyou get no such file or directory when you cd ?21:01
lil_cainsorry, 'cd /'21:01
ruben23no such file or directory21:02
ruben23still21:02
lil_cainwhat does pwd say?21:03
ruben23:'( what should i do- i cant install ubuntu-server21:03
ruben23 /home/cj911#21:04
ruben23thats my pwd21:05
lil_cainRight. What happens when you type 'cd ..'21:05
* 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:06
ruben23hi21:07
ruben23 lil_cain:/home#21:07
ruben23thats it21:07
guntbertScottK: yes, but there is a disadvantage: you must be willing to read a whole page ;-))21:07
ScottKruben23: If you're running as root you are doing it wrong.21:08
ruben23ScottK: what should be21:09
lil_cainScottK: That's a matter of taste.21:09
RoAkSoAxkirkland: ping?21:09
ScottKSince Ubuntu ships with root disabled, you've already made your system non-standard21:09
lil_cainyes. But non-standard doesn't mean worse.21:10
ScottKlil_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_cainlike what?21:10
ScottKlil_cain: It does when people ask for support21:10
lil_cainruben23: cd ../21:10
lil_cainScottK: What is possibly going to break because you're root?21:10
ScottKIt's fine if you know what you are doing, but people just starting shouldn't start doing non-standard things.21:10
ScottKI'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 happens21:11
guntbertlil_cain: why do you think you *need* root enabled?21:11
ScottKlil_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:12
RoyKScottK: "enable root"?21:16
guntbert!root | RoyK21:16
ubottuRoyK: Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo21:16
ScottKguntbert: Thanks.  I was about to look for that url.21:17
RoyKguntbert: I'm quite aware of what root is, but "enable root" means nothing. enabling root password means something21:17
guntbertRoyK: don't pick on words please21:17
guntbertScottK: :)21:17
RoyKguntbert: not doing that - just saying it wasn't clear what he meant21:18
ScottKRoyK: What else would it have meant?21:18
guntbertand RoyK the root account is not enabled by default - no way to change to it21:18
RoyKguntbert: on the other side, it should be quite fine if people learned to use their language properly before babbling out21:18
guntbert!attitude | RoyK21:19
ubottuRoyK: The people here are volunteers, your attitude should reflect that. Answers are not always available. See http://wiki.ubuntu.com/IRC/Guidelines21:19
RoyKguntbert: sudo su - ; passwd21:19
ScottKRoyK: If you can't contribut constructively go elsewhere21:19
RoyKScottK: I contribut a lot in here, SIR21:19
guntbertRoyK: we know - but what you suggest is just useless21:19
RoyKhuh?21:20
RoyKwhy?21:20
ScottKSo far in this discussion all I've seen is pointless pedantry.21:20
guntbertRoyK: sudo su is definitely not needed and not useful, and there is no need to set a root password,21:21
RoyKomg21:21
RoyKguntbert: sudo su - is an old version of the newer sudo -i21:21
* RoyK hits guntbert with a small iron bar21:22
guntbertScottK: "a lot" doesn't necessarily mean quality :-)  - sorry RoyK I could not resist - please stop telling me old facts as your latest findings21:22
guntbert!ops | RoyK verbal violence21:22
ubottuRoyK verbal violence: Help! Channel emergency! soren, lamont, mathiaz or tom21:22
ikoniaeasy please guys21:23
ScottKRoyK: I think if you'll look there are differences in the resulting environment between those two commands.  They are not identical.21:23
RoyKguntbert: calm down, sir21:23
ikoniaRoyK: you too please21:23
RoyKScottK: the result is the same - you end up in a shell with root's environment21:24
ikoniathe environments are different, but both are root shells, there is a page on the wiki about this, I'm sure21:24
RoyKsudo su and sudo su - differs21:25
RoyKsudo su and sudo -i differs21:25
ikoniaof course, the - matters21:25
ikoniaRoyK: as well it should21:25
RoyKbut sudo -i and sudo su - doesn't differ21:25
ikoniaI believe they do, there is a document on the wiki that talks about this, but I'm not fully aware without research21:26
ScottKIt does.21:26
ScottKIt's clear from just reading the su and sudo man pages.21:26
ikoniabottom line is, ubuntu put sudo in place - respect it's implimentation and don't try to bypass it21:26
ScottKThe difference is generally of little or no consequence, but sudo -i is generally preferred to sudo su.21:27
RoyKScottK: sudo su doesn't take root's env, but sudo su - does, but I see the point - sudo -i keeps DISPLAY and stuff21:28
tsimpson"sudo su -" is pointless, you switch from your user to root via sudo, then switch from root to root via su21:28
RoyKtsimpson: sudo -i is quite new21:29
ikonianot really21:29
ikoniabeen around a long time now21:29
tsimpsondefine "quite new"21:29
RoyKas in 'doesn't work with older versions of sudo'21:29
ikoniaI'm pretty sure it does, RoyK what versions are you talking of21:30
RoyKif you manage a truckload of OSes, sudo su - works for them all21:30
tsimpsonit works from at least dapper, probably earlier21:30
tsimpsondapper is 6.0621:30
ikoniaRoyK: it's in solaris 9 and hpux 11.20 too, so that's pretty old21:30
ikoniathat's pretty good legacy coverage21:31
ScottKIt was added in 2004.21:32
ScottK2004-01-18 17:55 to be precise.21:33
RoyKdamn21:34
ikoniaScottK: impressive searching21:34
lil_cainguntbert: You don't. It's a matter of taste.21:34
* RoyK sends some eyjafjallajökull ash in ScottK's direction21:34
ScottKSorry, I live upwind.21:34
* ScottK was there once, but when it wasn't erupting.21:35
guntbertlil_cain: was that about "need" - of course you do on your system what you regard as appropriate :-)21:36
lil_cainguntbert: Aye.21:36
lil_cainI wouldn't recommend people do it. But I'm going to continue doing it, because I prefer it that way.21:36
guntbertlil_cain: exactly :-)21:38
ScottKlil_cain: I find that quite reasonable.21:42
ruben23lil_cain:  you there..?21:56
ruben23my echo $PATH --> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games21:56
lil_cainI don't see what your PATH should change.21:57
lil_caincd is a builtin.21:57
lil_cainand you've go /bin21:57
lil_caincd / shouldn't give an error, no matter what.21:57
cemcruben23: what does 'alias | grep cd' say? :-)22:12
ubuntologistHi 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:44
ubuntologistShorewall: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=022:46
guntbertubuntologist: it came in through ppp022:47
ubuntologistyes22:47
ubuntologistaah...ok, i think i understand22:48
ubuntologistthanks guntbert - got it22:51
guntbertubuntologist: nice :-)22:52
ruben23hi23:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!