12-21-2016
Do i need to boot into init 1 or single user mode for this operation?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm having a problem with my /export/home directory. A few of my users are getting superblock problems when they try to save files. what's something I can do to fix the problem? I'm running Solaris 7 on an Intel so no Open Boot Prom... any help would be great. thanks..
,AP (2 Replies)
Discussion started by: Anthony
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All...
I have never really touched any form of unix so any help would be appraciated.
I am looking at creating/building another PC to add to my network for storage purposes only.
Would unix be the best OS to use in this situation as all I have available to me is a very low end PC.
As... (10 Replies)
Discussion started by: Merlyn
10 Replies
3. Solaris
Hi Guys,
Thanks for taking the time to read the problem i having outlined below:
Before i go into the problem can you please tell me what the following means?
a. "dt" stands for and what does it means?
Configuration Below:
1x Unix Server
2x Unix Terminals
(both systems are... (3 Replies)
Discussion started by: tlee
3 Replies
4. Filesystems, Disks and Memory
Hi,
Can I do the following:
On SunOS 5.8
/etc/vfstab:
remote-host:/Volumes/webdata - /export/home/webdata nfs - yes rw,vers=3,soft,intr,bg,timeo=600
In /etc/auto_direct:
/home/science $HOST:/export/home/webdata/science
/home/science-edu ... (2 Replies)
Discussion started by: bloyall
2 Replies
5. UNIX for Dummies Questions & Answers
please could someone explain what is /export/home used for ? (1 Reply)
Discussion started by: venhart
1 Replies
6. Solaris
Friends,
I am new to Solaris, but familiar with Linux. Could you throw some light on the need for /export/home directory in Solaris.
In Linux, the default home directory for a normal user is /home/<username>. If domain concept is implemented, then the /home directory of server will be mounted... (4 Replies)
Discussion started by: saagar
4 Replies
7. Solaris
Hello all,
I am trying to set quotas on /export/home filesystem for some of our users on a Solaris Zone I know that you would be redirecting me to some of the documentation pages, but I have already done that.
The /export/home on the Zone is a Veritas FS and I cannot see an entry for... (4 Replies)
Discussion started by: grajp002
4 Replies
8. Solaris
Hi all
i am using solaris 10, i am creating user with
useradd -d/home/user -m -s /bin/sh user
user is created with in the following path
/export/home/user (auto mount)
i need the user to be created like this
(/home as default home directory )
useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies
9. Red Hat
Hello,
I've inherited an NFS setup that allows external servers to write to an NFS share on a Centos box. Here is an example line from /etc/exports (there are four entries that only are different based on server IP adress).
/exports/foobar... (4 Replies)
Discussion started by: KickstartUF
4 Replies
10. Solaris
Hello.
I have a solaris box with several local disks and several come from SYMMETRIX storage. Is there any way to tell format (or other util) to show only local disks? (6 Replies)
Discussion started by: urello
6 Replies
LEARN ABOUT REDHAT
sulogin
SULOGIN(8) Linux System Administrator's Manual SULOGIN(8)
NAME
sulogin -- Single-user login
SYNOPSIS
sulogin [ -e ] [ -p ] [ -t timeout ] [ tty-device ]
DESCRIPTION
sulogin can be invoked by init(8) when the system goes into single user mode (this is done through an entry in inittab(5)). Init also tries
to execute sulogin when it is passed the -b flag from the bootmonitor (eg, LILO).
The user is prompted
Give root password for system maintenance
(or type Control-D for normal startup):
sulogin will connected to the current terminal, or to the optional device that can be specified on the command line (typically /dev/con-
sole).
If the -p flag was set, the single-user shell will be invoked with a dash as the first character in argv[0]. That will cause most shells to
behave as a login shell. The default is not to do this, so that the shell will not read /etc/profile or $HOME/.profile at startup.
After the user exits the single-user shell, or presses control-d at the prompt, the system will (continue to) boot to the default runlevel.
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.
This is very valuable together with the -b flag to init. To boot the system into single user mode, with the root file system mounted
read/write, using a special "failsafe" shell that is statically linked (this example is valid for the LILO bootprompt)
boot: linux -b rw sushell=/sbin/sash
FALLBACK METHODS
sulogin checks the root password using the standard methods first. If the -e option was specified, sulogin examines the next files to find
the root password. If they are damaged, or non-existant, it will use fallback methods that even go so far as to provide you with a shell
prompt without asking for the root password if they are irrepairably damaged.
/etc/passwd,
/etc/shadow (if present)
AUTHOR
Miquel van Smoorenburg <miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
11 Sep 2000 SULOGIN(8)