Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Primtux-Eole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Grenoble
Primtux-Eole
Commits
e03fe782
Commit
e03fe782
authored
Jan 24, 2019
by
Metro Admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de la partie password VNC
parent
ecdc03aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
do_postinstall.sh
do_postinstall.sh
+4
-0
No files found.
do_postinstall.sh
View file @
e03fe782
...
...
@@ -39,6 +39,7 @@ echo "Récupération de la clef ssh du serveur"
tftp ecole-dc
<<
'
EOF
'
get id_rsa.pub
get secret.tgz
get vnc.passwd
quit
EOF
sshdir
=
"/root/.ssh/"
...
...
@@ -54,6 +55,9 @@ rm secret.tgz
chown
-R
root:root /etc/cifs
cd
-
mv
vnc.passwd /etc/.vnc.passwd
chown
administrateur:administrateur /etc/.vnc.passwd
chmod
600 /etc/.vnc.passwd
hostn
=
`
hostname
`
echo
"Veuillez entrer le numéro de poste"
...
...
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