coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Saturday July 4, 2015


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 22 guests online

Newest Member

nbewwmbxog

Hit Counter
16204950 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:649951
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: procsig - how to display signal actions defined by a proces in AIX 5L
Example: procsig 233628
[show me the details]
coolcommand: how to modify the uid or gid of a unix user
Example: find / -fstype jfs -user 10 -exec chown 12 {} \;
[show me the details]
coolcommand: type - how to get a description of the command type
Example: type find
[show me the details]
coolcommand: lmktemp - create a large file in IBM AIX
Example: /usr/sbin/lmktemp file 100m
[show me the details]

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



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX55585
Category AIX53830
Category Solaris53720
solaris23830
aix23309

Terms of Use
Privacy
Contact


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