Re: Hide password or Prompt for password

2014-02-04 Diskussionsfäden Prunk Dump
2014-02-03 Toomas Tamm tt-...@kky.ttu.ee: On Mon, 2014-02-03 at 14:41 +0100, Prunk Dump wrote: What do you thinks about this method ? 1) I generate a ssh public key on the FAI server. You always generate a key-pair: private and public. It is irrelevant how you deliver a public key,

Re: Hide password or Prompt for password

2014-02-03 Diskussionsfäden Toomas Tamm
Hello! On Sat, 2014-02-01 at 09:43 +0100, Prunk Dump wrote: It's true that there is no 100% secure way to send passwords to clients ! But SSH key are very secure and they are greatly sufficient for my network. That was not my point. What I was trying to say was, that if you can not

Re: Hide password or Prompt for password

2014-02-03 Diskussionsfäden Toomas Tamm
On Mon, 2014-02-03 at 14:41 +0100, Prunk Dump wrote: What do you thinks about this method ? 1) I generate a ssh public key on the FAI server. You always generate a key-pair: private and public. It is irrelevant how you deliver a public key, because, by its nature, it is not secret. ssh

Re: Hide password or Prompt for password

2014-02-01 Diskussionsfäden Prunk Dump
On Fri, 2014-01-31 at 10:48 +0100, Prunk Dump wrote: So is there a way to send the samba4password securely to the clients ? This is the main samba root password ! A couple of years ago, there was a discussion on this list about sending secret information (such as crypto keys and passowrds)

Hide password or Prompt for password

2014-01-31 Diskussionsfäden Prunk Dump
Hello, I'm the network administrator of a French high school and I use FAI to install all my Samba4 linux clients. The problem is that with Samba4 the host need to join the domain with a command like : net ads join -U administrator%samba4password If I put this command in the /srv/fai/script/

Re: Hide password or Prompt for password

2014-01-31 Diskussionsfäden Toomas Tamm
On Fri, 2014-01-31 at 10:48 +0100, Prunk Dump wrote: So is there a way to send the samba4password securely to the clients ? This is the main samba root password ! A couple of years ago, there was a discussion on this list about sending secret information (such as crypto keys and passowrds) to

Re: Hide password or Prompt for password

2014-01-31 Diskussionsfäden John G. Heim
Ideally, is this possible to be prompted for this password by FAI when installing the clients ? You can do this by reading from /dev/console. Here is a perl code segment that does more than just what you're asking about. But you should be able to get the jist of it from this code. The