NIS user creation


 
Thread Tools Search this Thread
Operating Systems Solaris NIS user creation
# 1  
Old 09-28-2011
NIS user creation

Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility?


Please do the needful................................
# 2  
Old 09-29-2011
Hi,

You should man the nistbladm command, it should help you doing what you want Smilie
# 3  
Old 09-29-2011
Hi,
In our environment we are not using NIS+ instead we are using NIS and my question is like whether we can edit all these file with "enis" utility or not?
Anyone Please help me with this..........................................
# 4  
Old 09-29-2011
I've never heard of "enis" before. I use NIS and NIS+ on a daily basis and we finally ended up with some scripting to easily do what we need but no such thing as "enis". Is this some kind of tool ?
# 5  
Old 09-29-2011
No its not a tool but a utility used in my project. They edit the passwd,group,aliases,auto.home files with this like

$which enis
/local/sbin/enis

$enis passwd

Do you want to check these changes first?[y/N]? -------> press enter to check the changes first.
Press any key to continue? ------------> press any key.
then fill the syntax as per request
usernameSmilieasswd:uid:gid:GCOS:homedir:loginshell


finally save this
:wq!

Do you want to save these changes?[Y/N]? Y

Do you want to "make passwd" [y/N]?

once you press YES here it updates the maps in the master server automatically. This is the scenario which is confusing me a bit so i posted this to take help from seniors like you.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Deleting NIS user Solaris 8

ypcat passwd | grep "user" - shows the user userdel "user" says "user does not exist" What am I doing wrong? (1 Reply)
Discussion started by: psychocandy
1 Replies

2. Red Hat

Remove NIS user under RHEL

Hi, I can't delete an NIS user. Does it sound too simple for you? :( Here is the result: nis_server# ypcat passwd | grep heisgone heisgone:xxxxxx:1000:200:He is gone:/home/heisgone:/usr/bin/ksh nis_server# userdel heisgone userdel: error deleting password entry userdel: error deleting... (1 Reply)
Discussion started by: aixlover
1 Replies

3. Solaris

create user in NIS+

i want create user in NIS+ with root previligation. Someone please provide full steps. (1 Reply)
Discussion started by: Navkreddy
1 Replies

4. UNIX for Dummies Questions & Answers

NIS user in local group

I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account. The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies

5. Red Hat

User creation

Hi Thanks in advance. How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies

6. Solaris

nis user

my qustion is, nis is centralised server.how to login nis user in client system in console (CDE)login (2 Replies)
Discussion started by: tirupathi
2 Replies

7. Shell Programming and Scripting

NIS User UID Change

Hi All, I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID. If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies

8. UNIX for Dummies Questions & Answers

Solaris 9 NIS user creation issue

Helloo to all... what is the correct way to assign a password to a new NIS user on a NIS master server? When I the following: useradd -s /bin/bash -d /export/home/username -m username The user get created fine but when I try to assign a password I get: #passwd username... (0 Replies)
Discussion started by: GLJ@USC
0 Replies

9. UNIX for Dummies Questions & Answers

NIS + adding a new user

I'm setting up NIS+ on Solaris 8 for Intel. None of the books I have explain how to add a new user in the NIS+ envoirnment. Can somebody explain this and are there any url's to get more info. I have populated the nis tables and can do an niscat of the passwd table. There is an nisgrpadd command... (2 Replies)
Discussion started by: txpjl
2 Replies
Login or Register to Ask a Question