04-20-2010
Are you using Mac OS X Server? Or running the server on a desktop flavor? What version?
Server uses the Server Admin application to add users (<10.5... Users preference pane in 10.6, Snow Leopard).
This page summarizes how to add a Mac OS X user via Terminal, although I have NO idea if it will interface into your mail system... However, Squirrelmail uses the system's IMAP programs to display information, it doesn't generally administer the mail system.
Create a new user via the Terminal - Mac OS X Hints
HTH;
Jeff
Last edited by macwunder; 04-20-2010 at 07:45 PM..
Reason: additional info
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
Is it possible to add users on a Mac OSX server from a unix system with ssh?
If it is what file to alter?
brg Nicke (3 Replies)
Discussion started by: nicke30
3 Replies
2. OS X (Apple)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Discussion started by: Neo
1 Replies
3. UNIX for Dummies Questions & Answers
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies
4. OS X (Apple)
I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in.
Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies
5. UNIX Desktop Questions & Answers
I'm hoping someone here can help me. I'm computer literate but by no means an expert! I'm simply trying to recover data from my DLink DNS343 NAS mounted on my X86 iMac using SMB. Somehow, in moving to a new computer, I have lost access to some files on the NAS. Just some files are access denied.
... (0 Replies)
Discussion started by: Quantaa
0 Replies
6. OS X (Apple)
Hi ,
I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two
(a) OSX Partition - Mac OS Extended Journaled format. Mount point: /
(b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data
I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies
7. UNIX for Dummies Questions & Answers
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies
8. OS X (Apple)
hi all,
first off thesis my first post so if i am not in the right forum, i apologize.
i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/
i want to accomplish two things.
1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Discussion started by: monkeyhateclean
1 Replies
9. OS X (Apple)
Hi guys and gals...
After much searching on the good ol' internet I could find nothing, so this is the result.
ALthough many people seem to have asked this question no-one seems to have a solution so here we go.
I need for AudioScope.sh, 'xterm' to run a second program for some of its... (2 Replies)
Discussion started by: wisecracker
2 Replies
10. OS X (Apple)
I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before:
printf "%b" "\033
SO...
printf "%b" "\033c\033
Performs a terminal reset, buffer clearance, clear the window, set back to default... (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT DEBIAN
cgi::application::server
CGI::Application::Server(3pm) User Contributed Perl Documentation CGI::Application::Server(3pm)
NAME
CGI::Application::Server - A simple HTTP server for developing with CGI::Application
SYNOPSIS
use CGI::Application::Server;
use MyCGIApp;
use MyCGIApp::Admin;
use MyCGI::App::Account::Dispatch;
use MyCGIApp::DefaultApp;
my $server = CGI::Application::Server->new();
my $object = MyOtherCGIApp->new(PARAMS => { foo => 1, bar => 2 });
$server->document_root('./htdocs');
$server->entry_points({
'/' => 'MyCGIApp::DefaultApp',
'/index.cgi' => 'MyCGIApp',
'/admin' => 'MyCGIApp::Admin',
'/account' => 'MyCGIApp::Account::Dispatch',
'/users' => $object,
'/static' => '/usr/local/htdocs',
});
$server->run();
DESCRIPTION
This is a simple HTTP server for for use during development with CGI::Application. At this moment, it serves our needs in a very basic way.
The plan is to release early and release often, and add features when we need them. That said, we welcome any and all patches, tests and
feature requests (the ones with which are accompanied by failing tests will get priority).
METHODS
new ($port)
This acts just like "new" for HTTP::Server::Simple, except it will initialize instance slots that we use.
handle_request
This will check the request uri and dispatch appropriately, either to an entry point, or serve a static file (html, jpeg, gif, etc).
entry_points (?$entry_points)
This accepts a HASH reference in $entry_points, which maps server entry points (uri) to CGI::Application or CGI::Application::Dispatch
class names or objects or to directories from which static content will be served by HTTP::Server::Simple::Static. See the SYNOPSIS
above for examples.
is_valid_entry_point ($uri)
This attempts to match the $uri to an entry point.
document_root (?$document_root)
This is the server's document root where all static files will be served from.
CAVEATS
This is a subclass of HTTP::Server::Simple and all of its caveats apply here as well.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
CODE COVERAGE
I use Devel::Cover to test the code coverage of my tests, below is the Devel::Cover report on this module's test suite.
---------------------------- ------ ------ ------ ------ ------ ------ ------
File stmt bran cond sub pod time total
---------------------------- ------ ------ ------ ------ ------ ------ ------
...CGI/Application/Server.pm 94.4 80.0 53.3 100.0 100.0 100.0 88.3
Total 94.4 80.0 53.3 100.0 100.0 100.0 88.3
---------------------------- ------ ------ ------ ------ ------ ------ ------
ACKNOWLEDGEMENTS
The HTTP response handling was shamelessly stolen from HTTP::Request::AsCGI by chansen
AUTHOR
Stevan Little <stevan@iinteractive.com>
Rob Kinyon <rob.kinyon@iinteractive.com>
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2006 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-27 CGI::Application::Server(3pm)