[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 - Create Users Without Passwords

Create Users Without Passwords

UNIX/Linux System Administration

Create Users Without Passwords

Postby patrick weaver on Mon Nov 17, 2008 2:01 pm

I have been redoing the six and seven labs in preparation for doing the extra credit lab and am unable to find a reliable resource for a method to set up an account without a password. PLEASE do not suggest
<passwd -f -u gimli> or <passwd -fu gimli> as these do not work (although they claim they do) I have also looked on the internet where I was told to edit files that do not exist in fedora which is the os I am using because I am unable to find specifications for benji, in spite of repeated requests in this forum.
patrick weaver
 
Posts: 28
Joined: Tue Sep 02, 2008 7:13 pm

Re: Create Users Without Passwords

Postby Hilde Bell on Mon Nov 17, 2008 2:23 pm

Just put any character in front of the encrypted password (second field) in the /etc/shadow file right between the : (colon) and the $ (dollar sign). I think I put a * (star) in mine for Gimli's account and it worked.
Hilde
.......__o
.......\<,
....( )/ ( )
Hilde Bell
 
Posts: 46
Joined: Tue Sep 02, 2008 6:47 pm

Re: Create Users Without Passwords

Postby Rich Simms on Mon Nov 17, 2008 2:56 pm

See slide 63 of Lesson 8 for removing a password from an account - Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm

Re: Create Users Without Passwords

Postby keivn dodd on Thu Dec 04, 2008 5:00 pm

/usr/bin/passwd -d gimli
or just
passwd -d gimli

I provided the absolute path because it's good to familiarize yourself with location of commands in the file system.
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