How to add a Unix user to a Group
To add a user to a group under Sun Solaris Unix operating system from the command line, follow the instructions below Add a new user to a group's time to add the new user group called manager developers, as follows: # useradd-G developers-d / usr / home / admin-m # passwd administrator administrator Where, G-developers: The secondary group to which will belong administrator. This group must exist in the system. -D / usr / home / administrator: administrator home directory-m: It creates the new user's home if no administrator: user name Add an existing user to a secondary group UNIX use the usermod command to modify the definition or user login parameters in the system, including that group belongs. For example, to add ... Read the full article »
Filed under: Solaris 10 , Unix
Restart the snmpd service on Solaris 10
Sometimes the command kill-HUP Does Not Always Cause the Agent to Reread the snmpd.conf configuration file. Therefore, it may not be activated in all cases changes in the configuration file. Instead of using kill-HUP, restart the System Management Agent after adding modifications to snmpd.conf of the following means: # / etc / init.d / restart init.sma use of services in Solaris 10 is based on SMF (Service Management Facility), we can manage the SNMP service with the following commands: To see the status of the SNMP service: # svcs-a | grep snmp 18 00 online svc: / application / management / snmpdx: default If I were in a state maintenance (maintenance) # svcadm clear snmpdx If I were disabled (disabled) # svcadm enable snmpdx ... Read the full article »
Filed under: Solaris 10
Configure and enable the SNMP service on Solaris 10
In recent days I have found the need to monitor the resources of my servers with Solaris 10. One way is through Cacti. But to link the Cacti monitoring services with my server, graphical power, I must configure the service on Solaris where the information is available. First of all, the service or protocol Simple Network Management and SNMP is already installed and ready APRA used in Solaris 10. Surely the Net-SNMP package has created its configuration file is Located in / etc / snmp / snmpd.conf. But equally, installation Solaris 10 Net-SNMP package installed SUNWsmmgr First, SUNWsmcmd, and SUNWsmdoc SUNWsmagt. Then we went into the configuration directory keyboards, cd / etc / sma / snmp cp vi snmpd.conf snmpd.conf snmpd.conf.dist minimum configuration to have our service SNMP enabled ... Read the full article »
Filed under: Solaris 10
Using smbclient to transfer files between Solaris 10 and Windows
I spent a while trying to configure NFS mount Windows Server 2003/2008 shares within the file system via Samba Solaris 10, and finally none of this worked. Command to send files from Solaris to Windows I'll be live by example so we all save time. We are in the directory where the file we want to send, in our case test.txt. Our file must have sufficient permissions for the user to run the command can read it. solaris_server # / usr / sfw / bin / smbclient-U administrator 192.168.1.69pearljam PASSWORD-c "put test.txt" params.c: OpenConfFile () - Unable to open configuration file "/ etc / sfw / smb.conf": No such file or directory / usr / sfw / bin / smbclient: Can not load / etc / sfw / smb.conf - run testparm to debug it Domain = [DOMAINNAME] OS = [Windows Server 2003 R2 3790 Service Pack 2] Server = [Windows Server 2003 R2 ... Read the full article »
Filed under: Systems Administration , Solaris 10
Get the version of Solaris in execution
It is sometimes necessary and useful as to know the version of the Solaris operating system installed and running on the server. Especially if you're accessing from a remote connection. If you run the uname command with the-to get valuable information from the installed version of the operating system: # uname-a SunOS 5.10 Generic_141445-09 dft5dbmp01 i86pc i386 i86pc We also have the option to review the file / etc / release to get information extra release of our version of Solaris / # cat / etc / release Solaris 10 10/09 s10x_u8wos_08a X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 September 2009 ... Read the full article »
Filed under: Solaris 10
As information about the hardware on Solaris
Here is a quick way to find out what hardware is installed on your Solaris system, including RAM, CPUs, PCI cards and external devices. The result usually involves the size of each memory chip in the system. / Usr / platform / `uname-i` / sbin / prtdiag prtdiag command displays system diagnostic information. It is not necessary to be root to run this command, which runs from solaris 7 to solaris 10. Other commands that can be used are prtdiag, prtconf 'and vmstat. See the manual page for more information. ... Read the full article »
Filed under: Systems Administration , Solaris 10
Installing FTP service on Solaris 10
To use the FTP (file transfer protocol) we should just turn it on Solaris. Get the status of the ftp service inetadm | grep ftp ftp Enable FTP inetadm-e-d Disable inetadm fto ftp commands to enable and disable the FTP service if the above does not work so we can type in console: root @ solaris # / usr / sbin / svcadm enable ftp root @ solaris # / usr / sbin / svcadm disable ftp manuals and additional information root @ solaris # man inetadm root @ solaris # man svcadm ... Read the full article »
Filed under: Internetworking , Solaris 10
Recent Comments