Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS acceess trouble

Reply
Thread Tools Display Modes

NIS acceess trouble

 
 
S Smethurst
Guest
Posts: n/a

 
      10-03-2006, 05:34 PM
I have NIS running on an FC4 network. Ordinary users are unable to read
the passwd maps by ypcat but can read hosts maps. root can read both.
How is NIS dependent upon user permissions?
 
Reply With Quote
 
 
 
 
Patrick
Guest
Posts: n/a

 
      10-03-2006, 06:42 PM
"S Smethurst" <(E-Mail Removed)> wrote in message
news:45229f13$(E-Mail Removed)

> I have NIS running on an FC4 network. Ordinary users are unable to
> read the passwd maps by ypcat but can read hosts maps. root can read
> both. How is NIS dependent upon user permissions?


Why do you think ordinary users need to read the passwd map(s)?
 
Reply With Quote
 
S Smethurst
Guest
Posts: n/a

 
      10-03-2006, 08:43 PM
Patrick wrote:
> "S Smethurst" <(E-Mail Removed)> wrote in message
> news:45229f13$(E-Mail Removed)
>
>
>>I have NIS running on an FC4 network. Ordinary users are unable to
>>read the passwd maps by ypcat but can read hosts maps. root can read
>>both. How is NIS dependent upon user permissions?

>
>
> Why do you think ordinary users need to read the passwd map(s)?

Hi Patrick,

processes like login and x sessions are not run as root, so it is these
that I am concerned about. e.g. shell looks like

[I have no name!@client ~]$ whoami
whoami: cannot find username for UID 501
 
Reply With Quote
 
Patrick
Guest
Posts: n/a

 
      10-03-2006, 11:12 PM
"S Smethurst" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)

>>> I have NIS running on an FC4 network. Ordinary users are unable to
>>> read the passwd maps by ypcat but can read hosts maps. root can read
>>> both. How is NIS dependent upon user permissions?

>>
>> Why do you think ordinary users need to read the passwd map(s)?

>
> processes like login and x sessions are not run as root, so it is
> these that I am concerned about. e.g. shell looks like
>
> [I have no name!@client ~]$ whoami
> whoami: cannot find username for UID 501


Do you "passwd deny" in the ypserv.conf file on the NIS master?
 
Reply With Quote
 
S Smethurst
Guest
Posts: n/a

 
      10-04-2006, 08:40 AM
Patrick wrote:
> "S Smethurst" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)
>
>
>>>>I have NIS running on an FC4 network. Ordinary users are unable to
>>>>read the passwd maps by ypcat but can read hosts maps. root can read
>>>>both. How is NIS dependent upon user permissions?
>>>
>>>Why do you think ordinary users need to read the passwd map(s)?

>>
>>processes like login and x sessions are not run as root, so it is
>>these that I am concerned about. e.g. shell looks like
>>
>>[I have no name!@client ~]$ whoami
>>whoami: cannot find username for UID 501

>
>
> Do you "passwd deny" in the ypserv.conf file on the NIS master?


No, I pretty much left ypserv.conf as default
Host : Domain : Map : Security
* : * : passwd.byname : port
* : * : passwd.byuid : port
* : * : shadow.byname : port
* : * : passwd.adjunct.byname : port
Its a good point though, that I ought to tie down the host and domain
values.
 
Reply With Quote
 
S Smethurst
Guest
Posts: n/a

 
      10-04-2006, 09:10 AM
Patrick wrote:
> "S Smethurst" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)
>
>
>>>>I have NIS running on an FC4 network. Ordinary users are unable to
>>>>read the passwd maps by ypcat but can read hosts maps. root can read
>>>>both. How is NIS dependent upon user permissions?
>>>
>>>Why do you think ordinary users need to read the passwd map(s)?

>>
>>processes like login and x sessions are not run as root, so it is
>>these that I am concerned about. e.g. shell looks like
>>
>>[I have no name!@client ~]$ whoami
>>whoami: cannot find username for UID 501

>
>
> Do you "passwd deny" in the ypserv.conf file on the NIS master?


Patrick,
I have just edited ypserv.conf to read
192.168.1.0/24:domainname:*:*
and hey-presto, login has its access rights back. But is too slack?
xfr_check_port:yes & securityort
looks like a good security idea, but gave me problems. Is our solution
risky?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN trouble paolo.mariani@spray.no Windows Networking 5 06-22-2006 05:27 PM
LAN trouble paolo.mariani@spray.no Windows Networking 0 06-22-2006 01:20 PM
ppp trouble Joe R Linux Networking 16 03-07-2005 09:54 PM
WAG54G and ZoneAlarm..... trouble trouble trouble... MP Wireless Internet 4 07-28-2004 10:42 AM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM



1 2 3 4 5 6 7 8 9 10 11