LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2012, 05:36 AM   #1
srikanth889
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
Regarding how can we see all the installed softwares in solaris machine


how do we see all the softwares installed in solaris machine?

plz help me to give this answer if anybody knows.
 
Old 03-12-2012, 07:52 AM   #2
dougt
LQ Newbie
 
Registered: Mar 2012
Distribution: Redhat, Solaris, AIX, HPUX
Posts: 8

Rep: Reputation: Disabled
pkginfo command will list all installed packages. If you want to see additional info, add "-l" option. Also have a look in /var/sadm/install/contents - this lists each file associated with each package.
 
1 members found this post helpful.
Old 03-12-2012, 09:30 AM   #3
srikanth889
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
how to create a admin user on solaris machine

As i am new to solaris platform i have few questions as follows below

1. how to create a admin user?
2. how to change privileges of a user?
3. how do we install any software from command prompt?

Please help to answer this questions as soon as possible.
 
Old 03-12-2012, 09:52 AM   #4
dougt
LQ Newbie
 
Registered: Mar 2012
Distribution: Redhat, Solaris, AIX, HPUX
Posts: 8

Rep: Reputation: Disabled
1. Either with the "useradd" command (try "man useradd" to see the manual page which explains how it works), or by directly editing the /etc/passwd and /etc/shadow files.

2. Depends what you mean by privileges - there are ownerships and permissions of files/directories that will define whether a given user can read/write/execute any one of these. Changing ownership is achieved with "chown" (change owner) and "chgrp" (change group). Permissions are modified by "chmod" (change mode). You also have projects defined on Solaris 10 in /etc/project which can be used to group together users and permissions.

3. Again, it depends. On Solaris, most software comes as a package (with a .pkg extension) so can be added with pkgadd and removed with pkgrm (again, have a look at the man pages to get a better idea of how these work - "man pkgadd" or "man pkgrm", but you should be getting the idea of man pages by now :-) . You might also come across other means of installing software, such as running a particular script, or a "make install" command, or you may have to decompress an archive or unpack a tar file. Most software will come with some kind of instructions and if not, your best place to start is by looking at the file extension (the bit after the final ".") If there's no file extension, try "file <filename>" and it will attempt to figure out what kind of file it is by reading the first few bytes of the file and looking for a match in /etc/magic, although this is not only for files without an extension,

Eg:

file dmidecode-2.11
dmidecode-2.11: gzip compressed data - deflate method

So I know from this that this is a gz file and I need to unpack with "gzip -d"




Good luck!

Last edited by dougt; 03-12-2012 at 11:04 AM. Reason: fixed a bit
 
Old 03-16-2012, 07:43 AM   #5
srikanth889
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Regarding solaris commands for specific network server counters.

Hi All,

I have a doubt wht is the command to know network interface - bytes total /sec and processor - %DPC Time server counters on solaris machine

Plz help me if anybody knows it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
queriying installed softwares angos Linux - Software 4 03-31-2011 09:22 AM
Log for installed patches/softwares SBN Linux - General 7 03-19-2009 06:51 PM
how to find the Softwares installed by Wine ? mianmajidali Linux - Software 1 02-09-2009 01:20 PM
About list of softwares installed in Solaris rajaniyer123 Solaris / OpenSolaris 3 05-24-2007 10:50 PM
finding installed softwares mili General 1 08-01-2005 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration