04-07-2002
1. Edit /etc/hosts Enter the ip first, then name of any hosts
you will be using/connecting to. Example:
10.100.50.1 sun1
10.100.50.2 sun2
2. Edit /etc/resolv.conf
domain (enter name here) leave out the ()marks
nameserver (enter name or ip here) leave out the ()marks
3. Edit /etc/nsswitch.conf
hosts dns files
4. Edit /etc/defaultdomain
(enter your domain name) leave out the ()marks
5. Edit /etc/defaultrouter
(enter name or ip here) leave out the ()marks
This is how I set up my clients, and may not be the same setup you require. Some of these files may not pre-exist, and may need to be created. Use the touch command to make a file, and vi command to edit the file. Hope it helps. Jeremie
10 More Discussions You Might Find Interesting
1. IP Networking
Downloaded and installed, when I try to execute iexplorer it responds with "iexplorer: not found", but it is right there in the directory I am in and I im logged in as root. any ideas? (3 Replies)
Discussion started by: cluettr
3 Replies
2. UNIX for Dummies Questions & Answers
I have cable and Solaris 8 (Intel Ver.) and a Compaq NC3121 Fast
Ethernet NIC
How do I connect to the internet? (3 Replies)
Discussion started by: eloquent99
3 Replies
3. Cybersecurity
i am on solaris 8 and i wish to configure internet on solaris 8 using our proxy server. How to i do that.
Hitesh Shah (1 Reply)
Discussion started by: Hitesh Shah
1 Replies
4. Solaris
Hi all
I am new to unix having played with linux for a few years (still newbie).
My problem is I am having trouble connecting to the internet. I do not seem to have an eth0 connection just a locahost.
I read on a blog post somewhere that unix uses pcn0 instead of eth0 but it seems my card... (3 Replies)
Discussion started by: skewbie
3 Replies
5. Solaris
Hello! I'm having trouble getting this to work so I ask kindly if I can get some help to get it to work, please :).
I installed Solaris 10 (nov 06) on a laptop and I been trying to get it to connect to the router (wired connection) and it doesn't work.
I have a 2wire 2700HG router that has... (5 Replies)
Discussion started by: RemoL
5 Replies
6. Solaris
Hello,
I have Solaris 10 Express, and am going to try OpenSolaris on a different computer. I need to configure and setup my wireless card, a NetGear WG311T, on my Solaris 10 machine, because I have no internet yet. Please help me get my wireless working, Thanks.
-SunPowered
Some links... (2 Replies)
Discussion started by: sunpowered
2 Replies
7. Solaris
Hi friends,i use BSNL broadband for my internet through a modem(a router) from ethernet port.i use a username and password to connect.Its dhcp .plz help me (1 Reply)
Discussion started by: santugvd
1 Replies
8. Solaris
Hi !!!!
i am very new in solaris.
at present i am using windows XP for internet connection.
ISP has given me user name and password for connecting to the internet.
it is a brodband DSL connection.
but i am unable to connect to the internet in solaris.
i am using one static ip given by the... (4 Replies)
Discussion started by: alamin
4 Replies
9. UNIX for Dummies Questions & Answers
I recently installed solaris 10 on a seperate hard disk in my desktop pc. My first hard disk is running windows xp.
I am totally new to solaris. Please help me to connect to the internet through solaris 10. I read a few threads, and re-installed solaris 10 by giving 'Yes' to the question that... (1 Reply)
Discussion started by: hari86av
1 Replies
10. Solaris
I am using Solaris 10 for a Desktop OS , also router has been configured to connect to the net , but error 404 is coming always. :eek:
I add new gateway bout that did not worked , so guessing I need to add DNS but where .:D (9 Replies)
Discussion started by: solaris_user
9 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)