Create User account for Solaris and Sun Java 7.0


I was given a Sun Fire X2100 server and it has Sun Java loaded. It has three email accounts. I know the root account logon and password. I want to create more email accounts but do not know how. Is there a graphical interface for this or do I have to create accounts via the command line? How would I create a super user account that is the administrator? I want to give this person access to all the other accounts.

Thank you,

Btw, I probably also need to know how to edit a current user. I am not familiar with Unix that much so I need some direct guidance. Thanks.
Who is Participating?
arnoldConnect With a Mentor Commented:
look at the log file /var/log/maillog
which email addresses work there?
/etc/mail/aliases /etc/mail/

ps -ef | grep sendmail
see whether the startup process includes a reference to a configuration file in a different location.
In the situation that you are in, you have to check the system for applications, configuration, etc to see what it is currently doing and how it is currently doing it.
If you want to start from scratch to setup a new mail server, I'd suggest you have a look at postfix or qmail as an alternative to sendmail.

The other issue to check is whether the system also has the Sun Directory which might be where the user/email addresses are.

See if within /etc/nsswitch.conf there are passwd: group: that have something other than files
passwd: files
groups: files

ldap, nis will mean that there is a central directory service in addition to the local user accounts which are listed in the /etc/passwd file.
What Os is running?
uname -a?
webmin might be an option, if you have the option to run the system in graphical, depending on the GUI which for solaris is CDE, I think others can be installed.

The other part you have to see which mailserver is on the system (sendmail likely) and what its configuration is.
jhiebAuthor Commented:
Here is what I found out. I am running the following:

SunOS Solaris 5.10 Generic_1200-14 i86pc i386 i86pc

The server is also running:

Sun Java Communications Express
Sun Java Web Server 7.0

How do I get to WebAdmin? I looked at my choices at the console and do not see a WebAdmin program.

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

jhiebAuthor Commented:
By the way, I haven't a clue on how to create mail accounts or even user accounts on this server. It came to me with some default accounts.
Do you use a graphical console?
Are you sshing into the system?
Is startx an optoin after you login?
If you ssh, do you have an X-server or are you in a graphical environament where you can use ssh -y user@remotesolaris
once connected, run smc and see what you get.
webmin you have to install:
jhiebAuthor Commented:
Yes, my console is graphical. From my PC I am using PuTTy.

Here, at the console I can click on the launch button and it says it is "Sun Java Desktop for Solaris".

When I run SMC I get Solaris Management Console 2.1. I haven't seen this before.

I will try the WebAdmin link you gave to. I have to run to an appointment.
arnoldConnect With a Mentor Commented:
The issue is that each admin can setup their own mail server (sendmail, postfix, qmail, courier, exim, etc.) You have to determine which mail server is running. Then look at /etc/<mailserver>/ for the configuration
sendmail is /etc/mail/.
Beyond that there could be variations. i.e. using local accounts as the mailboxes, or have virtual mailboxes.
You would need to look at the logs /var/log/maillog or others depending on which mail server is setup. and piece the puzzle on how things setup and work.  Once you have a grasp on that, this is when you can do what you need i.e. adding additional mailboxes, etc.
SMC is the tool you can use to create/manage local accounts among other things.
jhiebAuthor Commented:
It looks like the email server is a SendMail server. When I look inside ETC/Mail then there is about a dozen files related to sendmail or aliases and a few other items. I looked at each file with vi but noe of them had information about users except for my root user. There has got to be a better way to add/edit and manage email accounts.

I also looked at SMC. it shows my users and groups for the system but not for email. I will have to get myself familiarized with SMC. It looks like there are a lot of features.
jhiebAuthor Commented:
This is still a mystery. I installed Webmin and looked at the Sendmail users and none of the test users that are already setup are listed.

There is a script that I have to run in order to get my mail system to work, so I looked at that script with vi. There are entries in there to start the web server, the messaging server, and the calendar server, which seems to be:


I have looked at many of the files with vi and still don't see where my three existing test accounts are created.
jhiebAuthor Commented:
It looks like it will take awhile to figure this out. I have been given a lot of information on how to begin. So, I will work through this information and post another question when I have another question. Thank you for the help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.