Re: No-passwd account and reboot records

2001-02-05 Thread Peter Pentchev
On Sun, Feb 04, 2001 at 09:18:23PM -0500, Zhiui Zhang wrote: > > Is it possible to create a no-password account? Is it possible to record > in a file the times of each reboots? If so, how to do this? Thanks. What is it that you need no-password accounts for? If it is for remotely executed com

Re: No-passwd account and reboot records

2001-02-05 Thread Wes Peters
Zhiui Zhang wrote: > > Is it possible to create a no-password account? Is it possible to record > in a file the times of each reboots? If so, how to do this? Thanks. Reboot (and shutdown) times are recorded in the wtmp file. See utmp(5) for details. -- "Where am I, and what am I

Re: No-passwd account and reboot records

2001-02-04 Thread Robert Watson
If you're using sshd for user login, you'll need to change: PermitEmptyPasswords no to PermitEmptyPasswords yes In /etc/ssh/sshd_config, and restart sshd. My suspicion is that this is an inconsistent choice across various login methods, and that the default should be "yes", even thought

Re: No-passwd account and reboot records

2001-02-04 Thread Dan Feldman
Of course. If you want no password, just set it to blank. This is a very poor idea for anything not behind a heavy firewall, by the way. If you use adduser, you'll be warned. Reboot times are stored in wtmp, which can be viewed along with login times with the last command. Alternatively, it sho