coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Friday May 24, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 21 guests online

Newest Member

nbewwmbxog

Hit Counter
11567266 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620331
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: sysdumpdev - how to assign a primary or secondary dump device in IBM AIX
Example: sysdumpdev -P -p /dev/hd7
[show me the details]
coolcommand: /etc/release - how to find the release version of Sun Solaris
Example: cat /etc/release
[show me the details]
coolcommand: how to find which RPM package owns a file in Linux
Example: rpm -qf /path/to/file
[show me the details]
coolcommand: how to set the maximum corefile size in Linux
Example: ulimit -c 512
[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

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51966
Category AIX49058
Category General UNIX47582
solaris23554
aix22739

Terms of Use
Privacy
Contact


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