1848377 Members
3624 Online
104025 Solutions
New Discussion

NIS chsh problem

 
SOLVED
Go to solution
Andrea Rossi
Frequent Advisor

NIS chsh problem

How can a NIS account change his own shell permanently?
4 REPLIES 4
Ralf Buchhold
Regular Advisor

Re: NIS chsh problem

Hello Andrea
I think you can change the shell only
in the password file on the nis server.

I hope so.

Best whishes

Ralf
Muthukumar_5
Honored Contributor
Solution

Re: NIS chsh problem

hai,

hp-ux is not having the separate command as like ypchsh. By default chsh is supporting to change the shell permanently as,

chsh -r nis login-name [shell]

see the chsh(1) man page to know more about change the shell type.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Franky_1
Respected Contributor

Re: NIS chsh problem

Hi Andrea,

the only way i can think of is to change it either in the .profile (export SHELL=) or in the .cshrc (setenv SHELL ) depending on the initial shell you're using

Regards

Franky
Don't worry be happy
Andrea Rossi
Frequent Advisor

Re: NIS chsh problem

It worked, thanks a lot.