[13:11] <jerit> guys I neeeeeed heeeeelp
[13:12] <jerit> can't copy largish files to my server
[13:53] <jerit__> dunno what's happening with my other login but I've decided to reinstall the thing now I've got samba installed so now what?
[14:12] <jerit> okay so this seems to have got its act together
[14:25] <jerit> running /smbpasswd -a jerit/ hasn't done what I expected it would
[14:25] <jerit> it gives me like help documentation
[14:26] <jerit> ah that's because -a ignores the option if the specified username already exists
[14:31] <jerit> so now I'm confused because samba is installed and everything but I can't access my share
[14:31] <jerit> the login keeps getting rejected
[14:33] <paddatrapper> jerit: smbpasswd -e jerit 
[14:33] <paddatrapper> You need to enable the user after adding it
[14:33] <paddatrapper> I still find samba to be largely black, useful magic
[14:34] <jerit> lol
[14:34] <jerit> still can't get into it
[14:34] <jerit> smbpasswd -e did the same as -a
[14:34] <jerit> ie nothing apparently
[14:35] <paddatrapper> let me see if I can check on one of my server
[14:35] <paddatrapper> s
[14:36] <jerit> I'm working on this btw https://www.howtoforge.com/samba-server-ubuntu-14.04-lts
[14:38] <paddatrapper> jerit: In your config file you need to specify the samba passwd file:
[14:38] <paddatrapper> [global]
[14:38] <paddatrapper> smb password file = /etc/smb/smbpasswd
[14:39]  * jerit forgot to sudo smbpasswd -a jerit
[14:39] <jerit> was running it without sudo so it didn't work
[14:39] <paddatrapper> Ah, yeah sudo is needed
[14:40] <paddatrapper> FWIW this is my smb config file: https://gitlab.com/paddatrapper/ansible/blob/master/personal/roles/file/files/smb.conf.j2
[14:41] <jerit> this guide I'm using said nothing about sudo being needed
[14:41] <magespawn> maybe assumed your are running as root al the time
[14:41] <paddatrapper> Generally most config of system daemons require root
[14:41] <magespawn> you are
[14:42] <magespawn> some of the setups linke centos you have to setup the users
[14:42] <paddatrapper> that's a really bad assumption to be making... (on the guide's side)
[14:42] <paddatrapper> You shouldn
[14:42] <paddatrapper> You shouldn't be logged in as root to any box, always setup users
[14:42] <magespawn> indeed but playing around with kali i set up a standard user, then could not get most things to work
[14:43] <magespawn> the guides assumed a default setup 
[14:45] <paddatrapper> True, Kali is slightly different, as you are working with tools that require direct access to things that only root has access to (network, configs, etc)
[14:45] <jerit> how can I check my user permissions?
[14:45] <paddatrapper> jerit: What do you mean>
[14:45] <jerit> I think my user is a root user by default
[14:45] <paddatrapper> ?
[14:45] <jerit> how do I check?
[14:45] <paddatrapper> Ag I can't type today...
[14:45] <jerit> :P
[14:46] <paddatrapper> check your username? If it is root, then you are root
[14:46] <jerit> it isn't
[14:47] <jerit> su - root ... I can't authenticate coz I don't know what that password is lol
[14:47] <paddatrapper> Then you're not root. You have root permissions (sudo group in Debian/Ubuntu) when you run sudo 
[14:47] <paddatrapper> sudo passwd will change the root password without prompting for original
[14:48] <jerit> but that means nobody knows what root password is so whats the point of it if you can get into an account that's on sudo list?
[14:48] <paddatrapper> exactly why that list should be as short as possible
[14:49] <paddatrapper> sudo also allows for more auditablility through logs and things when there are multiple users
[14:52] <jerit> server broke... who did it? *slaps sudoer over the head with a wet fish*
[14:57] <paddatrapper> lol, exactly!
[15:01] <jerit> playboy.co.za is seriously slow to load
[15:01] <jerit> think they need to get onto a more custom system rather than WP
[15:01] <jerit> maybe something with a bit more focus
[15:07] <magespawn> i am off chat later all
[15:11] <superfly> jerit: root has no password so that you can't log in as root. When you need root, use sudo to gain privileges for that command. This is better security. 
[16:05] <nsnzero> good evening all
[16:06] <jerit> superfly I don't understand... if using sudo allows me to do everything that root can do and root is inaccessible, why have root at all?
[16:07] <jerit> seems to me it is then, defunct or otherwise has no purpose
[16:09] <paddatrapper> jerit: You can only not login as root. the user root is still used extensively in a linux system - things like running system daemons would not be possible if root did not exist
[16:15] <nsnzero> to root or not to root 
[16:17] <nsnzero> jerit you can only run root if you are in the sudoers list - is a proctection mechanism for multiuser environments born out of the fact that unix / linux was create3d to 
[16:18] <nsnzero> run a server with other user connecting with simple terminals
[17:14] <superfly> paddatrapper: btw, as of the 21st I am a DM
[18:00] <paddatrapper> superfly: congratulations! 
[18:02] <jerit> a DM?
[18:02] <jerit> and also, you're not 21 yet?
[18:02] <jerit> oh, as of /the/ 21st, not /your/ 21st
[18:03] <paddatrapper> jerit: Debian Maintainer 
[20:46] <inetpro> .
[21:07] <kulelu88> Does anybody use Kate here?