coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Monday August 29, 2016


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 19 guests online

Hit Counter
18321845 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:661007
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

chmod - setting setuid or setgid
Description

Setting setuid or setgid with chmod

To setuid:

# chmod u+s dir | file

To setgid:

# chmod g+s dir | file

Meaning:

rwSrwSrwS ( "S" = "S - x" setuid/setgid but not executable)
rwsrwsrws ( "s" = "s + x" setuid/setgid and executable)
Example

chmod u+s file

Return to search results

Random coolcommands

coolcommand: set_parms - to change network address information in HP/UX
Example: set_parms initial
[show me the details]
coolcommand: mtlib - how to list the devices in the library in an expanded device list
Example: mtlib -l /dev/lmcp0 -DE
[show me the details]
coolcommand: swap - how to add a swapfile in Sun Solaris
Example: swap -a /new/swapfile
[show me the details]
coolcommand: how to do a reconfigure boot or reboot in Sun Solaris
Example: boot -r; reboot -- -r; touch /reconfigure; init 6
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts


Top 5 Submitters

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX60358
Category AIX54458
Category Solaris54251
solaris23973
aix23445




Terms of Use
Privacy
Contact


 
coolcommands.com © 2016. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum