Getting Freeside to work

Ivan Kohler ivan at sisd.com
Mon Dec 7 03:19:21 PST 1998


On Sun, Dec 06, 1998 at 11:50:25AM +1100, Mark Williamson wrote:
> Hello There,

[...success report and apache conf (thanks!) snipped...]

> I have now have SSH working on the freeside account..  but this moment
> all that I would like to do is add users to the local machine..    at
> this moment..  that is into the /etc/passwd and the /etc/shadow files.. 

I would _strongly discourage_ you from running Freeside on the same
machine you have user logins on.

Note that fs_passwd is to allow your _users_ to change their passwords,
not to add users to remote machines (for that, see
htdocs/docs/export.html).

> Now I have added fs_passwd to my system as suggested by docs in
> passwd.html..  I have tested the ssh setup..   seems to work O.K. 
> basically after I relised that I need to leave the pass phase out all
> together..  now when I run 'fs_passwd/fs_passwd_server
> freeside.mycom.com'  but it basically hangs..  no error messages...  

That's tough to diagnose.  Random WAGs: Did you
install and set the correct permissions on fs_passwdd?  Can you do "ssh
freeside at freeside.mycom.com" as the freeside user (and not be prompted for
a password?)  Are you running fs_passwd_server as the freeside user?

You could try adding the `-v' flag in sub sshopen2 of SSH.pm to see if the
problem is ssh-related.  Running fs_passwd_server under Perl's debugger
would be the next step if nothing else is apparant?

> At this moment with my setup..  when I create user, basically of of the
> stuff neede to update the passwd files ends up sitting in the
> /var/spool/freeside/export dir..  so it's the part of the configeration
> that I need to get right.
> 
> In the /var/freeside/conf dir, I see that i am meant to make up 2 files
> for  'shellmachine' and 'shellmachines' (actually writing this E-mail I
> may hve spotted where I have gone wrong)  I didn't have the
> 'shellmachines' file..   O.K. it may be needed to add the passwds even
> to the actual local machine as well.  Arrr..

`shellmachine' is a single machine where the `useradd' and `userdel'
commands are run, and home directories are manipulated (if you choose to
it by creating this file). 

`shellmachines' is a list of machines to which /etc/passwd and /etc/shadow
are copied.

See htdocs/docs/export.html for details.

> O.K . all I do is need to get pass the exporting the passwords files.. 
> and a few other bits and peices up and running..   looks as it could be
> a very good system..

Thanks!  Good luck.

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key
Silicon Interactive Software Design - http://www.sisd.com/ - 888-670-SISD
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list