[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: policy violation and bug reports. - some resolution?



srivasta@datasync.com (Manoj Srivastava)  wrote on 25.02.98 in <87lnuzgpwn.fsf@tiamat.datasync.com>:

> >>"Christian" == Christian Schwarz <schwarz@monet.m.isar.de> writes:
>
> Christian> On 25 Feb 1998, Manoj Srivastava wrote: [snip]
> >> I would propose that no package keep files in user home directories
> >> as a policy. This is not hard to do, and it would allow the user
> >> full control over their home directory, which is a right we should
> >> respect.
>
> Christian> Right. I'm wondering why we need to ship the /root/.bash*
> Christian> configuration files at all! It looks like all what they do
> Christian> can also be done in /etc/profile, right?
>
> 	Well, maybe not. root's path should have sbins in ti, normal
>  users should not get it by default. Also, roots bashrc could be a
>  little more paranoid.

So what's the problem with something like

case `id -u` in
0) # whatever we want for root
;;
*) # whatever we want for everybody else
;;
esac

?

As there are often reasons to change stuff for both root and normal users  
(as well as to only change things for one or the other), keeping it all  
together means that it's harder to get out of sync.

(id -u is in Unix98.)


MfG Kai


Reply to: