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

Re: Another possible slink goal (multipackages users profile)



Charles Briscoe-Smith <cpbs@debian.org> writes:

> The only real example I can think of is quota: "quota -q" ought to
> be run at every login if quota is installed.  The sysnews package's
> "news" command is another possibility (but not a particularly compelling
> argument).  (Oh, and someone else suggested check-sendfile).  However,
> if these are the only cases, we could just add to the various shells'
> standard profiles something like (this is for bash):
> 
>   if command -v quota >/dev/null 2>&1; then command quota -q; fi
>   if command -v news >/dev/null 2>&1; then command news -s; fi

But what if the user wants to run these things, but wants to run some
other things first, or what if the user doesn't want them to run at
all?  If you put these in /etc/profile, there's no way for them to
change anything.  I don't like that.  The local sysadmin can make
these decisions if it's really necessary, but we shouldn't.

Also, people will have to be *really* careful what they put in
/etc/profile.  If you have things that accidentally spew output for
non-interactive logins, don't you run the risk of breaking people's
scripts (say using rsh, etc.) that worked fine before?

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: