03-26-2002
read this
Please read this posting. I beleive that it will be enlightening.
https://www.unix.com/showthread.php?s...ghlight=reboot
Most systems support rebooting to single user mode and then changing the password if you have physical access or can remote reboot the box.
Hope this helps!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an SGI running IRIX 6.5
The prob is when i login as user
and open a file , it gives me error as "OUT OF MEMORY"
when i su or login as root . THis error disappers
I have lot of space in the System .
Thanx
DPai (7 Replies)
Discussion started by: DPAI
7 Replies
2. UNIX for Advanced & Expert Users
I am using IRIX 5.3,
When I type "man" in a UNIX text console from any machine on my network, I want to pull out the man pages from the station where they have been installed.
Would anyone know the link? I would be so greatfull. (1 Reply)
Discussion started by: Trixee
1 Replies
3. Programming
I am using IRIX 5.3,
When I type "man" in a UNIX text console from any machine on my network, I want to pull out the man pages from the station where they have been installed.
Would anyone know the link? (3 Replies)
Discussion started by: Trixee
3 Replies
4. UNIX for Dummies Questions & Answers
I just received a Sun microsystem ultra 5 for a auction, it is running sunOS version 5.7, when it boots it asks for user login and password, I dont have either, is there a way to login in as root user with out the password or is there a way to recover the password so I can get in to my system? (1 Reply)
Discussion started by: mscav219
1 Replies
5. UNIX for Dummies Questions & Answers
My first post here, and hopefully it will be one of many to come.
I am currently running multiple SGI's with different versions of Irix. I have a problem setting the minimum password length for users. I have modified the /etc/default/passwd so that
PASSLENGTH = 8
However, it still... (1 Reply)
Discussion started by: herrmag
1 Replies
6. UNIX for Dummies Questions & Answers
I have had the great fortune to get an sgi octane for free! :D I have managed to get me an OS(IRIX 6.5.19f) but I have some questions that I hope are not too simple to the gurus out there. Before I ask, I build macs and PC's and have had some experience hacking osx into old beige macs, and pcs,... (2 Replies)
Discussion started by: gheem
2 Replies
7. HP-UX
What files needs to be modified so that an user is created with null password..I have made changes in the files for aix,solaris and HP so that user can be created with password length 0(blank password)...I guess for NULL password there will be no prompt for password...and `passwd -s user` will... (1 Reply)
Discussion started by: RPG
1 Replies
8. SCO
Due to my own stupidity I managed to overwrite my /dev/root device using dd (don't ask).
Current state is
- Have current backup created using cpio (command used was 'find . -mount -depth -print|cpio -ocB > $TAPE')
- Once I realised what was happening powered off the server but this was too... (2 Replies)
Discussion started by: ok2
2 Replies
9. Ubuntu
Hi I have an Ubuntu 10.10 machine. I want to recover root password. I know it have to be done while booting but in boot shell.
I tried to do it but failed.
Please remedy my problem. (2 Replies)
Discussion started by: nixhead
2 Replies
10. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
reboot(1M) reboot(1M)
NAME
reboot - restart the operating system
SYNOPSIS
/usr/sbin/reboot [-dlnq] [boot_arguments]
The reboot utility restarts the kernel. The kernel is loaded into memory by the PROM monitor, which transfers control to the loaded kernel.
Although reboot can be run by the super-user at any time, shutdown(1M) is normally used first to warn all users logged in of the impending
loss of service. See shutdown(1M) for details.
The reboot utility performs a sync(1M) operation on the disks, and then a multi-user reboot is initiated. See init(1M) for details. On
systems, reboot may also update the boot archive as needed to ensure a successful reboot.
The reboot utility normally logs the reboot to the system log daemon, syslogd(1M), and places a shutdown record in the login accounting
file /var/adm/wtmpx. These actions are inhibited if the -n or -q options are present.
Normally, the system reboots itself at power-up or after crashes.
The following options are supported:
-d Force a system crash dump before rebooting. See dumpadm(1M) for information on configuring system crash dumps.
-l Suppress sending a message to the system log daemon, syslogd(1M) about who executed reboot.
-n Avoid calling sync(2) and do not log the reboot to syslogd(1M) or to /var/adm/wtmpx. The kernel still attempts to sync
filesystems prior to reboot, except if the -d option is also present. If -d is used with -n, the kernel does not attempt to
sync filesystems.
-q Quick. Reboot quickly and ungracefully, without shutting down running processes first.
The following operands are supported:
boot_arguments An optional boot_arguments specifies arguments to the uadmin(2) function that are passed to the boot program and kernel
upon restart. The form and list of arguments is described in the boot(1M) and kernel(1M) man pages.. If the arguments are
specified, whitespace between them is replaced by single spaces unless the whitespace is quoted for the shell. If the
boot_arguments begin with a hyphen, they must be preceded by the -- delimiter (two hyphens) to denote the end of the reboot
argument list.
Example 1: Passing the -r and -v Arguments to boot
In the following example, the delimiter -- (two hyphens) must be used to separate the options of reboot from the arguments of boot(1M).
example# reboot -dl -- -rv
Example 2: Rebooting Using a Specific Disk and Kernel
The following example reboots using a specific disk and kernel.
example# reboot disk1 kernel.test/unix
/var/adm/wtmpx login accounting file
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
mdb(1), boot(1M), dumpadm(1M), fsck(1M), halt(1M), init(1M), kernel(1M), shutdown(1M), sync(1M), syslogd(1M), sync(2), uadmin(2),
reboot(3C), attributes(5)
The reboot utility does not execute the scripts in /etc/rcnum.d or execute shutdown actions in inittab(4). To ensure a complete shutdown
of system services, use shutdown(1M) or init(1M) to reboot a Solaris system.
11 Apr 2005 reboot(1M)