=== MIF0 is now known as MIF === ktosiek1 is now known as ktosiek === antoine3 is now known as antoine === SynfulAck_ is now known as SynfulAck === oerheks1 is now known as oerheks === ktosiek1 is now known as ktosiek [07:19] Good morning === calcmandan_ is now known as calcmandan [12:21] Hey everyone, I am having a sudden problem to connect to my ubuntu server using sftp , I get an error vsftpd: pam_unix(vsftpd:auth): Couldn't open /etc/securetty: No such file or directory [12:21] cleary /etc/securetty doesnt exist. I am just not sure where its this comming from [12:22] I am checking sshd_config but there is no path to /etc/securetty there [13:22] Hello Ubuntu Community! [13:23] I will soon begin to work to my Ubuntu server over SSH, my question is> What do I have to 'know' and tweak in my server so I can be a good administrator?, since this server is accessible via internet? [13:37] disable password based authentication and use ssh keys [14:01] mybalzitch: Lol my server is accessed on user root with password [14:01] Imma change that to ssh keys, thanks mybalzitch! === TJ_Remix is now known as TJ- === minall is now known as Minall [16:05] i am writing a script, part of it is going to call up mysql and the login, the script will be one big line. how can i input the commands so it accounts for the mysql login? [16:05] so it will be mysql -u root -p and then the next line would ask for the password [16:07] c0fe: you could possibly put the credentials in ~/.my.cnf or have your script ask for the password interactively before calling "mysql -u root -p $PASSWORD" [16:08] sdeziel: is there a way to have it in that one big line? that would keep things simpler [16:08] passing the password as argument is more risky as other users can see it by checking the env [16:09] c0fe: read -rp "provide the root password: " PASSWORD; mysql -u root -p $PASSWORD ... [16:10] sdeziel: wouldn't that be resolved by restarting the machine? [16:11] c0fe: not sure what a reboot would solve [16:12] clearing out any credentials found in env [16:14] no, once the mysql command would be finished, the env would be "cleared". The problem is while it is running, others can observe the password which is why using ~/.my.cnf is better === jelly-home is now known as jelly === ijohnson is now known as ijohnsonlunch === ijohnsonlunch is now known as ijohnson|lunch === ijohnson|lunch is now known as ijohnson