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

Re: How to tell user default random pass for daemon?



On Wed, Jul 06, 2005 at 07:07:06PM +0200, Olaf van der Spek wrote:
> Suppose you'd like to generate a random pass by default after your
> daemon is installed. How should you get that pass to the user?
> Is it allowed to write it to a file in root's home dir?

would be very wrong to write a file into root's home directory, as it
is questionably in violation of FHS/policy, and also is not guaranteed
to work (as /root may be part of a read-only filesystem according to
debian policy).  

as a general rule writing out a password as part of a configuration file
in /etc (following standard policy rules) is an acceptable alternative.


	sean

-- 

Attachment: signature.asc
Description: Digital signature


Reply to: