diff options
| author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-09 20:31:04 +0000 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-06-09 20:31:04 +0000 |
| commit | e27c2203ef8f4801c7515a5eef08327a2e85d946 (patch) | |
| tree | 96b0c75f77fb1b9c676924cf475ab95da642c96a /rc/bin/inst/authsetup | |
| parent | 474df964241d6c844237a9625eae904ac61aedc4 (diff) | |
| download | plan9front-e27c2203ef8f4801c7515a5eef08327a2e85d946.tar.xz | |
ask for nvram and 9fat partitions
Diffstat (limited to 'rc/bin/inst/authsetup')
| -rwxr-xr-x | rc/bin/inst/authsetup | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/rc/bin/inst/authsetup b/rc/bin/inst/authsetup deleted file mode 100755 index ccddc00ec..000000000 --- a/rc/bin/inst/authsetup +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/rc - -# desc: invalidate nvram -# prereq: systype copydist - -nvram=(/dev/sd*/nvram) -nvram=$nvram(1) - -switch($1){ -case go - echo 'trust, but verify' >$nvram - - echo - echo 'You will be asked to enter an authid, authdom, secstore key,' - echo 'and password upon next boot. The authid is the hostowner.' - echo 'The authdom is the domain from your network configuration.' - echo 'The secstore key and password should be a secret password' - echo 'of eight characters or greater in length. On an auth server,' - echo 'the password will be used to encrypt the user database' - echo '/adm/keys' - echo - - authsetup=done - export authsetup -case checkdone - if(~ $syst cpu && test -w $nvram && ! grep -s trust $nvram){ - authsetup=ready - export authsetup - } -} |
