coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Tuesday September 2, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 41 guests online

Newest Member

nbewwmbxog

Hit Counter
13931341 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:639788
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: how to read the contents of /etc/security/failedlogin in IBM AIX
Example: who /etc/security/failedlogin
[show me the details]
coolcommand: how to find when your server was last rebooted
Example: who -b; uptime
[show me the details]
coolcommand: lsnim - how to show objects under a particular class for NIM
Example: lsnim -c class
[show me the details]
coolcommand: change a server hostname with uname command in IBM AIX
Example: uname -S new_hostname
[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

lvo1166
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris53169
Category General UNIX53066
Category AIX52149
solaris23799
aix23179

Terms of Use
Privacy
Contact


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