Updating a File's Timestamp with Touch
You can use the Unix touch command to modify a file's timestamp.
The syntax is touch -t STAMP where the timestamp is in the form
[[CC]YY]MMDDhhmm[.ss]
CC - century, e.g. 19 for twentieth century or 20 for twenty first century
YY - year
MM - month, use 01 for January
DD - day, use leading zeroes, e.g. 01 for the first day of the month
hh - hours in 24 hour format, e.g. 13 is 1:00 P.M.
mm - minutes
ss - seconds
Note: brackets denote optional parameters.
E.g. touch -t 200402132233 myfile.txt resets the timestamp on
myfile.txt to February 13, 2004 10:33 P.M.
[/os/unix/commands]
permanent link
Configuring Telnet Server Service on Windows Small Business Server 2003
Starting the Telnet Service
- Click on Start
- Select Administrative Tools
- Select Services
- Scroll down until you find the Telnet service
- Double-click on Telnet
- Change the startup type to Automatic
- Click on Apply
- Double-click on Start
- Click on OK
- Close the Services window by selecting File then Exit
Configuring the Telnet Service for NT Authentication
Normally the telnet service will allow transmission of passwords in
plaintext, i.e. in unencrypted format. Someone with a sniffer can learn
the userid and password if unencrypted passwords are allowed. So ensure
that only NT authentication is used, which will prevent plaintext
passwords from being used to make the connection.
- Click on Start
- Select All Programs
- Select Accessories
- Select Command Prompt
- Type tlntadmn config sec=-passwd and hit the Enter key. You should see "The
settings were successfully updated."
- You can check the settings by typing tlntadm. For "authentication mechanism" you
should see only NTLM
Note: If you wish to see other options for the tlntadm command you can type
tlntadm /?
Specifying Telnet Clients
Under Windows Small Business Server 2003, you must also stipulate which userids are allowed to make
Telnet connections to the server. To do so, take the steps below.
- Click on Start
- Select All Programs
- Select Administrative Tools
- Select Active Directory Users and Computers
- In the right pane, double-click on Telnet Clients
- Click on the Members tab
- Click on Add
- Under Enter the object names to select, put in the userids for which you wish
to allow access
- You can click on Check Names to check the validity of names you have entered
- Click on OK when finished
- Click on OK again at the TelnetClients Properties window
- Click on File then Exit at the Active Directory Users and Computers window
References:
-
Description of the Telnet Server Service Administration Tool
[/os/windows/server2003]
permanent link