Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
virtinstaller
Commits
810b6efa
Commit
810b6efa
authored
Mar 10, 2016
by
Server Team
Browse files
utility to collect all ssh-keys
parent
b2de1ab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
gatherkeys.sh
0 → 100755
View file @
810b6efa
#!/bin/sh
IFS
=
,
;
for
u
in
$(
awk
-F
':'
'/sysadmin/{print $4}'
/etc/group
)
;
do
cat
/home/
$u
/.ssh/authorized_keys
;
done
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