SYMLINKS / HARDLINKS

### SMYLINKS / SOFT ### Note: Symlinks may traverse file systems & point to directories Softlinks ln -s source(file/directory) target (any directory) Note: use ls -Ll symlink_name to reveal symlink’s TRUE permissions Note: symlinks are created with 777 permissions The target exits or you dont have permissions use: ln -fs /curl* curl ### HARDLINKS ###… Leer más: SYMLINKS / HARDLINKS »

Categoría: Nix

SETUID/GID

chgrp – change file group ownership # which /usr/bin/chgrp /usr/bin/chgrp ### SETUID / SETGID ### – Sets the effective user/group ID ### chmod 644 filename chmod 0644 filename SETUID – 4 SETGID – 2 chmod 4660 filename.txt -rwSrw—- filename.txt ( note the S ) ### Security Breach Warning ### SETUID run as the owner of… Leer más: SETUID/GID »

Categoría: Nix

File Permissions / Types

Permissions hard_links owner group_owner size Month day MTime name -r-xr-xr-x 1 root bin 10196 Jan 22 2005 time Permissions – represented by 10 bits: 0 bit = file type ( – file, d directory, b block, l symbolic link, p named pipe, s socket ) Note: remaining 9 bits are grouped into 3 groups 123… Leer más: File Permissions / Types »

Categoría: Nix

monitor a number of file descriptors opened by a particular process

> Hi, > How can I monitor a number of file descriptors opened by a particular > process on Solaris8 ? > Thanks, > Alona download lsof from http://www.sunfreeware.com/, then run «lsof -p pid». Victor Responder al autor Reenviar Debes registrarte antes de enviar mensajes. Para enviar una entrada, antes deberás formar parte del grupo.… Leer más: monitor a number of file descriptors opened by a particular… »

Sun Patch Framework

Sun Update Manager . updatemanager GUI version of smpatch smpatch – CLI of updatemanager – analizyse / download /add The following components requiere service plan: Sun Update Web Application – Web Portal hosted by sun.com faciliates the management of patches for 1 or more systems Sun Update Connection Proxy – Creates a local patch server… Leer más: Sun Patch Framework »

Patching the Solaris / BOX / Patch Management

Steps: 1. Register the system with Sun in order to use Update Manager and other tools. i.e. Sun Update Connection Applications -> Utilities -> UpdateManager # which updatemanager /usr/bin/updatemanager Registration without subscription key limits updates to the following: a. Security updates for sotware b. applicable hardware updates ( firmware ) Note: Sun Update Connection features… Leer más: Patching the Solaris / BOX / Patch Management »

Solaris DVD Installer PKG MGMT.

Setup NFS on installation server to share DVD contents: share -F nfs -o ro,anon=0 /export/home/Solaris10 [ssybl2:~]# cat /etc/dfs/dfstab # Place share(1M) commands here for automatic execution # on entering init state 3. # # Issue the command ‘svcadm enable network/nfs/server’ to # run the NFS daemon processes and the share commands, after adding # the… Leer más: Solaris DVD Installer PKG MGMT. »