home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / admin / 9596 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!netnews!humesdg1
  3. From: humesdg1@netnews.jhuapl.edu (Dave Humes)
  4. Subject: Can single user mode be entered and exited from a script?
  5. Message-ID: <BzH5JL.Mz5@netnews.jhuapl.edu>
  6. Summary: Is it possible to enter and exit single user mode from a shell script?
  7. Keywords: single-user backup dump
  8. Organization: JHU/Applied Physics Laboratory
  9. Date: Fri, 18 Dec 1992 21:40:33 GMT
  10. Lines: 22
  11.  
  12.  
  13. Is there any way to bring a SunOS system to single user mode from a shell
  14. script, and have the script resume multi-user mode?  I have operators do our 
  15. backups in the evening by logging into an account that starts a script to
  16. do the backup.  It works fine, but files can be open if people are still on.
  17. I'd rather not have to give them the root password or root priviliges just to
  18. get the system into single user mode.
  19.  
  20. A related question is:  should I be worried about being in single user mode
  21. when doing backups with dump?  What's the worst that can happen by allowing a 
  22. file system to be active while doing a dump?  
  23. -- 
  24.  
  25. -------------------------------------------------------------------------------
  26. David Humes         |       Johns Hopkins University Applied Physics Laboratory
  27. (410) 792-6651      |       humesdg1@aplcomm.jhuapl.edu
  28. -------------------------------------------------------------------------------
  29. -- 
  30.  
  31. -------------------------------------------------------------------------------
  32. David Humes         |       Johns Hopkins University Applied Physics Laboratory
  33. (410) 792-6651      |       humesdg1@aplcomm.jhuapl.edu
  34.