On Thu, Jan 29, 2004 at 06:18:40PM +0000, steve-ss wrote:
I want to change a bunch of users home directories from /home and move them to /home/year7 but I want the username, password and directory content to remain the same. I can edit /etc/passwd and change to the new directory but how do I make the changes take effect? Unfortunately I can't use yast to do this. Thanks, Steve.
something like: cd /homr for file in *; do if [ ! -e year7 ] ; then mkdir year7 fi mv $file year7/. done then edit /etc/passwd
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. "jkinz@kinz.org" is copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html.