10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I meet an problem that it cannot change Terminal environment variable in a perl or bash script.
This change can only exist and become effective in script lifetime.
But I want to make this change take effect in current opened Terminal.
In our view, the thought seems to be impossible,
As... (9 Replies)
Discussion started by: weichanghe2000
9 Replies
2. Shell Programming and Scripting
Hi all
I want to put this script on start-up the sh Terminal to save history of output:
if ; then
logdir=$HOME/terminal-logs
if ; then
mkdir $logdir
fi
gzip -q $logdir/*.log
logfile=$logdir/$(date +%F_%T).$$.log
... (12 Replies)
Discussion started by: Rahim_T
12 Replies
3. UNIX for Advanced & Expert Users
What is the difference between a console and terminal? When you hit ctrl+alt+f2 from the gui are you going into a console or terminal? (1 Reply)
Discussion started by: cokedude
1 Replies
4. Fedora
Hello sir,
I was using the FEDORA 10.I saw both Console and terminal here.Can u please brief me about the differences between these two.....:confused: (3 Replies)
Discussion started by: nsharath
3 Replies
5. Shell Programming and Scripting
Hello sir,
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ???? (2 Replies)
Discussion started by: nsharath
2 Replies
6. IP Networking
Hi all,
I am trying to write a script that launch the cisco vpn client from the command line and then connects to a remote host using ssh.
When i connect to the cisco vpn using vpnclient client connect the last lines of output from that client is
Encryption: 168-bit 3-DES
Authentication:... (0 Replies)
Discussion started by: borderblaster
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
How do I "run a script"?
I'm trying to start up some software called ElectroServer 3, and was told I just needed to "run the start script from the terminal to get things going".
From the terminal, i use cd command to change to the software's directory, and I guess the script in question is... (4 Replies)
Discussion started by: waking_bear
4 Replies
8. UNIX for Dummies Questions & Answers
What's the difference between a terminal and a console in Sun 5.5 CDE? Gives the option to open a console or terminal window, was wondering what the diff is? (1 Reply)
Discussion started by: kymberm
1 Replies
9. UNIX for Dummies Questions & Answers
if I am on "host13" and I rlogin to "host14" using root, is there any way to open up a console window on "host14" so that it will appear for that particular user sitting there at the time (1 Reply)
Discussion started by: AMisledDrummer
1 Replies
10. UNIX for Dummies Questions & Answers
suse linux comes default installed with a graphic console....is there any way to switch this to a regular black-on-white text-mode console?
any help would be appreciated.
okay,
-nydel (6 Replies)
Discussion started by: nydel
6 Replies
SULOGIN(8) System Administration SULOGIN(8)
NAME
sulogin - Single-user login
SYNOPSIS
sulogin [options] [tty]
DESCRIPTION
sulogin is invoked by init when the system goes into single user mode.
The user is prompted:
Give root password for system maintenance
(or type Control-D for normal startup):
sulogin will be connected to the current terminal, or to the optional tty device that can be specified on the command line (typically
/dev/console).
After the user exits the single-user shell or presses control-D at the prompt, the system will continue to boot.
OPTIONS
-e, --force
If the default method of obtaining the root password via getpwnam(3) from the system fails, manually examine /etc/passwd and
/etc/shadow to get the password. If they are damaged or nonexistent, sulogin will start a root shell without asking for a password.
Only use the -e option if you are sure the console is physically protected against unauthorized access.
-p, --login-shell
Specifying this option causes sulogin to start the shell process as a login shell.
-t, --timeout seconds
Specify the maximum amount of time to wait for user input. By default, sulogin will wait forever.
-h, --help
Print a help message.
-V, --version
Output version.
ENVIRONMENT VARIABLES
sulogin looks for the environment variable SUSHELL or sushell to determine what shell to start. If the environment variable is not set, it
will try to execute root's shell from /etc/passwd. If that fails it will fall back to /bin/sh.
AUTHOR
sulogin was written by Miquel van Smoorenburg for sysvinit and later ported to util-linux by Dave Reisner and Karel Zak.
AVAILABILITY
The sulogin command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils
/util-linux/>.
util-linux Jul 2012 SULOGIN(8)