/[smecontribs]/rpms/smeserver-virtualbox/contribs10/smeserver-virtualbox.spec
ViewVC logotype

Diff of /rpms/smeserver-virtualbox/contribs10/smeserver-virtualbox.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by trevorb, Wed Oct 19 02:12:56 2022 UTC Revision 1.5 by trevorb, Thu Oct 20 04:48:36 2022 UTC
# Line 1  Line 1 
1  %define name smeserver-virtualbox  %define name smeserver-virtualbox
2  %define version 5.2  %define version 5.2
3  %define release 2  %define release 3
4  %define rpmver 5.2  %define rpmver 5.2
5  Summary: smserver rpm to install VirtualBox  Summary: smserver rpm to install VirtualBox
6  Name: %{name}  Name: %{name}
# Line 25  Patch0: smeserver-virtualbox-5.2-move_vb Line 25  Patch0: smeserver-virtualbox-5.2-move_vb
25  smserver rpm to install VirtualBox-5.2  smserver rpm to install VirtualBox-5.2
26    
27  %changelog  %changelog
28    * Thu Oct 20 2022 Trevor Batley <trevor@batley.id.au> 5.2-3.sme
29    - remove storage of vbox password
30    
31  * Wed Oct 19 2022 Trevor Batley <trevor@batley.id.au> 5.2-2.sme  * Wed Oct 19 2022 Trevor Batley <trevor@batley.id.au> 5.2-2.sme
32  - change vbox user to system user and change the home directory  - change vbox user to system user and change the home directory
33    
# Line 85  else Line 88  else
88      /sbin/e-smith/db accounts set vbox system Description "VBox runtime user"      /sbin/e-smith/db accounts set vbox system Description "VBox runtime user"
89      useradd -c "VBox runtime user" -d /home/vbox -m -N -s /bin/bash -g vboxusers vbox      useradd -c "VBox runtime user" -d /home/vbox -m -N -s /bin/bash -g vboxusers vbox
90      mkdir /home/vbox/.virtualbox      mkdir /home/vbox/.virtualbox
     cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32 > /home/vbox/.virtualbox/vbox.passwd  
     cat /home/vbox/.virtualbox/vbox.passwd  | passwd --stdin vbox  
91  fi  fi
92    
93  %preun  %preun


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed