coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday September 25, 2016


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 18 guests online

Hit Counter
18438143 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:661554
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: smc - how to start the Solaris Management Console gui
Example: /usr/sbin/smc
[show me the details]
coolcommand: query_cecs - list managed systems of HMC
Example: query_cecs
[show me the details]
coolcommand: TZ - how to determine your timezone variable
Example: echo $TZ
[show me the details]
coolcommand: how to disable local warning in Perl 5.8
Example: PERL_BADLANG=0
[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 UNIX60645
Category AIX54469
Category Solaris54259
solaris23973
aix23448




Terms of Use
Privacy
Contact


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