User User name Password  
   
Monday 17.2.2025 / 03:24
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > software, operating systems and more > linux - general discussion > help with linux shell script
Show topics
 
Forums
Forums
Help with Linux Shell Script
  Jump to:
 
Posted Message
wilson735
Newbie
_
5. February 2009 @ 09:45 _ Link to this message    Send private message to this user   
I'm interested in writing a (hopefully) simple Linux Shell Script.
Upon shutdown of the system (or upon reboot), I would like the script to automatically reset any changes made during that session. This includes files saved to the hard disk as well as any configuration changes. I would also like the script to be run only with guest accounts, the administrative account would not have the script run.

Can anyone help me out? I'm not even sure where to start.
OzMick
Suspended permanently
_
5. February 2009 @ 13:12 _ Link to this message    Send private message to this user   
Ubuntu has this built in as of 8.10, you can use the user switcher to fire up a disposable guest account.

I don't think it is entirely simple, but you'd be able to look at the source code that the Ubuntu method runs on. You'd be on your own, nobody here would know where to look for that code.
afterdawn.com > forums > software, operating systems and more > linux - general discussion > help with linux shell script
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork