09-30-2008
Solaris Basic Administration Scripts - I
This document contains separate shell scripts that are capable of doing some of the basic administrative tasks, so that you can simulate some of the functions like User, Group, File Management, Determining Network traffic, changing the IP of the machine etc. Each and every file given here is internally linked so that they work as a loop. They form Main Menu, Sub Menu and the respective functions. Please follow the instructions given below to make the script work effectively. Basic Instructions: 1. Copy the given scripts one at a time and edit it in VI Editor, 2. File names are already defined, so they must be saved in that name only, 3. All the files should reside under a single directory. 4. User may need to edit the first line of the script after pasting it into VI Editor. Because first few letters of the first line would always be missed while pasting it in Editor. Please ensure it.
More...
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hii alll
I need clarification regarding solaris administration what the best way to fine tune the solaris system in in sparc system.I had solaris 8 running on sunblade 1000 can i delete files from var(like what all files i can delete or remove) like wise for other slices what all i can... (1 Reply)
Discussion started by: solaris8in
1 Replies
2. UNIX for Dummies Questions & Answers
Would this be the right forum to ask basic unix administration questions relating to smitty tasks, etc? (2 Replies)
Discussion started by: NycUnxer
2 Replies
3. Solaris
Come and create a new thread to post a basic system administration command to share with all .. :)
#df -h
-- to list down mounted filesystem with the capacity
#uname -a
-- to provide brief system information (7 Replies)
Discussion started by: osca7578
7 Replies
4. Solaris
Dear All,
I am currently working as Unix Operator. I am looking forward for Unix Solaris Administration.
I need everyone's guidance on this forum, please advice me from where should i start. well i have already installed Solaris version on X86.
So please let me know what should i do to become... (9 Replies)
Discussion started by: imrankhan.in
9 Replies
5. Fedora
Hello. I am currently in a class dealing with shell scripts. I know some commands and get the basics of command line in Fedora 11. But the coding....I'm a bit lost. I was very ill for 2 weeks and missed a lot, much of which there are no notes provided.
I'm not asking you to do my homework,... (1 Reply)
Discussion started by: Feuyaer
1 Replies
6. Solaris
Hi All.....
How many maximum no of users can be created in solaris 10.0
Waiting for the reply ..... (2 Replies)
Discussion started by: sendhils13
2 Replies
7. Shell Programming and Scripting
1. Write a program 'suffix' that renames a file by adding the characters given as the second argument to the end of the name of the file given as the first argument. So.....
suffix memo1 .sv
should rename memo1 to memo1.sv.
2. Write a program called "t" that displays the time of day in... (0 Replies)
Discussion started by: rockyrajpal
0 Replies
8. Solaris
Could you please help me with a link for study guide or book for 1Z0-877 .
Thanks for your help (2 Replies)
Discussion started by: Anu_1
2 Replies
VIPW(8) System Management Commands VIPW(8)
NAME
vipw, vigr - edit the password, group, shadow-password or shadow-group file
SYNOPSIS
vipw [options]
vigr [options]
DESCRIPTION
The vipw and vigr commands edits the files /etc/passwd and /etc/group, respectively. With the -s flag, they will edit the shadow versions
of those files, /etc/shadow and /etc/gshadow, respectively. The programs will set the appropriate locks to prevent file corruption. When
looking for an editor, the programs will first try the environment variable $VISUAL, then the environment variable $EDITOR, and finally the
default editor, vi(1).
OPTIONS
The options which apply to the vipw and vigr commands are:
-g, --group
Edit group database.
-h, --help
Display help message and exit.
-p, --passwd
Edit passwd database.
-q, --quiet
Quiet mode.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shadow
Edit shadow or gshadow database.
ENVIRONMENT
VISUAL
Editor to be used.
EDITOR
Editor to be used if VISUAL is not set.
FILES
/etc/group
Group account information.
/etc/gshadow
Secure group account information.
/etc/passwd
User account information.
/etc/shadow
Secure user account information.
SEE ALSO
vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
shadow-utils 4.1.5.1 05/25/2012 VIPW(8)