Solaris is a Unix operating system originally developed by Sun Microsystems (currently owned by Oracle) as a rebranding of SunOS 4.1.x in 1991.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

solaris 10- disable outbound ssh connection for specific user

can we have inbound ssh enabled for the user and after the user is logged in on our solaris box ,he/she should not be able to do ssh to other servers from solaris box ? .
1
vote
1answer
27 views

How replace disks on an existing striped zpool?

I have the following zpool: pool: mypool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 ...
3
votes
2answers
43 views

DNS on SUNOS 4.1.4 / Solaris

On SUNOS(not solaris) the dns works only with nis enabled(sic!) I have did so modified yp Makefile and added B=-b and put # on next B ypinit -m OK route add default 10.0.0.1 OK ypwhich ok ypcat ...
14
votes
5answers
55k views

How to check whether firewall opened for a port but not listening on the port

We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
0
votes
3answers
31 views

what is the equivalent of du -s --si * in a Solaris box?

I have a Solaris box that is blowing up right now because a disk is very close to filling up. I need to know what subdirectory on that disk is hogging up the space, but Solaris doesn't like du -s ...
-4
votes
0answers
25 views

Tips for school project [closed]

i am supposed to write a software for "Programming in Unix" subject at my Uni. It should include a reasonable number of syscalls (processes, networking, threads...). The scale of the project should be ...
3
votes
3answers
76 views

how to monitor a unix directory and if any new file in directory it will be copied to another directory

I want to monitor a unix(Solaris 10) directory and if there is any new file i want to copy immediately. Tried: I have shown inotifywait and incron package in linux for it but i don't know whether it ...
3
votes
2answers
86 views

How to use cp -u on a Solaris system which does not support the -u option?

I am new in here. I am facing problem in Solaris system.I want to copy only when the SOURCE file is newer than the destination file or when the destination file is missing. As you know, this feature ...
3
votes
0answers
12 views

Changing LDAP server preference on Solaris 10

I've recently inherited a new environment running Solaris 10 and I was looking for information on how to change the LDAP server preference on an LDAP client, namely through modifying the ...
0
votes
1answer
754 views

Solaris 10 openssl version 1.0.1k but apache httpd not compiling,showing version too old-0.9.8a

I have compiled openssl from source on my Solaris machine to a newer location apart from the default one. When I set the newly compiled ssl path in PATH variable and LD_Library path and then compile ...
2
votes
1answer
390 views

File descriptor limits in /etc/system vs /etc/sysctl.conf vs /etc/security/limits.conf on Solaris

Let me explain first what I understood. In Solaris 10, rlim_fd_max and rlim_fd_cur in /etc/system set the hard and soft limits at the system level. And /etc/security/limits.conf sets the limits for ...
3
votes
3answers
37 views

Using find in Solaris 10 to search a single directory but not its subdirectories

I'm trying to use find on Solaris 10 to list the contents of one directory, excluding subdirectories from the search. I tried a command based on the solution suggested by sdaau: find /tmp -type d ! ...
0
votes
0answers
14 views

Unable to mount NFS share in Solaris Local zone

I am trying to mount one NFS share in my Solaris Local zone.But I am getting error like below. showmount -e hostname showmount: hostname: RPC: Rpcbind failure - RPC: Timed out. I tried to ping the ...
5
votes
3answers
4k views

Can I change the output format of the “last” command to display the year?

I'm trying to find a way to report on the most recent login for all users on my Solaris 10 server. I'm starting with the output of the last command. Using that command, I get output like this: ...
4
votes
1answer
45 views

Finding out binary's compiling computer name

We have recently in our workplace stumbled upon a really old binary file that originates from unknown old computer. However in order to run this binary we need to get some local resources and ...
3
votes
1answer
30 views

What is the purpose of the uucico shell on HP-UX, Solaris, and possibly other Unix varieties?

For my work, I review Unix and Linux server configurations for compliance with security guidelines. So I'm not a Unix admin myself, but I work with Unix servers on a regular basis and am fairly ...
1
vote
1answer
36 views

Read ahead setting on Solaris

How to get the current read ahead setting on Solaris? On Linux it can be retrieved like this: # echo $(($(blockdev --getra /dev/sda)*512/1024)) (Assuming that blockdev always returns the read-head ...
1
vote
1answer
45 views

