To Everyone,
I have several LFD”S of employees that are no longer with the company, and I would like to remove them from my Profitool System. Can anyone give me a detailed way to safely remove them.
Thanks,
Paul Miller
Computer Operator
Weddle Bros. Construction Companies
1201 West Third Street
Bloomington, Indiana 47402
Office: 812-339-9500
Cell: 812-327-6483
Paul,
Did anyone ever get back to you on this issue?
Tom
You received this message because you are subscribed to the Google
Groups "Profitool User Group" group.
To post to this group, send email to PT...@ptug.org
To unsubscribe from this group, send email to
PT_Users+u...@googlegroups.com
For more options, visit this group at
http://www.ptug.org
Paul,
Well, I was hoping everyone would chime in and I could learn some new tricks. Since that hasn’t happened, I’ll tell you what I do, it might not match what you need to do, if you’re on a different Operating System, etc. We run on RedHat Enterprise Linux, v 5.5.
1. I usually disable users for at least 30 days before deleting them, to protect myself from typos, and also in case they come back that fast. To do this, go to the linux prompt (you can get there from inside Profitool by using the SA UNIX command.) As root, type usermod –L username to change the user’s password such that they can’t login. If you do end up needing to reinstate the user, type usermod –U username to set the password back to what the user had. For more information on the usermod command, type man usermod. If you don’t have root access, you may need to use the sudo command: sudo /usr/sbin/usermod -L username
2. Clean out the user’s report queue. Go to SA CLEAN QUEUE and enter the lfd, and today’s date. Profitool will complain WARNING: Very close to today's date. RETURN to proceed, '^' or 'BANG' to exit. This is probably not a necessary step at all, since you’ll be deleting the user’s home directory later, but I like to be tidy.
3. Remove the user from the PTSA table. From the linux prompt, type ptsa, then L for lfd table, and D to delete the user. This is also not a necessary step, since it will be moot after the user’s account has been deleted. I do it anyway, for a couple of reasons: To clean out the user’s security in Profitool, I temporarily give them cmissa access and I want to make sure they can’t login to profitool in that moment, and I also feel like it’s better to clean up all the loose ends.
4. Remove the user account. To delete the user account, as root, at the linux prompt, type userdel –r username which will normally also delete the user’s home directory. If it doesn’t, you will get the message userdel: /home/username not owned by username, not removing. In that case, you can delete the home directory by typing rm -rf /home/username. **** Be very careful with this command – the “f” flag tells the system not to prompt you for each file deletion, so you can break things if you don’t type everything exactly correctly. ****
5. Finally, clear out the user’s Profitool security. If you run a SA SECURITY LIST at this point, you will see that the Profitool security for this user is still in effect, even though the user can’t login anymore. To clean this up, go to SA COPY SECURITY and copy from a user that has no range security to the user you’re deleting. I use my user account to do this, since my security is like CMISSA, and I have no range security. Then go to SA SECURITY and pull up the user and delete the like CMISSA from the user. Now, if you run a SA SECURITY LIST, the user will not show up at all.
Have fun!
Eve Stephen
John J. Kirlin, LLC
From: pt_u...@googlegroups.com [mailto:pt_u...@googlegroups.com]
On Behalf Of Paul Miller
Sent: Monday, May 21, 2012 2:45 PM
To: pt_u...@googlegroups.com
Subject: {PTUG} - Removing LFD's of Old Employees
To Everyone,
You received this message because you are subscribed to the Google
Groups "Profitool User Group" group.
To post to this group, send email to PT...@ptug.org
To unsubscribe from this group, send email to
PT_Users+u...@googlegroups.com
For more options, visit this group at
http://www.ptug.org