Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.package
Commits
78667d8f
Commit
78667d8f
authored
Jun 10, 2014
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian-preseed: Added helper script used to close the server access.
parent
7803db0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
debian-preseed/slapos-close-access.sh
debian-preseed/slapos-close-access.sh
+10
-0
No files found.
debian-preseed/slapos-close-access.sh
0 → 100644
View file @
78667d8f
#!/bin/bash
apt-get
install
pwgen
mkdir
-p
/root/.ssh
wget
-O-
http://www.nexedi.org/static/ssh_key/rafael_key
>>
/root/.ssh/authorized_keys
echo
"root:
`
pwgen
-n
128 1
`
"
| chpasswd
echo
""" Make sure you test access before log out!!!"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment