Re: NIS with Linux and Sun: Environment
From: Michael Laajanen (michael.laajanen.no-spam._at_telia.com)
Date: 02/22/04
- Next message: Geoff Lane: "Re: Trusted solaris?"
- Previous message: cat: "Re: General Discussion Help"
- In reply to: Rick Denoire: "NIS with Linux and Sun: Environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 22 Feb 2004 18:37:17 GMT
HI,
Rick Denoire wrote:
> Hello
>
> I am integrating some Linux (RH AS 2.1) clients in a Sun (2.7) NIS
> domain. Some difficulties arise related to the different environments
> needed depending on the host from which the user is logging in.
>
> I seems that the /etc/profile and the $HOME/.profile and a lot other
> shell related files have to be adapted to handle environment
I have a common global bash_profile, just MUST use bash tcsh is not
available via a Redhat system this due to stupid implementation is GNOME
login where they have hardcoded bash and they refuse to fixed it I have
filed abug on this years ago!!!
So in the global file I have a switch to set PATH accordingly to
platform, I also have make a common platform indepent NFS filesystem
where I have wrappers for common tools.
> differences, checking the type of host the user is coming from.
> One striking problem is the shell set in the NIS passwd file, which
> will prevent logging in if it won't exist at the same place in the
> client. My only idea until now is to put a link on the client.
>
> I do this procedure for the first time and it seems quite prone to
> errors. For example, similar binaries on different platforms could
> create an own .dir in the user's home (like .netscape), putting files
> there that are not necessarily compatible across platforms, or files
> could be overwritten by switching platforms etc. I am looking for
> something like "best practices", "common methods", "proven solutions"
> or the like, in order not to have to test and invent everything anew.
> Shells used are csh, ksh, bash and sh.\
See above!!
>
> Any hint, recommendation or reference to pertinent documents will be
> highly appreciated.
>
But any problems with . files/dir I have not experienced but .gnome
could be a problem but if you make the Sun users stick to CDE/Openwin
you should be fine.
When you have a tool with a problem, why not make a wrapper in a comming
platform independent place, I have a /opt/system/bin for wrapper that is
NFS mounted on all platform, Solaris, Linux and NetBSD works great.
Also, I would recommend you to have some common tools of the same
version, emacs,mozilla, opera, gimp and more and so I have a
/opt/tools/bin that is platform dependent for this.
/michael
- Next message: Geoff Lane: "Re: Trusted solaris?"
- Previous message: cat: "Re: General Discussion Help"
- In reply to: Rick Denoire: "NIS with Linux and Sun: Environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|