Re: Adding users - two quick questions
Quoting Patrick Kirk (patrick@kirks.net):
> >
> >
> > About the 'no home' ting: it means that the system couldn't cd to the
> user's
> > homedir after assuming the identity of the user. Usually this means
> > that /home isn't mounted, or wasn't mounted when you added the user, but
> > you may have other reasons. Just make sure that the entry in /etc/passwd
> > for the user accurately reflects their homedir, then 'chown -R user ~user'
> > and 'chmod -R u+rwX ~user'.
> Question is why useradd john -d /home/john doesn't work
Maybe you need -m as well. (In answer to your email, that's partly
why I use adduser: less switches to remember, better defaults.)
> > I am not sure that listing the users' commands is legal (but I'm not a
> > lawyer so don't ask me) or desirable. It's called 'process accounting' in
> I would hope that logging what contractors are doing on my machine is legal
> or else I could be charged for work that was never done and/or liable for
> abuse of the system.
Perhaps you could mention this in /etc/issue or whatever
(like stating that you're recording a telephone call).
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: