22.7.2011 14:35, Mark Charles kirjoitti:
> For remote maintenance I want to add a default user called
> "fixme" with no password to the system.
> 
> If the remote user has problems with their computer they should be able
> to press Enter and "fixme" will login and run a script connecting the
> machine to the internet and send me the IP address in an email.
> 
> As "fixme" has no password I don't want them to have a desktop... how do
> I do this??
> I'd also prefer they don't have a home directory - is that possible??
> How can I setup fixme's login to just run my script??
> 

Quite strange setup. But OK.

- Set the home folder to /tmp/fixme or some other proprietary folder.
- Set the shell for fixme to your script.

I guess that should do it.


-- 

You prefer the company of the opposite sex, but are well liked by your own.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to