ssh-keygen -b 1024 -t dsa
Friday, April 14, 2006
Wednesday, April 12, 2006
root password変更
http://lantech.geekvenue.net/chucktips/jason/chuck/1002317496/index_html から
-----------
[Boot in single user mode]
[Mount the filesystems]
[Change the root password]
-----------
[Boot in single user mode]
As the operating system is starting, it will display the following message:
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel] in 10 seconds...
You should now press the space bar, and you will see the following message:
Type '?' for a list of commands, or 'help' for more detailed help.
ok
Now type boot -s and press the enter key to start FreeBSD in single user mode. After the system boots, you should see the statement:
Enter full pathname of shell or RETURN for /bin/sh:
Press the enter key and you will have a # prompt.
[Mount the filesystems]
At the command prompt, issue the mount command. This command will mount all the filesystems listed in your /etc/fstab file.
# mount -t ufs -a
[Change the root password]
Issue the passwd command and you will be prompted to enter a new password for the root account.
# passwd
New password:_
Retype new password:_
passwd: updating the database...
passwd: done
# exit
There is no need to reboot the operating system to go to multi-user mode. The exit command will cause the system to return to multi-user mode without a reboot.
Wednesday, April 05, 2006
Subscribe to:
Posts (Atom)