Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To allow serveradmin to login, change the default shell from nologin to /bin/sh by editing the passwd file. The chsh command is not currently available on the package site so you must edit edit the passwd file manually,

Code Block
languagebash
cd ~
cp /etc/passwd ./passwd.2012.08.12.v0.0.tpham.bck # Make a backup first.
sudo vi /etc/passwd # Edit the file with vi or whatever is your favourite editor.

...

http://forum.synology.com/enu/viewtopic.php?f=14&t=44749&start=30

The advantage over the traditional cron tabe approach is less inconsistency in logs for when there are large time corrections. The cost is a little processing power and memory, but for a modern server this is negligible.