seeeb | I'll addd the sources manually | 00:01 |
---|---|---|
seeeb | manually resolved that :) | 00:02 |
dave4925_z | yeah just manually resolve it for each instance | 00:10 |
=== Monthrect is now known as Piper-Off | ||
=== Lcawte is now known as Lcawte|Away | ||
=== TSS is now known as TheSilverSentine | ||
=== athairus is now known as afkthairus | ||
=== Lcawte|Away is now known as Lcawte | ||
lordievader | Good morning. | 09:15 |
=== Lcawte is now known as Lcawte|Away | ||
jaawerth | hi, folks! I've got what I hope is a quick question - on a few of my servers after running processes that /run/user is full, and doesn't seem to ever empty. It doesn't seem to break anything, and I realize /run/user/$id is a SystemD tmpfs thing - but I'm wondering if it not emptying is a problem? | 14:12 |
jaawerth | from what I've been able to find, it's supposed to empty when a user logs out, so presumably it has something to do with ongoing processes that run as specific users | 14:13 |
EmilienM | can I deploy OpenStack mitaka with trusty-proposed repo? | 14:53 |
Walex2 | jaawerth: that is not supposed ever to get full... However echk the value of 'echo $TMP' for some of those users. | 15:29 |
jaawerth | Walex2: haha, I think I just figured it out - my fault for leaving a tmux session open, at least one this one machine I'd just been testing it on. Thanks though | 15:33 |
jaawerth | echo $TMP came back empty but I think it just wasn't clearing because I hadn't logged out in a while | 15:33 |
Walex2 | jaawerth: perhaps you need a larger allocation to that | 15:33 |
jaawerth | yeah, it's just 100M | 15:33 |
jaawerth | and on that box in particular I do some data-write-intensive stuff | 15:33 |
jaawerth | ah, looks like the shell env var is $XDG_RUNTIME_DIR | 15:53 |
Walex2 | jaawerth: gah, the usual XDG crap. | 16:11 |
=== rattking is now known as The_abominable_i | ||
=== The_abominable_i is now known as abominable_icebe | ||
jvwjgames | Hi guys remember my interface problem on my server | 16:25 |
lordievader | Err, maybe with some more details? | 16:34 |
seeeb | is there a lubuntu channel or related stuff here is okay? | 16:35 |
lordievader | seeeb: There is a Lubuntu channel, yes. | 16:38 |
lordievader | !alis | seeeb | 16:38 |
ubottu | seeeb: alis is a services bot that can help you find channels. Read "/msg alis help list" . For more help or questions relating to alis, please join #freenode. Example usage: /msg alis list #ubuntu or /msg alis list http | 16:38 |
seeeb | cool thanks lordievader | 16:38 |
=== Lcawte|Away is now known as Lcawte | ||
=== Piper-Off is now known as Monthrect | ||
=== abominable_icebe is now known as rattking | ||
jaawerth | Walex2: common complaint with SystemD stuff? I've not paid a ton of attention to the controversy over it | 18:24 |
jvwjgames | Hello guys | 19:21 |
pmatulis | hello | 20:05 |
Horler | Hey peeps, what sort of communication should I use to transfer files to my ubuntu server vps? | 20:41 |
ikonia | scp ? sftp ? | 20:41 |
Horler | I've been told that ftp is insecure. | 20:41 |
ikonia | yup | 20:42 |
rattking | rsync over ssh? | 20:42 |
ikonia | depends what you want to do really | 20:42 |
Horler | Plus, I'm a beginner. | 20:42 |
ikonia | nothing wrong with that | 20:42 |
Horler | Well, I manage a game server with friends... so I want people to be just in their own folder to edit/upload scripts of games | 20:42 |
Horler | That's my purpose | 20:42 |
ikonia | Horler: thats something you'll have to plan out | 20:43 |
ikonia | as that could leave your server very open | 20:43 |
Horler | What'd you recommend? | 20:43 |
ikonia | you'd need to secure their users, decide about interactive shells/not, depending on that setup, make sure you use a method that has a client they can all use | 20:44 |
ikonia | you need to put thought into it and plan it | 20:44 |
Horler | to be honest, that went right above my head. | 20:45 |
Horler | We're just two people, any simple ftp for now? | 20:45 |
ikonia | I'd stay away from transfering anything over the internet via ftp | 20:46 |
Horler | all right | 20:46 |
ikonia | (its your call of course) | 20:47 |
Horler | There's this sort of website for some files I want to download | 20:47 |
Horler | when I use windows to go that link, it as usual download the files | 20:47 |
Horler | but in ubuntu when I say wget url | 20:47 |
ikonia | whats the url for one of the files you want | 20:48 |
Horler | wget http://linux.mtasa.com/dl/151/multitheftauto_linux_x64-1.5.1.tar.gz | 20:48 |
ikonia | works fine for me | 20:48 |
Horler | wget this_link_above | 20:49 |
Horler | gives this error : | 20:49 |
Horler | wget: unable to resolve host address 'linux.mtasa.com' | 20:49 |
Horler | weird | 20:49 |
ikonia | your dns isn't working | 20:49 |
ikonia | you need to point your server at working dns servers | 20:50 |
Horler | I bought this VPS from a hosting company | 20:50 |
Horler | how can I do that? | 20:50 |
ikonia | ask them to configure it to point to their DNS servers | 20:50 |
Horler | ah... okay... is there anything that I can do? I need it soon you know | 20:51 |
ikonia | log a call to them | 20:51 |
ikonia | and they should do it quickly | 20:51 |
ikonia | should only take 5 minutes work | 20:51 |
Horler | ah okay ;) | 20:51 |
Horler | next(probably last) | 20:52 |
Horler | I might stick to the vsftpd idea for now | 20:52 |
Horler | Is there any way to lock user to a directory rather than his home directory? | 20:52 |
ikonia | that is probably the most respected ftp server, but it is still a huge risk | 20:52 |
ikonia | vspftd has a chroot home option | 20:52 |
Horler | so that he can't go to his parent? | 20:53 |
ikonia | yes | 20:53 |
Horler | oh | 20:53 |
Horler | i want to lock him to something that is not it's home | 20:53 |
ikonia | you can do that | 20:53 |
ikonia | chroot home allows you to set it where you want | 20:53 |
ikonia | but it would be easier to just change his home dir to where you want to lock him | 20:53 |
Horler | what is the command of that thing? | 20:53 |
ikonia | as if you want to lock him somewhere, whats the point of having his home directory somewhere else | 20:53 |
ikonia | it's not a "command" | 20:53 |
ikonia | it's config option | 20:54 |
ikonia | vsftpd is well documented | 20:54 |
Horler | that vsftpd.conf file? | 20:54 |
ikonia | thats one of the config files | 20:54 |
ikonia | it can be modular | 20:54 |
Horler | is there a guide for it anywhere official? | 20:56 |
Horler | ikonia: I made chroot_local_user=YES | 20:58 |
Horler | so... If i'll create an user now, he'll be restricted in /home/nameofuser? | 20:59 |
ikonia | no | 21:04 |
ikonia | did you read the doc about what you need | 21:04 |
Horler | I did | 21:05 |
ikonia | super | 21:05 |
ikonia | just sort out your auth | 21:05 |
Horler | I now logged in winscp from my new user, it took me to somewhere in etc folder | 21:06 |
Horler | yeah, I can only make files in my home directory once I go there | 21:06 |
Horler | Can I make user to log in only in his home? | 21:06 |
ikonia | thats what you've just done | 21:08 |
Horler | why am I being taken to etc when I First log in? | 21:10 |
ikonia | look at your config | 21:10 |
Horler | nothing there | 21:11 |
ikonia | there will be | 21:11 |
Horler | nope! | 21:12 |
Horler | i just proofread it, nothing | 21:12 |
ikonia | check the home directory of the user and the ftproot | 21:13 |
Horler | nothing... | 21:15 |
ikonia | it won't just dump you into /etc for fun | 21:16 |
Horler | even my root is taking me to etc | 21:17 |
Horler | very weird | 21:17 |
ikonia | so that would suggest something such as the default ftproot | 21:17 |
ikonia | and root should not be able to login | 21:17 |
ikonia | that suggest you have changed your machine from the default config | 21:17 |
Horler | i must re-install it | 21:17 |
=== Lcawte is now known as Lcawte|Away | ||
bekks | Why? | 21:43 |
bekks | Just because you did not configure WinSCP correctly? | 21:43 |
bekks | In WinSCP, you can setup which folder should be opened upon connecting. | 21:43 |
Horler | Ah bekks... thanks but I'm late now :( | 21:45 |
Horler | but however, the user must open in his home directory, to which I locked him? | 21:46 |
Horler | I don't want him to wander around view files | 21:46 |
bekks | At least it will teach you that reinstalling does not solve problems. | 21:46 |
bekks | If you dont want a user to see other content, you need to create a login chroot/jail. | 21:46 |
Horler | yeah, that, how do I do that? | 21:47 |
bekks | Like this: https://askubuntu.com/questions/93411/simple-easy-way-to-jail-users | 21:49 |
Horler | woah | 21:51 |
Horler | that's too much | 21:51 |
bekks | Thats the EASY way. | 21:52 |
Horler | You sure? Do you have anything else than FTP just to transfer files? | 21:55 |
bekks | Sure. | 21:56 |
bekks | SFTP, implemented by SSH. | 21:56 |
Horler | All right, how do I install it? | 21:57 |
bekks | You already did, since you installed openssh-server. | 21:58 |
Horler | I didnt! | 21:58 |
jelly | who did, then?? | 21:59 |
bekks | Horler: Well, then try to explain how you can connect using ssh ... | 21:59 |
Horler | I was using ftp? vsftpd | 22:00 |
bekks | Then you should try. | 22:00 |
bekks | Since you are using a server, openssh-server is installed. | 22:00 |
Horler | oh okay | 22:01 |
Horler | then? | 22:01 |
bekks | Then what? | 22:01 |
bekks | Then you are using SSH. And that implements SFTP. | 22:01 |
Horler | no offence but I'm a total noob | 22:03 |
Horler | so... all right | 22:04 |
Horler | ah man | 22:04 |
bekks | Well, maybe you should take a very close look at https://help.ubuntu.com/lts/serverguide/openssh-server.html understanding what SSH is. | 22:05 |
Horler | i get that now... | 22:10 |
Horler | we just have two things to transfer files? ftp and sftp? that's it? | 22:10 |
bekks | Who is "we"? | 22:12 |
Horler | ubuntu community? | 22:13 |
ikonia | ?? | 22:13 |
bekks | That statement makes no sense at all. | 22:13 |
ikonia | if you only have 2 things to move,, just copy them on | 22:13 |
ikonia | forget all this chrooting and stuff | 22:13 |
ikonia | just copy the 2 things into place and be done | 22:13 |
Horler | all right | 22:13 |
bekks | I guess he thinks that "we" only have ftp and sftp for transgerring files. | 22:14 |
bekks | *transferring | 22:14 |
Horler | yep | 22:14 |
Horler | I think that | 22:14 |
bekks | Which is wrong. | 22:14 |
Horler | what else do we have and what 2 things do I need to copy? | 22:15 |
Horler | sorry guys, I just haven't been on ubuntu... | 22:15 |
bekks | Besides FTP and SFTP, there is FTPS, NFS, SMB, CIFS, AFP, and a LOT more. | 22:16 |
Horler | I just have one single purpose... give me friends access to only their own folders... not mess around in other folders... | 22:16 |
rattking | if you will allow the user ssh access I would enable ssh server make them an account and use 'scp file user@host:~/" to write it to their home dir | 22:16 |
bekks | Setup chrooted FTP, as being provided the link before. | 22:16 |
bekks | Which you said is too complicated for you. | 22:16 |
rattking | that way you leverage ssh for encryption and auth, but it has the down side of giving the user a shell on the box | 22:17 |
Horler | bekks: the chroot part is too complicated | 22:18 |
Horler | rattking: I've no clue | 22:18 |
bekks | Horler: Which is a basic requirement as you stated. | 22:19 |
patdk-wk | ftps is so broken | 22:20 |
patdk-wk | no need to give a user a shell | 22:20 |
patdk-wk | just lock the user to sftp | 22:20 |
patdk-wk | scp requires a shell | 22:20 |
patdk-wk | if you really don't want to deal with ssh chroot, and must have chroot, use proftpd sftp | 22:21 |
bekks | vsftpd can chroot users too. | 22:21 |
Horler | bekks: yeah | 22:21 |
Horler | I tried... didn't work | 22:21 |
JanC | openssh+sftp isn't that hard to set up, right? | 22:22 |
bekks | You tried what, and what founded a works council and stopped working with which message? | 22:22 |
bekks | JanC: sudo apt-get install openssh-server :) | 22:22 |
bekks | JanC: aka "yes, easy" :) | 22:22 |
JanC | bekks: it's slightly more work than that for sftp-only + chroot | 22:23 |
JanC | but not really that much | 22:23 |
Horler | all right | 22:24 |
Horler | I'll try openssh-server now | 22:24 |
Horler | it's already to newest version | 22:25 |
bekks | As I said. | 22:25 |
Horler | What should be done now? | 22:26 |
=== pitastrudl_ is now known as pitastrudl | ||
bekks | Connect using SFTP. | 22:26 |
Horler | I must get a sftp client for windows first | 22:28 |
bekks | You have one. | 22:28 |
bekks | WinSCP. | 22:28 |
Horler | winscp yeah, done | 22:28 |
Horler | Oh my god | 22:28 |
Horler | I've been using openssh since the starting! :o | 22:29 |
bekks | Thats what you have been told, yes. | 22:29 |
Horler | all right, but I didn't use all that ssh keys | 22:30 |
Horler | just root, ip, and password | 22:30 |
bekks | All those ssh keys are explained in the article about openssh-server I've been giving you. | 22:31 |
Horler | ssh-copy-id username@remotehost | 22:34 |
Horler | what's this | 22:34 |
Horler | okay | 22:38 |
rattking | that will copy your ssh public key to the server so you can get in without the users password | 22:38 |
Horler | all done as of those keys | 22:38 |
Horler | now what | 22:38 |
Horler | how can I connect without root... ip and password | 22:38 |
bekks | Horler: Connecting without IP? | 22:43 |
bekks | Do you know what an IP is, and what it is used for? | 22:43 |
Horler | yeah yeah | 22:43 |
bekks | I dont think so, honestly. | 22:44 |
Horler | in winscp | 22:45 |
Horler | It must be like root@myip? | 22:45 |
bekks | Without an IP, you cannot connect to an IP. | 22:46 |
Horler | all right I get it! | 22:49 |
Horler | but to generate a ssh key for my computer | 22:49 |
Horler | shouldn't I have ubuntu at my home? | 22:49 |
bekks | You already did all that, since you ran: 1229 233441 < Horler> ssh-copy-id username@remotehost | 22:50 |
bekks | And: | 22:50 |
bekks | 1229 233812 < Horler> all done as of those keys | 22:50 |
Horler | I did that on my ubuntu server | 22:50 |
bekks | Which is pointless. | 22:50 |
Horler | yep | 22:51 |
Horler | I must do it on windows command line | 22:51 |
rattking | ohh yeah ssh-copy-id woudl be used by the client to put their key on the server | 22:51 |
Horler | and then, when I copy my public key, I'll put it on my ovh control panel | 22:52 |
Horler | bekks: seems fine now? | 22:52 |
bekks | No. | 22:52 |
bekks | 1229 235126 < rattking> ohh yeah ssh-copy-id woudl be used by the client to put their key on the server | 22:52 |
bekks | You are trying to do it vice versa. | 22:53 |
Horler | eh | 22:53 |
Horler | I'll make a ssh key from windows and paste it on my vps control panel, is that correct? | 22:53 |
bekks | No. | 22:53 |
Horler | or what | 22:53 |
Horler | all right | 22:53 |
bekks | The VPS control panel is irrelevant. | 22:54 |
Horler | ah | 22:54 |
Horler | Where should I paste it then? | 22:54 |
Horler | authorize_keys? | 22:54 |
bekks | Where should you paste what? | 22:54 |
ikonia | this is getting sily now | 22:55 |
bekks | Horler: Please read https://help.ubuntu.com/community/SSH/OpenSSH/Keys first. | 22:55 |
ikonia | there is no way you should have a server on the internet at this stage of learning | 22:55 |
Horler | all right, will do. thank you so much guys | 22:56 |
=== cz2 is now known as papiez | ||
=== papiez is now known as cz2 | ||
latsni | Hi, i have a server, and i want the server to send emails (atm via sendmail) to my email address, i could do it via aliases, but unfortunately my mailserver uses greylisting and the emails of the server are not accepted. could someone give me a hint what i could search for or do, so that sendmail respect the greylisting of my mailserver? (searching the net only show me guides for implementing greylisting ..) | 23:28 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!