Reputation
7,012
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
13 27
Newest
 Enlightened
Impact
~748k people reached

  • 0 posts edited
  • 1 helpful flag
  • 478 votes cast
Jul
11
answered bash script error stty: standard input: Inappropriate ioctl for device
Jul
11
answered Raid5 Device Has Less Space Than Expected
Jun
30
answered How can I mount vxfs FS to two or more Solaris servers?
Jun
14
comment Perl - /etc/shadow - Permission Denied
Solaris honors setuid for me. try 'chmod a+sx test-script.pl'. Adding a user who should be able to to read the shadow file to the shadow group is probably a better solution, though.
Jun
11
comment Why `host` and `nslookup` on Solaris 10 resolves hostnames while `ping` and `telnet` does not?
@AdamSiemion keep in mind that many of Solaris' largest customers are closed environments where DNS may not necessarily be used, and instead NIS holds sway. (or LDAP sometimes). Sun used to focus most of it's energy on it's top 50 customers. DNS stuff was added for the rest of their customers, but not made the default, because revenue from the top 50 > the rest. Oracle likely plays a similar game.
May
28
answered Solaris - permanently update PATH for all users
May
24
comment Automating tasks on a website on a headless server
You can use the Firefox Live HTTP Headers plugin to record a session between your browser and the website, so that you understand the full path interaction, too. What cookies do you need to store? Present? What forms are called with what variables and hidden variables, etc. Once you have all that, it should be achievable to automate the task.
May
24
comment Comparing file times in ksh
what platform are you using that doesn't have stat? if it's AIX, check if you have istat.
May
21
comment Portable way to get script's absolute path?
i like it! so far, that's pretty portable. works on Solaris, OmniOS, Linux, Mac, and even Cygwin on Windows 2008.
May
21
answered What do you use the -t “tag” option for in logger?
May
20
comment Is it common to split larger script into multiple scripts and source them in the main script?
especially given that even the older OSes like Solaris are shipping with perl, and python, etc, now. one reason older systems used shell scripts is that the shell was guaranteed to always be available, but bigger Unices, like HP-UX and Solaris, and AIX, couldn't be guaranteed to include other tools.
May
18
comment Setting file permissions in bash script
@JamesAndino the /o=rwx filter is a permissions filter that looks for r(read), w(write),x(execute) bits being set. The o means to compare the filter to the other field. You could also specify u for user, or g for group. or combinations, like -perm -u=rwx,o=rwx to match on both the user and group permissions.
May
18
revised Setting file permissions in bash script
added 359 characters in body
May
18
comment Setting file permissions in bash script
thanks for the correction.
May
17
answered Setting file permissions in bash script
May
17
answered Solaris 11 randomly crashed
May
17
awarded  Informed
May
17
comment What is rpc.statd, what ports should it be listening on, and how to kill it?
Yes. The NFS client will use rpc.statd and portmapper, both.
May
17
answered What is rpc.statd, what ports should it be listening on, and how to kill it?
May
17
comment Utility script framework
+1 for script templates. the real key is education of those writing scripts. define policies, eg: All scripts will send email on failure. All scripts will log output to /var/log/scriptname.log. All scripts will rotate X iterations of logfiles. etc.