- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS users not getting the shell
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
10-22-2001 04:40 AM
10-22-2001 04:40 AM
D-380 running 10.2 is a NIS client, executes all NIS commands, but when NIS user logged in profile file will be executed but does give the shell, it just hangs.nisswitch,passwd file are correct. if anybody knows solution pls respond.
ravi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 04:53 AM
10-22-2001 04:53 AM
Re: NIS users not getting the shell
Is the users $HOME NFS mounted too and this is the problem of the histfile needing to be local ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:00 AM
10-22-2001 05:00 AM
Re: NIS users not getting the shell
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:02 AM
10-22-2001 05:02 AM
Re: NIS users not getting the shell
Yes the users HOME dir is NFS mounted. it's working fine in all machines except this machine. configs of all files in all the machines are similar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:08 AM
10-22-2001 05:08 AM
Re: NIS users not getting the shell
I tried your solution before posting this problem. it's not working still
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:25 AM
10-22-2001 05:25 AM
Re: NIS users not getting the shell
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 05:44 AM
10-22-2001 05:44 AM
Re: NIS users not getting the shell
set -x in users profile file.
when logged in, profile will be executed till the end. ctrl+c,ctrl+d,ctrl+break nothing is giving us the shell.when rebooted system is NFS mounting all filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 06:06 AM
10-22-2001 06:06 AM
Re: NIS users not getting the shell
LOCKD_OPTIONS="-p 4045"
you *may* get an improvement ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 06:34 AM
10-22-2001 06:34 AM
Re: NIS users not getting the shell
commenting NFS filesystems in /etc/fstab and after reboot the NIS user can login , but home dir will not changed to user home dir since NFS filesystems are not mounted. If I mounted NFS filesystem users can't login.
any solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 06:48 AM
10-22-2001 06:48 AM
Re: NIS users not getting the shell
whitch mount options do you use?
export machine should be ok since you can mount on other systems but client options?
( fstab entry eg.)
machine:dir /dir nfs hard,intr,bg,retry=10 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 06:53 AM
10-22-2001 06:53 AM
Re: NIS users not getting the shell
1) Stop the automounter
2) Remove any entries in tmp_mnt
3) Restart the automounter
4) As root (who I assume does not have an automounted home directory), try something like ls /home/user1. This will confirm that the automounter is working.
5) As a regular user (you may need to alter/ create a user that does not have an automounted home directory), repeat step 4. I assume that this user would at least have read permission on /home/user1.
This should help you narrow down the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 07:16 AM
10-22-2001 07:16 AM
Re: NIS users not getting the shell
I think he is using hard mount not automount nfs because he says he has remove enty from /etc/fstab.
Can it be permission problem?
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 07:47 AM
10-22-2001 07:47 AM
Re: NIS users not getting the shell
If it it hard mounted home directories then I would definitely check the permissions of the mountpoint(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 08:11 AM
10-22-2001 08:11 AM
Re: NIS users not getting the shell
That is true. I would also like to see automount use if you are using nis and everyones home is on nfs.
When I start working here they had many filesystems hard mount all over the places. Finally two years ago we have start using automount. Still no one want to mess with automount.
If anything in question about automounter they ask me to take a look. I am not expert but I think If I mess it up what can maximum happens (Fireeeeeee) they are not going to kill me.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 08:12 AM
10-22-2001 08:12 AM
Re: NIS users not getting the shell
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 04:56 AM
10-23-2001 04:56 AM
SolutionNot sure if you already solved this one or not.
First determine if the problem is Automount, or NFS. You can do this by stopping automount and umounting the NFS mount for the user home directory, and then NFS mount from the command line.
Then test the NFS mount e.g. as root, can you cd and ls files, etc. If that fails, you have an NFS filesystem problem to debug against that NFS Server. Do all users mount from the same NFS Server, or from several different ones?
If they mount from differnet NFS Servers, test each one out as above.
If the NFS mount works as root, then you probably have a file locking problem w/ the NFS Server in question. Go to that NFS Server and kill rpc.statd and rpc.lockd. Then remove any entry for the failing NFS client(s) in /var/statmon/sm and sm.bak. Restart rpc.statd and rpc.lockd and see if the users can now work. If not, repeat the same procedure of clearing the status monitor directories and restarting rpc.statd and rpc.lockd on all the NFS clients.
If the above STILL fails,export the user HISTFILE to /tmp/.sh_history_$LOGNAME and test again...
I hope this helps get the problem resolved.
-> Brian Hackley