Search Results

Search: Posts Made By: Nvizn
Forum: Solaris 06-01-2018
5,174
Posted By rbatte1
You could intercept the command and insert your...
You could intercept the command and insert your own script perhaps. If you have a new directory called /usr/sbin/secure and move the real executables in there, your script to replace them could be...
2,228
Posted By jim mcnamara
More specifically, to allow us to help you to...
More specifically, to allow us to help you to create regular expression syntax and a script:
16,283
Posted By Peasant
file2 variable will expand to multiple values...
file2 variable will expand to multiple values (file names from directory specified)

It cannot be used in if [ -f $file2 ] .. , the error will be to many arguments (it expects one not a list of...
Forum: Ubuntu 04-18-2015
2,112
Posted By RudiC
man passwd:
man passwd:
1,304
Posted By Akshay Hegde
Aia and rbatte1 are right there is missing / near...
Aia and rbatte1 are right there is missing / near shebang :b:
1,304
Posted By rbatte1
Try with #!/bin/bash instead. You may need...
Try with #!/bin/bash instead.

You may need to give the full path to the mail command to.




Robin
1,304
Posted By Aia
With cron jobs the best practice is to write...
With cron jobs the best practice is to write everything as absolute path.

watch the missing `/' in #!/bin/bash
Forum: Solaris 02-21-2013
2,445
Posted By DustinT
There's a few ways to do what you're trying to....
There's a few ways to do what you're trying to. You might want to read through the System Admin Guide: Security. It's long, but worth it.

System Administration Guide: Security Services...
Forum: Solaris 01-04-2013
1,485
Posted By Smiling Dragon
Solaris doesn't do much, but sendmail comes...
Solaris doesn't do much, but sendmail comes standard, if you are using sendmail then:
/etc/mail/aliases (as you found)
$HOME/.forward
$HOME/.procmailrc
/etc/.procmailrc
find / -type f -name...
Forum: Solaris 11-19-2012
2,782
Posted By bartus11
Try doing this: svccfg export...
Try doing this:
svccfg export svc:/application/database/postgresql > postgres.xml
Edit postgres.xml and add another <instance></instance> stanza after last </instance> tag, containing parameters...
10,745
Posted By Neo
Yes, see this page: Man Page for su...
Yes, see this page:

Man Page for su (OpenSolaris Section 1m) - The UNIX and Linux Forums (https://www.unix.com/man-page/OpenSolaris/1m/su/)

su - become superuser or another user
10,745
Posted By methyl
Note that unix commands are in lower carriage....
Note that unix commands are in lower carriage. The su - root command starts a new Shell and executes root's profile . Without the - it doesn't. This is described at length in man su.
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy