[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Create User account for Solaris and Sun Java 7.0

Posted on 2011-04-20
11
Medium Priority
?
529 Views
Last Modified: 2012-05-11
Hello,

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,
John

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.
0
Comment
Question by:jhieb
  • 6
  • 5
11 Comments
 
LVL 81

Expert Comment

by:arnold
ID: 35438348
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.
0
 
LVL 1

Author Comment

by:jhieb
ID: 35445162
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.

Thanks,
John
0
 
LVL 1

Author Comment

by:jhieb
ID: 35445195
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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 81

Expert Comment

by:arnold
ID: 35445206
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:
http://www.webmin.com/solaris.html
0
 
LVL 1

Author Comment

by:jhieb
ID: 35445232
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.
0
 
LVL 81

Assisted Solution

by:arnold
arnold earned 2000 total points
ID: 35445245
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.
0
 
LVL 81

Expert Comment

by:arnold
ID: 35445249
SMC is the tool you can use to create/manage local accounts among other things.
0
 
LVL 1

Author Comment

by:jhieb
ID: 35448472
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.
0
 
LVL 1

Author Comment

by:jhieb
ID: 35448746
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:

SUNWdsee/dsins1
SUNWwbsvr7
WUNWmsgsr/sbin
SUNWics5/cal/sbin

I have looked at many of the files with vi and still don't see where my three existing test accounts are created.
0
 
LVL 81

Accepted Solution

by:
arnold earned 2000 total points
ID: 35450729
look at the log file /var/log/maillog
which email addresses work there?
/etc/mail/aliases /etc/mail/

http://www.sendmail.org/tips/virtualHosting

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.
0
 
LVL 1

Author Closing Comment

by:jhieb
ID: 35476629
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.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses
Course of the Month20 days, 13 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question