Archive:
Month: December 2013
In chroot environment, screen works only for root
First the system has the following system mounting points /proc, /sys, /dev, /dev/shm, /dev/pts, mounted properly. However, in some OS, the file /usr/libexec/pt_chown has the permission -rws–x–x This seems not working in the chroot subsystem. By changing the permission of the file /$chroot_root/usr/libexec/pt_chown to -rwsr-xr-x screen works in chroot system.
run a list of files
command $(cat filelist)
sed replace return
sed ‘:a;N;$!ba;s/\n/ /g’ infile > outfile