- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tcsh used for local user but not NIS user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 09:10 AM
07-24-2002 09:10 AM
tcsh used for local user but not NIS user
Thanks for any ideas,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:00 AM
07-24-2002 11:00 AM
Re: tcsh used for local user but not NIS user
You says " have set up local users with the exact same entries as the NIS-based users and they get the correct shell" how are they look like. Last field on passwd line.
Type
#ps rather then echo $SHELL
We have all nis and local user uses tcsh and it works fine.
Check the link. Is tcsh in path
#which tcsh should return something like
# which tcsh
/usr/bin/tcsh
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:03 AM
07-24-2002 11:03 AM
Re: tcsh used for local user but not NIS user
I am root atm, and type $SHELL and it reports /sbin/sh, after typing csh $SHELL is still /sbin/sh and after typing ksh, it is still $SHELL.
If users are getting 2 shells for local and nis use, the one of 2 things is occuring.
1. The nis passwd file and local passwd file dont match
2. you probably have a link to difference in tcsh setup.
I.E. On some systems you replaced the link from /usr/bin/csh to /bin/csh with a link from /usr/local/bin/tcsh to /bin/csh
on others you may have a link from /usr/local/bin/tcsh to /bin/tcsh.
Not many variables to look at, so I hope to hear which one it is?
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 12:13 PM
07-24-2002 12:13 PM
Re: tcsh used for local user but not NIS user
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 12:21 PM
07-24-2002 12:21 PM
Re: tcsh used for local user but not NIS user
first do you have an /etc/shells which contains the valid system shells? I.E.
cat /etc/shells
/sbin/sh
/bin/sh
/usr/bin/sh
/bin/csh
/usr/bin/csh
/bin/ksh
/usr/bin/ksh
/usr/local/bin/tcsh
Next how are you formatting the NIS clients passwd file for NIS?
I use typically an entry like:
+::0:0:::
some people use
+::-1:-1:::
Missing a colon or entry may be causing the system to have difficulties with the shell.
I know the nsswitch.conf is supposed to work so that you dont need the entry +::0:0::: in passwd and +::0: in group, but I have many applications that totally bomb without it (CAD/CAM/FEA/CAE).
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 12:36 PM
07-24-2002 12:36 PM
Re: tcsh used for local user but not NIS user
Thanks for your help.
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 12:46 PM
07-24-2002 12:46 PM
Re: tcsh used for local user but not NIS user
You've done everything I'd do, and I can't think of any more reasons why it wouldn't work. BTW, which shell *do* they get? If it's /sbin/sh (the default), that kind of implies that the shell specification is being ignored.
I guess I'm to that old standby -- have you added all the NIS jumbo patches?