comp.os.linux.security
  Home FAQ Contact Sign in
comp.os.linux.security only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.os.linux.security Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  linux tips         


Author: pandu
Date: Jul 13, 2008 17:39

Show full article (1.79Kb)
no comments
  restricted shell         


Author: sulekhasweety
Date: Jul 9, 2008 10:07

Dear all,

this is what i have read in the book ubuntu linux unleashed,

if you have a desire to severly restrict what a user can do, you can
provide him with a restricted shell. to run a restricted bash shell,
you would use the -r option

ex:- bash -r

then try to do something that you could do as a regular user, such as
ls -a,

you will then see

bash: ls: no such file or directory

now my question is suppose i have my shell restricted, how to make it
back un restricted ?
2 Comments
  security vulnerabilities in bash script         


Author: Ggds
Date: Jul 8, 2008 01:24

Hello everyone,

I have this simple bash script that reads from standard input and executes
some work depending on the input that it has read. The input lines are
meant to be in the form of a command followed by an argument.

#!/bin/bash

read input

#these two lines divide input in a first word and the rest; are they safe?
command=`echo ${input%%%% *}`
rest=`echo ${input#* }`

case $command in

print)
echo $rest
;;

*)
echo "wrong command"
;;

esac

Is is possible for the user to provide something to the standard input and
make this script do something different from what it was meant?
Show full article (0.84Kb)
6 Comments
  monthly earning $1000 to$10000         


Author: rose
Date: Jul 7, 2008 05:38

monthly earning $1000 to$10000
simple online survey
create your membership
other details visit
*********************************************
www.awsurveys.com/homemain.cfm?
refid= sivaicici
********************************************
no comments
  ADVERT: Secure communications         


Author: robin_carey5
Date: Jul 7, 2008 00:19

C12-GAMMA; a free/open-source E-mail security and file encryption
tool for BSD/Linux:

http://www.leopard.uk.com/cion

[ probably the most important cryptography software ever written;
because it contains the CipherPacket source-code/algorithm ]
1 Comment