Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
1f349195
Commit
1f349195
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Tweak output formatting a little bit.
parent
31a01156
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/slurm_unit/slurmctld/security_2_1.csh
+15
-10
15 additions, 10 deletions
testsuite/slurm_unit/slurmctld/security_2_1.csh
with
15 additions
and
10 deletions
testsuite/slurm_unit/slurmctld/security_2_1.csh
+
15
−
10
View file @
1f349195
...
...
@@ -11,39 +11,44 @@ ls -ld $DEPLOY/bin/squeue
ls -ld $DEPLOY/bin/scontrol
ls -ld $DEPLOY/bin/scancel
ls -ld $DEPLOY/sbin/slurm*
echo ""
echo "Insure that configuration directory and files are not world writable"
ls -ld $CONFIG
ls -l $CONFIG
echo ""
echo "Insure that configured files are not world writable"
grep Prolog $CONFIG/slurm.conf
grep
"
Prolog
="
$CONFIG/slurm.conf
ls -ld /etc/slurm/prolog
ls -ld $DEPLOY/sbin/slurm_prolog
grep Epilog $CONFIG/slurm.conf
echo ""
grep
"
Epilog
="
$CONFIG/slurm.conf
ls -ld /etc/slurm/epilog
ls -ld $DEPLOY/sbin/slurm_epilog
echo ""
echo "Both Job Keys are not world readable"
echo "Private Key must not be world readable too"
grep JobCredential $CONFIG/slurm.conf
grep
"
JobCredential
PrivateKey="
$CONFIG/slurm.conf
ls -ld /etc/slurm/slurm.key
echo ""
grep "JobCredentialPublicCertificate=" $CONFIG/slurm.conf
ls -ld /etc/slurm/slurm.cert
echo ""
echo "Plugin directory and its contents must not be world writable"
grep PluginDir $CONFIG/slurm.conf
grep
"
PluginDir
="
$CONFIG/slurm.conf
ls -ld /usr/lib*/slurm
ls -l /usr/lib*/slurm
echo ""
echo "Spool and log files must be not be world writeable"
grep SlurmdSpoolDir $CONFIG/slurm.conf
grep StateSaveLocation $CONFIG/slurm.conf
grep SlurmctldLogFile $CONFIG/slurm.conf
grep SlurmdLogFile $CONFIG/slurm.conf
grep JobCompLog $CONFIG/slurm.conf
grep
"
SlurmdSpoolDir
="
$CONFIG/slurm.conf
grep
"
StateSaveLocation
="
$CONFIG/slurm.conf
grep
"
SlurmctldLogFile
="
$CONFIG/slurm.conf
grep
"
SlurmdLogFile
="
$CONFIG/slurm.conf
grep
"
JobCompLog
="
$CONFIG/slurm.conf
ls -ld /usr/local/tmp/slurm/bgl
ls -l /usr/local/tmp/slurm/bgl
ls -ld /var/log/slurm*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment