=== 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 | ||
lordievader | Good morning | 07:19 |
---|---|---|
=== calcmandan_ is now known as calcmandan | ||
maret | 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 |
maret | cleary /etc/securetty doesnt exist. I am just not sure where its this comming from | 12:21 |
maret | I am checking sshd_config but there is no path to /etc/securetty there | 12:22 |
minall | Hello Ubuntu Community! | 13:22 |
minall | 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:23 |
mybalzitch | disable password based authentication and use ssh keys | 13:37 |
minall | mybalzitch: Lol my server is accessed on user root with password | 14:01 |
minall | Imma change that to ssh keys, thanks mybalzitch! | 14:01 |
=== TJ_Remix is now known as TJ- | ||
=== minall is now known as Minall | ||
c0fe | 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 |
c0fe | so it will be mysql -u root -p and then the next line would ask for the password | 16:05 |
sdeziel | 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:07 |
c0fe | sdeziel: is there a way to have it in that one big line? that would keep things simpler | 16:08 |
sdeziel | passing the password as argument is more risky as other users can see it by checking the env | 16:08 |
sdeziel | c0fe: read -rp "provide the root password: " PASSWORD; mysql -u root -p $PASSWORD ... | 16:09 |
c0fe | sdeziel: wouldn't that be resolved by restarting the machine? | 16:10 |
sdeziel | c0fe: not sure what a reboot would solve | 16:11 |
c0fe | clearing out any credentials found in env | 16:12 |
sdeziel | 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 | 16:14 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!