coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday July 31, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 54 guests online

Newest Member

nbewwmbxog

Hit Counter
13753575 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:638172
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 lock or unlock an account in IBM AIX
Example: chuser account_locked=true myuser; chuser account_locked=false myuser
[show me the details]
coolcommand: vmkfstools- how to copy a VMFS volume in VMware to clone a disk
Example: vmkfstools -e /vmfs/vmfsname/target.vmdk -d vmfs /vmfs/vmfsname/source.vmdk
[show me the details]
coolcommand: How to recycle NFS and clear state files in AIX
Example: stopsrc -g nfs; cd /etc; rm rmtab xtab xtabdup; cd /var/statmon; rm -rf *; startsrc -g nfs; exportfs -av
[show me the details]
coolcommand: metastat - how to output your configuration in md.tab format in Solaris Volume Manager
Example: metastat -p > md.tab
[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 Solaris53106
Category General UNIX52706
Category AIX51667
solaris23799
aix23176

Terms of Use
Privacy
Contact


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