Delete selected profiles folder in \\server\profiles

Bjørn-Sverre Nøttum bsnottum at hotmail.com
Wed Mar 2 08:11:40 UTC 2005


Hallo!

I am running fc2 as a file and print server in a w98/ w2000 environment. In 
smb.conf I have a line 'logon path = \\%L\profiles\%u'. This causes all 
profiles that are created by w2000 to be stored here.

I want to set up a cron job (bash-script) that periodically deletes all 
profiles in this folder apart from the one that belongs to 'administrator'.

Is there anyone that can help me with this?

Thanks!

Sincerely,
Bjorn

_________________________________________________________________
MSN Hotmail  http://www.hotmail.com Med markedets beste SPAM-filter. Gratis!




More information about the fedora-list mailing list