home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!netnews!humesdg1
- From: humesdg1@netnews.jhuapl.edu (Dave Humes)
- Subject: Can single user mode be entered and exited from a script?
- Message-ID: <BzH5JL.Mz5@netnews.jhuapl.edu>
- Summary: Is it possible to enter and exit single user mode from a shell script?
- Keywords: single-user backup dump
- Organization: JHU/Applied Physics Laboratory
- Date: Fri, 18 Dec 1992 21:40:33 GMT
- Lines: 22
-
-
- Is there any way to bring a SunOS system to single user mode from a shell
- script, and have the script resume multi-user mode? I have operators do our
- backups in the evening by logging into an account that starts a script to
- do the backup. It works fine, but files can be open if people are still on.
- I'd rather not have to give them the root password or root priviliges just to
- get the system into single user mode.
-
- A related question is: should I be worried about being in single user mode
- when doing backups with dump? What's the worst that can happen by allowing a
- file system to be active while doing a dump?
- --
-
- -------------------------------------------------------------------------------
- David Humes | Johns Hopkins University Applied Physics Laboratory
- (410) 792-6651 | humesdg1@aplcomm.jhuapl.edu
- -------------------------------------------------------------------------------
- --
-
- -------------------------------------------------------------------------------
- David Humes | Johns Hopkins University Applied Physics Laboratory
- (410) 792-6651 | humesdg1@aplcomm.jhuapl.edu
-