Changeset 274 for branches/samba-3.3.x/docs-xml/smbdotconf/logon
- Timestamp:
- Jun 17, 2009, 2:19:52 PM (16 years ago)
- Location:
- branches/samba-3.3.x/docs-xml/smbdotconf/logon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs-xml/smbdotconf/logon/abortshutdownscript.xml
r217 r274 10 10 11 11 <para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>, 12 right, this command will be run as user.</para>12 right, this command will be run as root.</para> 13 13 </description> 14 14 <value type="default">""</value> -
branches/samba-3.3.x/docs-xml/smbdotconf/logon/shutdownscript.xml
r217 r274 11 11 12 12 <para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>, 13 right, this command will be run as user.</para>13 right, this command will be run as root.</para> 14 14 15 15 <para>The %z %t %r %f variables are expanded as follows:</para> … … 43 43 <programlisting format="linespecific"> 44 44 #!/bin/bash 45 46 $time=0 47 let "time/60"48 let "time++"45 46 time=$2 47 let time="${time} / 60" 48 let time="${time} + 1" 49 49 50 50 /sbin/shutdown $3 $4 +$time $1 & 51 51 52 </programlisting> 52 53 Shutdown does not return so we need to launch it in background.
Note:
See TracChangeset
for help on using the changeset viewer.