Disable null password for root user on Sunsolaris machine?

Currently i am using a SunSolaris machine: bash-3.00# uname -a SunOS labxxxx 5.10 Generic_144488-17 sun4u sparc SUNW,Netra-240 bash-3.00# When i try to set null(blank) password for root, it let me ...
2
votes
3answers
32 views

Where to check ntp related logs on Sun Solaris?

Can you please guide, where on solaris i can check NTP related logs? If there is any issue related to NTP on solaris, which is the right place to check for the root cause? Thanks
2
votes
3answers
282 views

No “$” or “#” Sign After Logging in Solaris 10 with Putty

This is my environment: Solaris Version 10; Sun OS Version 5.10 Oracle Version: 11g Enterprise x64 Edition. When I am getting log on through putty it is giving me this output: login as: ora Using ...
3
votes
1answer
26 views

Where do I find prebuilt binutils and compilers for obsolete operating systems?

I just obtained a Sun SPARCstation 20 and installed SunOS 4.1.4 on it. I'd like to build some software on it with something a little more modern than its stock pre-ANSI C compiler, and without the ...
-1
votes
1answer
13 views

Solaris 10: how to run correct tcp wrappers?

I want to deny ftp access on solaris10 For experiment i use only one host Tcp wrapper is enabled inetadm -l ftp | grep tcp_wrappers default tcp_wrappers=TRUE /etc/hosts.deny ftpd: 192.168.0.2 ...
2
votes
2answers
7k views

Set global environment variables at boot in Solaris 11

I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up. i.e. I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my ...
1
vote
1answer
73 views

How to print the total available space percentage on a specific file system in both linux and solaris?

I've searched for an answer to this question and I found that this command: df /dev/sda1 | awk {print '{(100 -$5 )}' | tail -1 | sed '/s/$/%/g' does the job pretty well on my linux system but I ...
-1
votes
1answer
27 views

Solaris 10,print only banner

I have a remote printer by cups on linux server. BSD,Hp-ux and linux works fine,on solaris 10 i have this problem,print the banner only,not the text of file. I have configured the printer like this ...
1
vote
2answers
998 views

changing timezone in Oracle Solaris 11.2

I'm confused: what is the right way to change TZ on a freshly installed Solaris 11.2? I have found these, but am unsure which to use: Reconfiguring Date and Time Before and After an Installation ...
1
vote
1answer
36 views

Cannot obtain address via DHCP

I recently upgraded this box from Solaris 11.2 to Solaris 11.3. After that I cannot get an interface to obtain an IP address from within a non-global zone. From the global zone I have the following ...
0
votes
1answer
37 views

Solaris 11 /var used significant space, but I cannot see it on filesystem

I have a mirrored rpool: NAME USED AVAIL REFER MOUNTPOINT rpool 72.1G 1.22G 39.5K /rpool rpool/ROOT 67.9G 1.22G 31K legacy ...
3
votes
1answer
90 views

Finding empty directories recursively

How can I find every empty directory, let's say, on the /home/.../Desktop. Because I am on Solaris, I can't use the find . -empty -type d command. Is there any other way?
0
votes
0answers
22 views

Unable to setup ipv6 on solaris 11.3

I am having some difficulty after moving to Solaris 11.3 and setting up IPv6 addressing. The interface I am using is net2. I have created an IPv4 address already on this. So to do this I would have ...
0
votes
0answers
20 views

vxlist volume and vxlist disk stuck on Solaris 10

On Solaris 10 i have installed symantec storage foundation for lvm. Enable all daemons,create volumes and groups ok but if i want to see the size of disk and volumes with vxlist volume or vxlist ...
0
votes
0answers
81 views

VMware Tools in Solaris 11 VM doesn't mount the host filesystem

I've installed Solaris 11.3 (from Oracle - sol-11_3-live-x86.iso) as a guest OS in my VMware Fusion (Ver 7.2) and then tried to install and build VMware Tools. Everything was fine besides two ...
1
vote
1answer
433 views

How can I continue past this point in installing Solaris 11 under VMware Fusion 5.0.4 on Mavericks?

I have a Mac running VMware Fusion 5.0.4 on OSX Mavericks, and I do not seem to be able to get past a certain point on installation on either of two installers I tried. A (text) window comes up, ...
2
votes
1answer
38 views

