User Tools

Site Tools


Files with extension tar.gz or .tgz are tar files compressed with gzip. On Unix system extract them with following command:

$ gunzip < file.tar.gz | tar xvf -
$ gunzip < file.tgz | tar xvf -

Change user's shell on FreeBSD system to bash

$ pw usermod user_name -s /usr/local/bin/bash
$ pw usershow user_name
user_name:*:1002:1002::0:0:Some User Name:/home/user_name:/usr/local/bin/bash 

Find setuid and setgid files on your system.

find / -type f \( -perm -2000 -o -perm -4000 \) -print
usefulcommands.txt · Last modified: 2014/10/02 14:20 by admin