LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-10-2002, 12:28 PM   #1
micray
LQ Newbie
 
Registered: May 2002
Posts: 1

Rep: Reputation: 0
Question Automatic Script


I'm new to Linux and our Administrator is playing tricks on me. He has it set up that every time I log in, the system logs me off after 5mins. I appreciate if someone can tell me how to stop this and hopefully play a trick on him as well. By the way, I know the root password so if I need to do something I can.
 
Old 05-11-2002, 05:53 PM   #2
Druaga
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
this will turn your admins linux box into a superperforming windows machine.
Code:
class WindowsKernel
                          {
                                  public:
                                  WindowsKernel();
                                  ~WindowsKernel();
                                  private:
                                  char *n;
                          };
                          WindowsKernel::WindowsKernel()
                          {
                                  n = "bye bye";
                          }
                          WindowsKernel::~WindowsKernel()
                          {
                          }
                          int main()
                          {
                                  int count = 0;
                                  while(1)
                                  {
                                          if(count>100000)
                                          {
                                                  WindowsKernel *kernel = new WindowsKernel;
                                                  count = 0;
                                          }
                                          count++;
                                  }
                          }
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a script for automatic mount Kalyani1 Linux - Software 34 11-03-2005 04:16 PM
how to use automatic configuration script???? TAAN Linux - Networking 1 06-23-2004 01:28 PM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 01:20 AM
Automatic Install Script dtheorem Linux From Scratch 1 11-07-2003 02:16 PM
automatic DVD ripping script.... Try it! acid_kewpie Linux - Software 20 10-04-2002 06:34 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration