|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620331 | | Members: | 22813 | |
|
|
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
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
|  |  |  |  |
|
|
|
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 51966 |
| Category AIX | 49058 |
| Category General UNIX | 47582 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|