Sat Oct 22, 2011 5:18 am
Sat Oct 22, 2011 11:46 am
Sat Oct 22, 2011 2:01 pm
Sat Oct 22, 2011 2:10 pm
jheaton5 wrote:Wouldn't it work to just copy the .* files from the old user's home dir to the new user's home dir?
for i in $(grep -r "/home/$oldname" /home/$newname/.config | awk -F":" ' { print $1 }')
do
sed -i "s/\/home\/$oldname/\/home\/$newname/g" "$i"
check_exit
done
Sat Oct 22, 2011 5:16 pm
jheaton5 wrote:Wouldn't it work to just copy the .* files from the old user's home dir to the new user's home dir?
Sat Oct 22, 2011 5:36 pm
Sat Oct 22, 2011 6:14 pm
Sat Oct 22, 2011 6:36 pm
fsmithred wrote:It's a known deficiency....
Sun Oct 23, 2011 11:48 am
su
cp -r /home/mainuser/.config /home/seconduser/
chown -R seconduser:/seconduser /home/seconduser/.config