LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   su prompts for a password when no such is set (https://www.linuxquestions.org/questions/linux-newbie-8/su-prompts-for-a-password-when-no-such-is-set-843763/)

zealer 11-11-2010 04:40 PM

su prompts for a password when no such is set
 
Hello everyone,

Story: i use Fedora9 and i want to set up a FTP server whithout creating a home dir for each and every user, i want them to share 1 home dir. All users are in one group.

Problem: i write the following:
Code:

root# useradd -d /home/ftp_home -g ftp_users -M user1
root# useradd -d /home/ftp_home -g ftp_users -M user2
root# su - user1
user1$ su - user2
Password:
su: incorrect password
user1$

This happens no matter what password i enter. I can only log into user2 if i type user1$ logout ; root#su - user2

slinx 11-11-2010 05:14 PM

Code:

passwd -uf user2
http://www.linuxquestions.org/questi...rd-set-463166/


All times are GMT -5. The time now is 04:22 AM.