=== bilde2910|away is now known as bilde2910 [08:13] Good morning. [08:44] Hey guys, how to change ssh port to some other port below 1024? [08:44] vedic_: Change the sshd config, and don't forget to tell your firewall. [08:44] Changing the port in sshd_config will do (and opening that port in firewall)? [08:45] lordievader: ok [08:47] Hey guys. [08:47] I'm trying to put together a resume. [08:48] And at one job I had *a lot* of responsibilities. [08:48] So I don't know what to title myself. [08:49] So far I've written: Assisted management of internal Oracle Database 11g instance, including administration of Oracle Linux infrastructure. Managed a dedicated Microsoft Exchange Server 2007 for communication. Provided technical support regarding network, hardware, and software-related issues through the ZenDesk ticketing system. [08:49] What's my job title? [08:50] It's basically Database admin, Sysadmin, Exchange admin, and tech support all-in-one. [08:50] Would "Internal Support Engineer" work? [08:52] "Systems Technician?" [09:06] lordievader: I just tried changing port in sshd_config and restarted ssh using /etc/init.d/ssh restart but when connecting to that machine, it just waits waits waits. Firewall has that new port enabled [09:07] vedic_: Does 'netstat -tulpn' show that sshd is listening to the configured port? [09:09] lordievader: it says tcp listening to 0.0.0.0:1000 [09:09] local port [09:10] vedic_: Ok, run from the other host (the client): nmap -p 1000 [09:13] Its says hosts seems down [09:13] lordievader^ [09:13] vedic_: nmap -Pn -p 1000 [09:15] lordievader: It says Host is up. Port 1000/tcp filter unknown [09:16] vedic_: Then likely your firewall isn't set up correctly or you have a NAT in between. [09:16] lordievader: yea, my client is behind NAT [09:17] vedic_: Port forward port 1000 to their machine. [09:17] lordievader: but server is on static ip [09:17] ok === nath|off is now known as nathema === nathema is now known as nath|off === kickinz1|afk is now known as kickinz1 === kickinz1 is now known as kickinz1|afk === nath|off is now known as nathema === nathema is now known as nath|off === Lcawte|Away is now known as Lcawte === nath|off is now known as nathema === nathema is now known as nath|off [16:06] where are cookies stored in ubuntu server? [16:07] Alina-malina: Of the browser? That is up to the browser. [16:07] no [16:07] not browser [16:07] lordievader, i have this in my php curl: $cookie=time()."_cookie.txt"; but i cant find them [16:09] Well cookies are stored client side anyways. [16:09] no [16:09] eh [16:09] the sessions stuff [16:10] i set them to be stored in _cookies.txt and save them, but i did not specify the path [16:10] so i cant find those :-/ [16:11] Hmm, I'm not familar with phpsessions. But if the file exists, find must be able to find it. [16:12] :( === a1berto_ is now known as a1berto [16:27] how to perform a search for *.txt files in all directories in ubuntu? [16:27] find / -iname txt [16:27] do i have to do this from / ? [16:28] it doesnt work [16:28] heh [16:28] doesnt do anything [16:28] You say you want everyhing. [16:28] what? [16:29] i need to search in all folder for all files *.txt the command you game returns nothign [16:29] Hmm, forgot a wildcard: find / -iname *txt [16:29] yes [16:29] Or "find / -iname *.txt" if you only want things with the extension. [16:29] but are you sure it returns all *.txt files? [16:29] because it doesnt returns what i am looking for :0-/ [16:29] Then why are you looking for it? [16:30] And yes it does. [16:30] shit [16:30] this is problem [16:30] i have this in php: $cookie=time()."_cookie.txt"; so it should write this files somewhere [16:30] but it doesnt [16:30] omg [16:32] where else this file could be? perhaps where to search for that content what it should write in that files but it did not? [16:32] maybe some logs? errors? [16:32] where? [16:34] Alina-malina: Please watch your language. [16:34] Alina-malina: Have you read the documentation, does it actually write a file? [16:34] well on local machine it does:-/ [16:35] but i need that data :( [16:35] on remote server i cant find those files, i.e. it doesnt create those [16:35] but it should be somewhere i guess [16:35] Alina-malina: Have you read the documentation, should it write the file on the server? [16:36] i said that script works in my local machine [16:36] but on server it doesnt create that files for some reason [16:37] Then check the logs for errors, or the config for differences. [16:37] errors for apache? or php? [16:37] what kind of errors? [16:37] i can download all logs [16:37] right now [16:37] there are many [16:38] Errors from php are logged in apaches error log if apache uses modphp and not something else to process the php stuff. [16:45] do you know where sessions stored? [16:45] i need to access them [16:45] :( [16:48] As I said, I'm not familiar with PHP sessions. [16:49] eh ok thanks anyways [16:50] Alina-malina: Folks over in ##php probably know. [16:51] yes i asked there [16:51] but no response yet [16:51] thansk [16:51] Just wait and hang around. IRC is a slow medium. [17:48] is it possible to create another root priviledged administrator? [17:54] Alina-malina: root is uid zero, so you can create another user with uid zero, but don't do that - use sudo [17:55] how? [17:55] Alina-malina: man sudo === Lcawte is now known as Lcawte|Away === bilde2910 is now known as bilde2910|away [18:27] Are there calculated values for MTTR, MTBF, MTTR etc. for Ubuntu based server? [18:27] MTTF, MTBF, MTTR etc.* === bilde2910|away is now known as bilde2910 === nath|off is now known as nathema [20:01] I have a Promise NS4300N. A pretty old unit. As fas as I can tell, the 4 drives that make up the RAID are fine and working correctly. I think the power supply has failed. I really don't like the unit anymore and would love to take the drives out and put them into my desktop computer. I would like to get the data off the drives intact though. So... I need to move 4 drives in a RAID 5 set to a new computer. Any tips or [20:01] suggestions would be great. === nathema is now known as nath|off === nath|off is now known as nathema === bilde2910 is now known as bilde2910|away === nathema is now known as nath|off