Update and rename createdatabase.sh to prep.sh
This commit is contained in:
parent
2af46c4b94
commit
0a039896aa
@ -1,2 +1,6 @@
|
|||||||
dir=/opt/sshjump
|
dir=/opt/sshjump
|
||||||
|
username=sshjump
|
||||||
|
|
||||||
|
adduser $username
|
||||||
|
chmod -R $username:$username $dir
|
||||||
sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'
|
sqlite3 $dir/sshjump.db 'create table sshjump(host, ip, port, id);'
|
Loading…
Reference in New Issue
Block a user