9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
2. Shell Programming and Scripting
Hi.
I inject my tracklogin.sh script in the profile of each user.
$ more .profile
./tracklogin.sh
# This is the default standard profile provided to a user.
MAIL=/usr/mail/${LOGNAME:?}
bash-3.2$ more tracklogin.sh
#!/bin/bash
tdate=$(date +"%d%m%y")
mkdir -p /tmp/root_log... (20 Replies)
Discussion started by: mohtashims
20 Replies
3. AIX
Hi,
i am able to login to AX server thru console but not able to login directly thru server.
also the server is not ping-able with other server.
filesystem is fine. and OS version is AIX 5.3.
please let me know if you need any specific log.
thx in advance.
Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies
4. UNIX for Dummies Questions & Answers
Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies
5. UNIX for Dummies Questions & Answers
What is the command to list all UNIX system login accounts?
What is the command to list all system password parameters for UNIX(minimum length, complexity,age, invalid lockout attempts, expiration date , user inactivity lockout) (1 Reply)
Discussion started by: ma466
1 Replies
6. HP-UX
Hi
I can neither able to login on console with my user ID nor with root user on HP-UX 9000/800 v11.11. I am putting the correct Password.While my colleague can login as his user on console. What is the reason that I can't login to console?
Pl. help & thanks in advance.
Mike (5 Replies)
Discussion started by: Mike1234
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
Can somebody give me some information on System V & Berkley's Unix formats.
Any link will be helpful.
thanks (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
8. Shell Programming and Scripting
How can I find which version of Awk is installed? OpSystem is HPUX 11.x
I am getting an error when trying to use the keyword nextfile and I dont know why! (Well, I can only assume that I have am using a version of Awk that does not support nextfile. However, according to O'Reilly, nextfile is... (3 Replies)
Discussion started by: google
3 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am very new to Unix and already have a problem... My predecessor didn't note down the username and password to login to the console of an HP D Class 9000 enterprise server we have. I was wondering whether there is any way to bypass this console login screen in Unix... If not is there... (1 Reply)
Discussion started by: RMadjitey
1 Replies
patchmedia(1M) System Administration Commands patchmedia(1M)
NAME
patchmedia - modify Solaris media with patches and packages
SYNOPSIS
/usr/bin/patchmedia -d media-root [-v] [-o iso] [-l label]
pkg_or_patch [pkg_or_patch ...]
DESCRIPTION
The patchmedia utility takes a list of patches and packages as input and updates the install miniroot in media-root (the root directory of
an on-disk image of a Solaris installation media) to include the specified patches and packages. These patches and packages are also placed
in a subdirectory called DU under the Solaris install image. For example:
media-root/Solaris_10/DU
When booting a system from the updated media, the patches and packages will be part of the booted Solaris image. They will also be applied
to the target system being installed at the end of the installation process.
If -o is specified, a bootable ISO image is created in the file media.iso that contains the Solaris install media. The ISO image can then
be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (The latter is not a SunOS man page.)
OPTIONS
The following options are supported:
-d media-root
Top-level directory of on-disk image of Solaris installation media. This is option must be specified.
-o iso
Create a Solaris ISO image of media-root.
-l label
Label/volume name of the ISO image (if -o option is specified). If -o is not specified, the name of Solaris directory under media-root,
for example, Solaris_10, will be used.
-v
Verbose. Multiple -v options increase verbosity.
OPERANDS
The following operands are supported:
pkg_or_patch [pkg_or_patch ...]
One or more patches or packages (you can have both patches and packages in a single command) with which the Solaris installation media
media-root will be updated.
EXAMPLES
Example 1 Updating a Solaris Install Image with Patch and Package
The following command updates the Solaris install image in s10u1 by adding patch 123456-07 and package SUNWfoo.
# /usr/bin/patchmedia -d s10u1 SUNWfoo 123456-07
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
cdrw(1), mkcd(1M), attributes(5)
mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page)
SunOS 5.11 29 Jul 2008 patchmedia(1M)