14 Jan
2000
14 Jan
'00
15:52
Use Yast's user manager to change the UID. Then apply this script (chrdown) to the home directory of the user: #!/bin/sh DIRNAME=$1 OLDOWN=$2 NEWOWN=$3 find $DIRNAME -print -user $OLDOWN \( -type f -o -type d -o -type l \)\ | /usr/bin/awk -v NEWOWN=$NEWOWN '{ print "/bin/chown " NEWOWN " " $1 }'\ | /bin/sh Example: # ./chrdown /home/frank 500 1250 -- Rafael Herrera -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/