george.kontogiorgos Posted August 5, 2019 Posted August 5, 2019 Hello! I am trying to copy gather files from PowerPMAC to my host computer with a python script in order to automate the procedures and improve speed. Python make a system call by SCP, a program that copy files using ssh session. To avoid passing passwords in a insecure way (and for automation reasons), like sshpass, I generated a ssh key (ssh-keygen and ssh-copy-id) and a new user (non root) for PowerPMAC. My problem is when I reboot my PowerPMAC: I lost my new user and just root stay alive. Is there a way to keep new user after rebooting the system? Am I copying files on the right way or there is another possible? Thanks George
Omron Forums Support Posted August 6, 2019 Posted August 6, 2019 The Power PMAC Linux installation keeps itself clean by mounting its file system as read only most of the time and copying the contents of “/.readonly/etc” and “/.readonly/var” to “/etc” and “/var” on power up. To deal with this, the following process is used mount -o remount,rw / cp -a /.readonly/etc-tmpfs-mirror/* /.readonly/etc/ cp -a /.readonly/var-tmpfs-mirror/* /.readonly/var/ mount -o remount,ro / reboot There is also a root folder, so you can add: cp -a /.readonly/root-tmpfs-mirror/* /.readonly/root/ In case it helps, you can take a look at instructions to install the NTP debian package on PMAC. http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Application%20Notes/Network%20Time%20on%20Power%20PMAC.PDF [FILE REMOVED]
george.kontogiorgos Posted August 7, 2019 Author Posted August 7, 2019 Hi Eric! Thank you, it worked like a charm.
Recommended Posts