nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

NIS support

This is a discussion on NIS support within the Shell scripting forums, part of the Development/Scripting category; . My requirement is to create nis users in the Solaris Domain. These users are all working on Linux Desktops. ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 09-08-2005, 02:31 PM
indan02
Guest
 
Posts: n/a
Default NIS support

. My requirement is to create nis users in the Solaris Domain. These users are all working on Linux Desktops. All these Desktops have 40 GB Disk space
Since i am running put of Disk space on the server and since this is a temperary adjustment untill the Linux Server (NIS) comes i want to create the respective users home directories on the machine they sit. But the users will be created on the SUN Domain

Ex: User1 is on Client1. So the user1 home directory will be created manually with the mkdir command. This directory will be given an entry in the auto.home map on the SUN NIS SERVER as :
user1 client1:/users/user1

Now the user1 can log in from any machine which are part of the NIS Domain and when he says "cd", he will be in his home directory(/home/user1)

2. the df -k on the linux machine looks like this :

/dev/sda3 5036316 3831744 948740 81% /
/dev/sda1 101086 8549 87318 9% /boot
none 517940 0 517940 0% /dev/shm
/dev/sda2 15116868 73132 14275832 1% /home
/dev/sda6 14080928 67772 13297864 1% /home1
/dev/hda 641798 641798 0 100% /media/cdrom

Now /dev/sda6 which is mounted on /home1 is not utilised and i want to make it as /users. I want to delete the /home1 partition and give it to /users
Can u please send me the steps
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-08-2005, 06:08 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default Re: NIS support

Quote:
Originally Posted by indan02
. My requirement is to create nis users in the Solaris Domain. These users are all working on Linux Desktops. All these Desktops have 40 GB Disk space
Since i am running put of Disk space on the server and since this is a temperary adjustment untill the Linux Server (NIS) comes i want to create the respective users home directories on the machine they sit. But the users will be created on the SUN Domain

Ex: User1 is on Client1. So the user1 home directory will be created manually with the mkdir command. This directory will be given an entry in the auto.home map on the SUN NIS SERVER as :
user1 client1:/users/user1

Now the user1 can log in from any machine which are part of the NIS Domain and when he says "cd", he will be in his home directory(/home/user1)

2. the df -k on the linux machine looks like this :

/dev/sda3 5036316 3831744 948740 81% /
/dev/sda1 101086 8549 87318 9% /boot
none 517940 0 517940 0% /dev/shm
/dev/sda2 15116868 73132 14275832 1% /home
/dev/sda6 14080928 67772 13297864 1% /home1
/dev/hda 641798 641798 0 100% /media/cdrom

Now /dev/sda6 which is mounted on /home1 is not utilised and i want to make it as /users. I want to delete the /home1 partition and give it to /users
Can u please send me the steps
First you have posted this to wrong forum topic. It should be either in SUN Solaris or Linux. Please next time you post it make sure it is in correct topic forum

Second, I'm not getting what you want.

1) Do you want SUN OS as NIS server and all linux client as NIS client with all home dirs maped to some NFS servere? Is that you want?

2) If you want to mount /home1 to /users then create

Code:
mkdir /users
And make changes in /etc/fstatb and /dev/sda6 will be mounted on /users

Let me know above then we can continue
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Wordpress gd php support raj Linux software 2 03-23-2007 04:56 AM
Centos 4.2 multi languages support nikale Linux software 4 01-15-2007 07:47 AM
How to add Macromedia Plug-in - Flash support to firefox Rob Linux software 1 12-08-2005 02:10 PM
NIS Support indan02 Solaris/OpenSolaris 0 09-09-2005 06:00 PM
Solaris 10 NIC support weichong78 Solaris/OpenSolaris 1 03-02-2005 11:37 AM


All times are GMT +5.5. The time now is 06:52 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36