We have requirments to not allow a userid login abilities but allow users to 'su' to it. In solaris I normally set the shell in /etc/passwd to bin/false. THis does not work on Linux, any suggestions would help. (1 Reply)
i want to delete every newline and every line which starts with "RECORD......." in a file.
FILE:
Record 61391 in base BROCKHAUS (Timestamp: 2008-04-09 11:38:38)
UNTERTITEL :
Gräfin (seit 1707 Reichsgräfin) von, * Schwerin 4. 2. 1686, + Berlin
21. 10. 1744; wurde
Record 61392 in base BROCKHAUS... (4 Replies)
Hi,
I'm new to UNIX and am trying to learn shell scripting in order to work on an interface that I inherited when a co-worker left. I need to be able to check to see whether a file exists to determine whether the FTP has taken place, but in testing, the if statement always evaluates as false,... (3 Replies)
Hi All,
I am using the below Script to enter a line in the File:
#!/bin/ksh
# To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup
echo "Enter the URL that should point to the particular microsite"
read url
# To delete the last line if it... (0 Replies)
Why this happens?
How to solve this?
$netstat -na |grep 9325
tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED
When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds.
... (1 Reply)
Checking configuration access files for an AIX server, left me wondering about this :confused::
If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level.
Is this insecure condition kept if the user has admin variable... (0 Replies)
I have read the below from the book bash cookbook.Tail +1 filenames is similar to cat filename
I have tried the same in Ubuntu 11.10 with bash. 4.0 .
I have received error for the Same.
May I know in which system that will work fine ?
Thanks (1 Reply)
Hi
I have written a script to send email alerts when load of my linux server reaches max point
I keep getting false emails thought the load is normal , looks like same email is generated again and again - called from cron tab
checked if the tempfile is present , no it is not , cleaned... (22 Replies)
Discussion started by: anil529
22 Replies
LEARN ABOUT DEBIAN
ample
AMPLE(1) User Manual AMPLE(1)NAME
ample - Ample MP3 server
SYNOPSIS
ample [OPTION] [PATH...]
DESCRIPTION
ample Ample is an MP3 server that allows you to listen to your music that can be stored locally or remotely. It does not intend to support
mixing, radio shows etc. It's just an easy way to listen to your MP3's everywhere using the "open location" features already present in
XMMS, WinAmp and Media Player. After installing, configuring and starting ample, try connecting to http://server:1234/ with the "open
location" feature of your favourite MP3 player or http://server:1234/index.html with your favourite web browser.
OPTIONS -p NUM --port=NUM
Listen to TCP port NUM, default is 1234.
-o --order
When a list of files is requested, play them in alphabetical order.
-c NUM --clients=NUM
Allow a maximum of NUM clients to be connected at the same time.
-n --norecursive
Don't automatically index files in subdirs of the directories being indexed
-f FILE --conffile=FILE
Use FILE as config file instead of the default /etc/ample/ample.conf. See ample.conf(5) for details.
-m FILE --htmlfile=FILE
Use FILE as HTML template instead of the default /etc/ample/ample.html. See ample.html(5) for details.
-h --help
Display help message and exit.
-d [NUM] --debug[=NUM]
Print debug messages, a higher value of NUM means more detail.
-t --trace
Disables forking and backgrounding, useful for debugging.
-v --version
Display version information and exit.
-i --pidfile [PIDFILE]
Write a PIDFILE to handle ample as a daemon
[PATH...]
These are path(s) to files or directories that Ample can use to populate it's list of MP3's. If PATH is a directory, all files (pos-
sibly recursively, see the -n option above) will be added. If PATH is a regular file ending with .mp3 it will be added and if it is
a regular file ending with .m3u (MP3 playlist) the files listed in it will be added.
FILES
/etc/ample/ample.conf
The default config file (another file may be used, see the -f option above). See ample.conf(5) for further details.
/etc/ample/ample.html
The default HTML template file (another file may be used, see the -m option above). See ample.html(5) for further details.
BUGS
Of course totally bugfree or your money back :-)
AUTHOR
David Hardeman <david@2gen.com>
SEE ALSO ample.conf(5), ample.html(5)Ample JANUARY 2002 AMPLE(1)