Koozali.org: home of the SME Server

CREATE an SME USER for non-sme purpose

aussie

CREATE an SME USER for non-sme purpose
« on: January 29, 2004, 08:33:15 AM »
As my sme server is the firewall and gateway to a LAN,
I want to create a user to 'access' a unix box on the LAN from outside on the internet.

if i do the following, are there any issues?
TIA, Rob.

1. create a 'normal' sme email user
    (even though no email will happen, just keeps files sorted when re-configures happen)

2. alter the passwd file for this user to not start /bin/sshell but (say) /bin/xyz instead.
? any clever way to not have to keep editing the passwd file after reconfigure?

3.the /bin/xyz file is something like
(as its a SCO box it hasnt got ssh, but I will ssh into the sme)...
#!/bin/bash
TERM=ansi;export TERM
/usr/bin/telnet 192.111.111.1
exit