Idiot that needs some help

Place to discuss Fedora and/or Red Hat

Idiot that needs some help

Postby edwardsen35 » Tue Apr 08, 2003 7:53 pm

I downloaded and installed "Red Hat 9.0 " During the instalation I don't know if I missed the section where you are suspose to add other users or Red Hat didn't include it. Anyways when I first started Red Hat 9.0 I logged on as root. I then did a "adduser -p test scott". I exit out of the root account and try to log as scott. When try to log on it says that I have the incorrect password. Did I type the adduser command in wrong? Should I be using another command?
edwardsen35
user
user
 
Posts: 26
Joined: Mon Feb 10, 2003 9:11 am

Postby Void Main » Tue Apr 08, 2003 8:10 pm

I always do an "adduser username" to create the user and then a "password username" to set the password. But it looks like it should have worked the way you did it. Log in as root and type "passwd scott" to reset the password.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby edwardsen35 » Wed Apr 09, 2003 9:44 am

I Logged in as root, typed "passwd scott" and I was able to set the password. I don't know why "adduser -p test scott" didn't work but it isn't a big deal since "passwd scott" worked.

Thanks for the help!

-edwardsen35
edwardsen35
user
user
 
Posts: 26
Joined: Mon Feb 10, 2003 9:11 am

Postby Calum » Wed Apr 09, 2003 10:06 am

i was under the impression that you always need to run 'passwd username' after you create a new user. useradd might have a bit for you to put in the password, not sure. either adduser or useradd does, but the other one doesn't. and that depends on which version of which distro you have too, but i think it's useradd in red hat.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Linux Frank » Wed Apr 09, 2003 10:40 am

I know Redhat can get really finicky about the passwords you use and it will reject anything it deems too simple, I don't know if it will error message this and ignore the password in the useradd command. I know that in password you get warnings that it is too simple. Does useradd automatically reject simple passwords perhaps?
Linux Frank
administrator
administrator
 
Posts: 239
Joined: Fri Jan 10, 2003 2:06 pm

Postby Void Main » Wed Apr 09, 2003 11:37 am

Linux Frank wrote:I know Redhat can get really finicky about the passwords you use and it will reject anything it deems too simple, I don't know if it will error message this and ignore the password in the useradd command. I know that in password you get warnings that it is too simple. Does useradd automatically reject simple passwords perhaps?


A normal user can not bypass the password rules, but root can bypass it, even for setting normal user passwords. For instance, if as root you set a user's password to "123" it will complain that the password is too short, but if you type in "123" again it will accept it and the user's password will be 123. Now, there are reasons for not having a password such as "123" but you can certainly set it that way if you are root.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Calum » Thu Apr 10, 2003 4:34 am

that makes a lot of sense. this way whenever users forget their password, root can just reset the user's password to something simple and easy (but insecure) temporarily, like "pass" or something, until the user logs in and changes it. (pass fails as a good password due to being too short and being a dictionary word i think)
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron