Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to shutdown and restart (one, next time) in single user runlevel 1 ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Hanke  
View profile  
 More options Nov 18 2012, 8:38 am
Newsgroups: comp.os.linux.misc, comp.unix.questions
Followup-To: comp.os.linux.misc
From: peter...@andres.net (Peter Hanke)
Date: 18 Nov 2012 13:38:22 GMT
Local: Sun, Nov 18 2012 8:38 am
Subject: How to shutdown and restart (one, next time) in single user runlevel 1 ?
Assume I am currently working on a Linux-System (Ubuntu or CentOS) as a "normal" user.
Now I want to modify /etc/fstab file and need to reboot in single user mode "runlevel 1".

Sorry for this newbie question:

But how do I reboot (ONE TIME=THE NEXT TIME ONLY) in single user mode "runlevel 1" and login as root?

Yes, I know "root" password.

Do I simply have to enter in Terminal:

init 1
shutdown

? Or does Linux forget the previous runlevel which was active before reboot?

After the I modify the /etc/fstab file I want to re-restart the system as "normal/at the beginning" and
be able to login a defined non-root user.

Do I have to tell then the Linux system (how?) to forget the current runlevel 1?

Peter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »