1.
ssh port forwarding without starting a new session « *nix Shell One Response to “ssh port forwarding without starting a new session”. Tips for SSH « UNIX Administratosphere Says: December 12, 2008 at 10:05 am ...
2.
suid shell scripts - setting “the SUID bit” « *nix Shell The suid bit, is what you get from a “ chmod u+s ” command, which will set the permissions to “-rwsr-xr-x”, or similar (note the “s” replacing the usual ...
3.
suid shell scripts - setting “the SUID bit” « *nix Shell The suid bit, is what you get from a “ chmod u+s ” command, which will set the permissions to “-rwsr-xr-x”, or similar (note the “s” replacing the usual ...
4.
suid shell scripts - setting “the SUID bit” « *nix Shell The suid bit, is what you get from a “ chmod u+s ” command, which will set the permissions to “-rwsr-xr-x”, or similar (note the “s” replacing the usual ...
5.
suid shell scripts - setting “the SUID bit” « *nix Shell It still had the SUID bit set, it’s just the owner that changed. Let’s just confirm that it’s the “suid + root” that mattered: ...
6.
Timestamps for Log Files « *nix Shell I am on an AIX host which for whatever reason IBM decided not to use GNU date. I have two existing dates already pulled from a log file and I would like to ...
7.
Using GNU Grep for Fun and Profit! « *nix Shell Using GNU Grep for Fun and Profit! Shell Script: GetCluster - a shell script I happen to have written today; uses a few features of GNU Grep, whilst being ...
8.
Simple Maths in the Unix Shell « *nix Shell Jan 29, 2007 ... I’m surprised no one mentioned the real solution to shell math. Using the above example:. a=1 b=2 c=3 d=$(( $a + $b $c )) echo “$d” ...
9.
chmod syntax… be careful! « *nix Shell Sep 9, 2008 ... Ben Hutchings has noted a quirk in the chmod syntax: If you use the “ chmod o-x ” syntax, but omit the “ o ” (Others) (or the “ u ” (User) ...
10.
suid shell scripts - setting “the SUID bit” « *nix Shell I just found an excellent explanation of why suid shell scripts are a very bad idea. So just be glad that most modern OSes don’t allow it. ...
|