How to know log the full script name executed by user?

I want to log the full name of the script executed by the user including the options/arguments he provided to that script. I was able to achieve some success using basename and whoami but it does not ...
0
votes
1answer
24 views

inconsistency between format and probe-scsi-all outputs

my platform: SPARC T4-1 Generic_150400-24 sun4v sparc sun4v 1 of the disk is seems different in the output of format when I am on console cli even though relevant disk seems same as others in the ...
6
votes
3answers
8k views

How to delete a range of mails in Solaris using the 'mail' command?

I have some 1k+ mails in an inbox (old cronjob stdout), how to delete them in bulk? I'm on Solaris 8 and I have only mail available, no pine or mutt or similar "UI"-based client. Inline help and ...
0
votes
1answer
81 views

please support for use awk and regex

I have a file with | separator and I need to print first field $1 and other fields, I need to print part which match the regular expression \[(.*?)\>. cat x.txt |nawk -F"|" '{print $1"|"match ...
2
votes
3answers
94 views

Random number generation in Solaris?

What is the best way to generate random numbers in Solaris? I can not seem to find a good answer for this. Most results do not work in my environment. There is a variable or command RAND that seems ...
1
vote
1answer
56 views

Find the hostname or IP of a remote ssh session in Solaris

If I am logged into a Solaris server from my Windows laptop via putty using ssh, how, on the server, can I determine my Windows laptop IP or hostname?
0
votes
0answers
68 views

Solaris Bash script if condition command + store in variable?

I am trying to make two functions in bash. One function that loops through a directories' contents and makes an md5 hash for each file storing them in an .md5 checksum file in the same directory. The ...
4
votes
5answers
3k views

Can not find link to download OpenSolaris source code

I want to understand how OpenSolaris ptools(process tools) works. How exactly pstack, pmap, pargs etc works, but I can't find any link to its full source code. I can only find an online version of ...
0
votes
0answers
48 views

useradd cannot execute / not owner error

I have Solaris 9. When running useradd as root i have this error. #/usr/sbin/useradd ksh: /usr/sbin/useradd : cannot exceute Then tried change shell csh and sh but to no avail. csh: # ...
2
votes
1answer
140 views

Solaris 11.3 upgrade - rpool changes after upgrade disappeared after restart

I have a test server running Solaris 11.2 (on HP Proliant Gen8 Microserver hardware). On October 31st I upgraded the system to Solaris 11.3 as described in Solaris documentation article Updating a ...
1
vote
1answer
53 views

lofiadm: password via script

I have a server running OmniOS and on top of that napp-it to manage ZFS. Every now and then I need to send data to the ZFS file systems. I do this using a bash script and rsync. Following the ...
2
votes
1answer
41 views

Solaris 11_3 Installation on LDom via “telnet localhost 5000”

I am new to the Unix section here in my company and now I got the task to install Solaris 11 on a new LDom. Reading the documentation, I was able to create and configure the primary domain and I was ...
1
vote
5answers
114 views

How can I rename a file on unix using characters in filename?

I have a bunch of files in a unix directory that look like the following: filename_1234567.txt I need to rename them by copying the last three characters of each filename to the front of the ...
1
vote
4answers
19k views

What is a good X application I can use to test the X server on Solaris?

I am using Solaris, and I want to test if the I can use the X server after setting the DISPLAY environment variable. On Linux, I usually use xeyes, xclock or xterm. But none of these seem to ...
1
vote
2answers
18 views

get command line perl command to report what changes it's made

I am using the following command (on Solaris) to remove the protocol from a bunch of files. find . -name "*.txt" -exec perl -pi -e 's/http//g' '{}' \; Is there a way to have a verbose output so ...
0
votes
0answers
23 views

Solaris server is rebooting again and again

I am working on Solaris 10 and I am trying to boot the system from ok> But it's been constantly rebooting again and again and throwing panic errors I went to lom> to find answer but no clue
4
votes
3answers
151 views

How to match a pattern, delete the pattern and also the next and the previous line on Solaris 10

How can I match a pattern, delete the pattern and also the next and the previous line on Solaris 10? I'm hiting the wall because Solaris does not come with GNU sed. Given the following file content: ...