🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1115

Re: FIX: Losing Preferences

#1115
From: David Lemson
Date: Tue, 15 Sep 1992 00:13
34 lines
1928 bytes
shawn@monitor.com writes:

>Sorry if this is a rehash for some of you.

>A number of folks have had problems with folks on their network losing their  
>Preference settings (or rather, not having them stay changed) when they log  
>out and back in.

>This generally will happen when a user's home directory is on an network NFS  
>mounted drive.  The problem is that Preferences runs SUID root and expects  
>root access to the device it is writing to.

But I have changed my Preferences to mode 755 so that no one but
root can change the clock time.  Why should Preferences need to be
suid in order to write to the home dir of the person logged in?
(I have been noticing this problem as well, keyboard preferences
aren't getting saved)

>The fix is to export the server volume with root access to the machines that  
>need it, or you can export it to the world with root access (obvious security  
>issues here).  In your /etc/exports file:
>     /Users -root=machine1:machine2:machine3 etc.......
>to allow certain machines root access to /User and:
>     /Users -anon=0
>to allow the world root access to /User.

No way, not going to open up security holes like that... I want a
better answer... :-)

-- 
David Lemson                                                (217) 244-1205
University of Illinois NeXT Campus Consultant / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail accepted                                  BITNET : LEMSON@UIUCVMD
Technical Details
Message-ID: <BuLFBp.AyJ@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!lemson
References: <BuKzCG.4KE@monitor.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!lemson
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: FIX: Losing Preferences
Message-ID: <BuLFBp.AyJ@ux1.cso.uiuc.edu>
Organization: University of Illinois at Urbana
References: <BuKzCG.4KE@monitor.com>
Date: Tue, 15 Sep 1992 00:13:58 GMT
Lines: 34