Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st May 2006, 03:09 AM
pushback Offline
Registered User
 
Join Date: Jun 2005
Location: Bay Area, California
Posts: 167
Any way to create a username with no password?

Before everyone yells at me ...

I am building a fedora box on a virtual machine (VMware) on my laptop for a one-time class I am teaching on MySQL (demanded equal time since this generic "database" class is all in Microsoft Abscess). Everyone will be logging into the VM server with generic usernames (user0, user1 ...) and I just thought it would be nice to leave the passwords out.

ok ... so I tried the passwd utility--won't do it.

I tried removing the X between the colins in the passwd file, like so:

user0::100:100::/home/user0:/bin/bash

Still won't work.

Any ideas?
Reply With Quote
  #2  
Old 1st May 2006, 03:45 AM
Simon Bridge's Avatar
Simon Bridge Offline
Registered User
 
Join Date: Jan 2005
Location: Red Beach (NZ)
Posts: 49
Quote:
Originally Posted by pushback
Before everyone yells at me ...

I am building a fedora box on a virtual machine (VMware) on my laptop for a one-time class I am teaching on MySQL (demanded equal time since this generic "database" class is all in Microsoft Abscess). Everyone will be logging into the VM server with generic usernames (user0, user1 ...) and I just thought it would be nice to leave the passwords out.

ok ... so I tried the passwd utility--won't do it.

I tried removing the X between the colins in the passwd file, like so:

user0::100:100::/home/user0:/bin/bash

Still won't work.

Any ideas?
OK - well I don't think you are doing your class any favours by leaving off the password. They may just get the idea that you don't need passwords in linux. Presumably you gave them a talk about security - why not reinforce the lesson.

Now - removing the x between the colons does that for me ... turns the password into a carriage return. What happens for you?

Then you could turn all the passwords into "user1" etc ... or a similar easy password like "a". You'd still be faced with pointing out that these are terrible passwords.
__________________
S i m o n


"No responsibility for advice not taken."
-- Larry Niven, Niven's Laws

www.hbclinux.net.nz
Reply With Quote
  #3  
Old 1st May 2006, 03:48 AM
Simon Bridge's Avatar
Simon Bridge Offline
Registered User
 
Join Date: Jan 2005
Location: Red Beach (NZ)
Posts: 49
Quote:
Originally Posted by Simon Bridge
Now - removing the x between the colons does that for me ... turns the password into a carriage return. What happens for you?
Have you tried removing the shadow password?
__________________
S i m o n


"No responsibility for advice not taken."
-- Larry Niven, Niven's Laws

www.hbclinux.net.nz
Reply With Quote
  #4  
Old 1st May 2006, 03:51 AM
solarisman Offline
Registered User
 
Join Date: Apr 2006
Posts: 73
you need to do the same thing in /etc/shadow (if present)
Reply With Quote
  #5  
Old 1st May 2006, 11:27 AM
ezzetabi Offline
Registered User
 
Join Date: Mar 2006
Location: assert(false);
Posts: 111
or for a easy and GUI-guided version, start 'kcontrol' -> System Administration -> Login Manager -> Convenience
There is the possibility of activating password less logins. Just be sure your guest account isn't in any important group and also as root write:
find / -perm +002 -type d 2>/dev/null
to see if someone allows writing access for everyone. If it so, it is very dangeous keeping a passless login.

You know... everyone can login and write:
find / -perm +002 -type d -exec touch {}/Check\ your\ chmod\ better!!! \;2>/dev/null >~/logfile.txt

Last edited by ezzetabi; 1st May 2006 at 11:31 AM.
Reply With Quote
Reply

Tags
create, password, username

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No username or password nijltjetweety Installation and Live Media 5 10th August 2008 02:23 PM
Username and Password Daraus Installation and Live Media 5 11th May 2008 07:11 PM
What username and password to use for . . . royeo Using Fedora 0 28th September 2006 12:48 AM
Username and password, help! s10237 Installation and Live Media 4 16th February 2005 01:02 AM
username & password xalabam Using Fedora 3 25th April 2004 11:29 PM


Current GMT-time: 22:32 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat