[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - Gimli's password

Gimli's password

UNIX/Linux System Administration

Gimli's password

Postby fred deakin on Wed Oct 29, 2008 2:36 pm

Just a hint. If you decide to grant Gimli's request and allow him to login without a password, it won't work via remote access (via Putty). However, it will work if Gimli is logging into the local host.

Let me know if you are able to make it work so that he doesn't need a password to login remotely.

Fred
fred deakin
 
Posts: 23
Joined: Tue Sep 02, 2008 7:11 pm

Re: Gimli's password

Postby Tim Childers on Thu Oct 30, 2008 3:23 pm

I been trying to fine out how you allow gimli to logon without a password. How did you do this?
Tim Childers
 
Posts: 57
Joined: Mon Oct 06, 2008 6:33 pm

Re: Gimli's password

Postby Rich Simms on Thu Oct 30, 2008 4:51 pm

You need to use vipw to remove the password for Gimli.

There is a way to do this for Putty as well although it will take some fiddling to get it right. SSH supports key based authentication. You create your public and private keys using Puttygen. Put the public key on the remote system and configure your private key locally on Putty.

I haven't done this recently so take a look at: [url]http://www.howtoforge.com/ssh_key_based_logins_putty[/url] or google "putty key based login" for more details.

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm

Re: Gimli's password

Postby Rich Simms on Sun Nov 02, 2008 4:44 pm

This works as well to remove Gimli's password:

[code]passwd -d gimli[/code]

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm

Re: Gimli's password

Postby fred deakin on Mon Nov 03, 2008 5:20 pm

I hope we don't have to configure Putty for the purposes of this lab!
fred deakin
 
Posts: 23
Joined: Tue Sep 02, 2008 7:11 pm

Re: Gimli's password

Postby keivn dodd on Tue Nov 04, 2008 6:53 pm

You can edit the gimli line in the /etc/passwd file and substitute an x for password hash.
keivn dodd
 
Posts: 43
Joined: Sat Sep 13, 2008 2:30 am

Re: Gimli's password

Postby keivn dodd on Tue Nov 04, 2008 8:00 pm

You can also edit /etc/passwd directly and substitute gimli's password hash for an x.
keivn dodd
 
Posts: 43
Joined: Sat Sep 13, 2008 2:30 am


Return to CIS 191B - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron