10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I'm having an issue with a directory that is used to forward Windows logs. I have a user account on Windows servers that uses SCP to put logs on my Solaris 10 server. A appliance called LogLogic then takes the logs from my server and stores them. I need to have have group read so the... (8 Replies)
Discussion started by: bitlord
8 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script which calls oracle procedure.
Procedure creates a file using oracle utl_file and places file on unix server at loaction /tmp.
The file permission is getting set to 640 (Owner=oracle, group=dba)
I need it to be 644 by default. (So others can read it.)
The umask... (4 Replies)
Discussion started by: krishna_gnv
4 Replies
3. Shell Programming and Scripting
Hi Experts,
I have one ftp user which will FTP the files to two subdirectories of some other user.
Say i have one user "xyz" . It FTP's the file to the directory of "abc" user. I have added xyz user in abc group.
-rw-r--r-- 1 xyz abc 0 Jul 26 10:05 mo
-rw-r--r-- 1 xyz abc ... (1 Reply)
Discussion started by: sugarcane
1 Replies
4. UNIX for Dummies Questions & Answers
Update: Please anybody can give some help ?
I've an issue with files ownerships.
I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.
However I'm now using svn and I need all folders and files to be owned by my... (1 Reply)
Discussion started by: aneuryzma
1 Replies
5. Shell Programming and Scripting
I have a cron on a Linux server that isn't executing properly.
CRON (with specific info replaced):
MAILTO=emailaddress@server.com
*/2 * * * * python /data/site/cron.py
OUTPUT:
python: can't open file '/data/site/cron.py
': No such file or directoryAdditional info
- The python path is... (3 Replies)
Discussion started by: theHire
3 Replies
6. HP-UX
Hi everybody,
following is the scenario;
OS HP UX 11.23
two users:
# id bodi
uid=109(bodi) gid=20(users) groups=1(other),2(bin),3(sys),106(oinstall)
# id ossmed
uid=121(ossmed) gid=20(users)
umask
077
directory name /home/mydir
directory permissions drwxrwxrwx
requirement: to... (3 Replies)
Discussion started by: ajays
3 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone,
I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions?
This is how they... (3 Replies)
Discussion started by: patrick99e99
3 Replies
8. UNIX for Advanced & Expert Users
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of... (4 Replies)
Discussion started by: Ariean
4 Replies
9. Solaris
one of the business users is ftping files into unix box using user name ftp_user, where as i am using infa_user to login into same unix box. When i am trying to access those or copy over those files from upload directory it says permission denied.
Though i know the password of ftp_user to... (4 Replies)
Discussion started by: Ariean
4 Replies
10. HP-UX
Hi,
We have a apps database running on HP-UX 11.11. Yesterday, we had a problem with the server which was resolved after rebooting the server. Now the problem I am facing is that now the files created by application manager user has weird file permissions. Like instead of rw-r-r it is... (1 Reply)
Discussion started by: isingh786
1 Replies
TWINSTAR(8) User Contributed Perl Documentation TWINSTAR(8)
NAME
twinstar - Control the Twinstar feature of a Xorcom Astribank
SYNOPSIS
twinstar {status|jump|enable-wd|disable-wd|ports}
DESCRIPTION
twinstar is a tool to control the Twinstar (dual USB port) of a Xorcom Astribank. There is a single and mandatory argument which is the
command to run. That command operates on all the Astribanks connected to the system.
Technically all the commands are implemented using Dahdi::Xpp::Mpp which in turn uses astribank_tool. Thus using thus tool will require
root permissions or otherwise read/write permissions to the USB device.
The twinstar may be in watchdog mode, which means that it will jump to the remote host if it loses contact with the local host. This can
happen if the machine is powered down or hangs or even if the xpp drivers are unloaded. Which is why the standard twinstar scripts put the
Astribanks in twinstar mode on startup and remove it on normal shutdown.
An Astribank will only jump to the other host (either if asked explicitly or by the watchdog) only if there is a different Astribank
connected to the other port and running. Which is why all of this has no effect on systems that don't need this functionality.
The command are:
status
Shows the current status of all Astribanks. Note that it only shows Astribanks whose current active USB port is the one connected to this
computer.
Example output:
DEVICE PORT WATCHDOG POWER0 POWER1
usb:001/010 0 on yes yes
usb:001/011 0 on yes yes
For each Astribank on the system that has Twinstar support we get:
Device
The address of the device. This is the bus address, e.g. the address you see in lsusb / dahdi_hardware.
Port
The active USB port on the Astribank. This should be always '0' on the master and always 1 on the slave.
Watchdog
on if the watchdog is triggered in the Atribank or off otherwise.
Power0, Power1
Shows which ports of this Astribank are connected to a USB port of a running computer. This only shows whether or not the USB host
provides power.
ports
Shows the same 'Port' column of the status command.
jump
Command all the Astribanks to jump to the other port. This works regardless the watchdog mode is enabled or not. But requires that there is
power on the other port.
enable-wd
Enables watchdog mode.
disable-wd
Disables watchdog mode.
FILES
twinstar mostly uses astribank_tool which in turn mostly uses USB files under /dev/bus/usb .
perl v5.14.2 2010-07-28 TWINSTAR(8)