01-25-2013
You'll have to log in as root, or somehow contrive to get root access after logging in.
Even the slightest insecurity in the system you use could have dire consequences.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies
2. UNIX for Dummies Questions & Answers
Sirs,
What is a shadow file,How it be usefull.For my project i have to keep the password in shawdow file also i am doing in php how can i do it.
Thanks in advance,
ArunKumar (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
3. UNIX for Advanced & Expert Users
what does 'x' in the encrypted password field in /etc/shaodw file represent? (3 Replies)
Discussion started by: jbashir
3 Replies
4. Solaris
my etc/shadow file showing *LK* for a particular user.. can u tell me under which circumstances a user is locked (5 Replies)
Discussion started by: vikashtulsiyan
5 Replies
5. UNIX for Advanced & Expert Users
Does anyone know what "!!" represents in the password field of the /etc/shadow file? :confused: (6 Replies)
Discussion started by: avcert1998
6 Replies
6. UNIX for Dummies Questions & Answers
I see conflicting definitions for the shadow file. For Solaris, what are the fields please? Thanks. (3 Replies)
Discussion started by: DavidS
3 Replies
7. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
8. Shell Programming and Scripting
Hi,
In shadow file
smithj:Ep6mckrOLChF.:10063:0:99999:7:::
3rd Field 10063 indicates the number of days (since January 1, 1970) since the password was last changed.
I want to get the result with script the date on which the password was last changed in YYYY-MM-DD format.
can... (8 Replies)
Discussion started by: pinnacle
8 Replies
9. UNIX for Dummies Questions & Answers
As a part of linux hardening
In shadow file all Application accounts which are not locked must contain only an asterisk “*” in the Passwd field.
But how would i do it by using command?
Is there any way other than modifying shadow file to accomplish this task? (3 Replies)
Discussion started by: pinga123
3 Replies
halt(8) System Manager's Manual halt(8)
NAME
halt - Stops the processor
SYNOPSIS
/usr/sbin/halt [-d] [-l] [-n] [-q] [-y]
DESCRIPTION
If other users are logged into the system, or if the system is operating at a multiuser run level, use the /usr/sbin/shutdown -h command to
halt the system. If only the root user is logged in, and you do not plan to restart the system immediately, use the halt command.
The halt command writes data to the disks and then stops the processor(s), but does not reboot the machine. You must be the root user to
run this command.
When the system displays the ....Halt completed.... message, you can turn off power to the machine.
If the command is invoked without the -l, -n, or -q flag, the halt program logs the shutdown using the syslogd command and places a record
of the shutdown in the login accounting file, /var/adm/wtmp. Using the -q and the -n flags imply the -l flag.
FLAGS
Generates a crash dump of the system before halting it. Can be used with any other flag. Does not log the halt using syslog Prevents the
sync before stopping, and does not log the halt using syslog Causes a quick halt, does not log the halt using syslog, and makes no attempt
to kill all processes Halts the system from a dial-up operation
EXAMPLES
To halt the system without logging the shutdown in the log file, enter: halt -l To halt the system quickly, enter: halt -q To halt the sys-
tem quickly, also leaving a crash dump for the savecore command, enter: halt -d -q To halt the system from a dial-up, enter: halt -y
FILES
Specifies the command path Specifies the syslog daemon Specifies the login accounting file
RELATED INFORMATION
Commands: fasthalt(8), reboot(8), savecore(8), shutdown(8), syslogd(8)
Functions: reboot(2), sync(2), syslog(3) delim off
halt(8)