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
Ophélie Gagnard
slapos.package
Commits
901b13ee
Commit
901b13ee
authored
Feb 12, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/passwd-l'
Conflicts: slapprepare/slapprepare/__init__.py
parents
ea093c7a
93663ddf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
slapprepare/slapprepare/script/slapos
slapprepare/slapprepare/script/slapos
+0
-5
slapprepare/slapprepare/slapprepare.py
slapprepare/slapprepare/slapprepare.py
+3
-0
slapprepare/slapprepare/template/sshd_config.in
slapprepare/slapprepare/template/sshd_config.in
+1
-1
No files found.
slapprepare/slapprepare/script/slapos
View file @
901b13ee
...
...
@@ -84,11 +84,6 @@ else
sed
-i
"/
${
SLAPVPN
}
/ s/^
\(
[^#]
\)
/#
\1
/g"
$SLAPOS_CONFIGURATION
/slapos.cfg
fi
# set random root password
pwgen
-sync
512 1 | passwd
--stdin
root
SLAP_INSTALL_LOG
=
/opt/slapos/slapos-install.log
while
:
;
do
...
...
slapprepare/slapprepare/slapprepare.py
View file @
901b13ee
...
...
@@ -324,6 +324,9 @@ def slapserver(config):
if
not
dry_run
:
os
.
remove
(
path
)
# Disable login by password for root
_call
([
'passwd'
,
'-d'
,
'root'
])
finally
:
print
"SlapOS Image configuration: DONE"
return
0
...
...
slapprepare/slapprepare/template/sshd_config.in
View file @
901b13ee
PermitRootLogin
yes
PermitRootLogin
without-password
AllowUsers root
AddressFamily any
...
...
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