users accounts that don't save data

Nathan Aubrey nathan at paysonlinux.org
Mon Mar 19 22:23:31 MST 2007


On Monday 19 March 2007, Craig White wrote:
> looking for a way to have user accounts (local or ldap) whose data is
> erased (not saved) upon logout.
>
> Are there any methods that can accomplish this?

Make sure you have it setup to create their account with pam on login, then 
when logging out edit the .bash_logout file to delete their homedir. When 
they login again, it will be re-created. Make sure everything they need to 
login is ready in the /etc/skel file, including the correct .bash_logout file


-- 

--------------------------------------------------------------
PaysonLinux User Group
Community Based Linux Support
http://www.paysonlinux.org/

Business Consulting Services,
Advanced Network and Server Design,
Security Solutions,
Process Management and Efficiency Consultations


More information about the PLUG-discuss mailing list