Skip to content

Commit

Permalink
added rm of old keytab file to script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathis-marcotte committed Jan 9, 2025
1 parent 6997273 commit 6c17c94
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions output/docker-stacks-datascience-notebook/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/jupyterlab-cpu/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/jupyterlab-pytorch/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/jupyterlab-tensorflow/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/remote-desktop/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/rstudio/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions output/sas/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down
5 changes: 5 additions & 0 deletions resources/common/ktutil-keytab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
mkdir -p ~/krb5
cd ~/krb5

#clean up from previous run(or else it appends to the file instead of replacing it)
if [ -f ./client.keytab ]; then
rm ./client.keytab
fi

# gets the user's username (legacy AD)
read -p "Username(ex. marcoma):" user_name

Expand Down

0 comments on commit 6c17c94

Please sign in to comment.