Results 1 to 10 of 12
I have this Print server Debian 2.2 that is connected to my copier. WU-FTPD Version wu-2.6.0(1) is already installed by the factory. I am trying to add a user so ...
- 09-22-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 7
Newbie Needs help with an old Linux Print server box
I have this Print server Debian 2.2 that is connected to my copier. WU-FTPD Version wu-2.6.0(1) is already installed by the factory. I am trying to add a user so I can gain access to the scanned files that are located on a different partition, but I can't do it. Since the print server is a dedicated machine with no keyboard or monitor I took the Hard drive out and I installed it on a PC, but it gets stack at this screen:
boot:
LILO.............................................. ...................
Then I booted with SLAX and I tried to adduser, I got the msg that user was added successfully, but nothing shows in passwd file. I tried editing the passwd, shadow, ftpusers, ftpaccess file, but the best I could do is to FTP login as anonymously and have no access to the directory mnt/hda4/scan/jobs.
Since this server is not exposed on the internet an anonymous user who has access to the directory that I need is not a problem. Please help me edit these files so i can gain FTP access to mnt/hda4/scan/jobs.
ThanksLast edited by diogenis; 09-23-2011 at 12:00 AM.
- 09-23-2011 #2Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
The best way would be to boot into a Debian livecd with the printer hdd slaved, mount the / partition of the hdd and chroot into it then run all the adduser and passwd commands.
That should work assuming that wu-ftpd is using the system accounts on the printer server
- 09-23-2011 #3Just Joined!
- Join Date
- Sep 2011
- Posts
- 7
I just tried using Live Debian CD. I can't even access the drive now. I get the Permission denied popup..
- 09-24-2011 #4Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
How are you trying to access it? What exactly are you doing and what popup are you talking about?
Please provide more details
- 09-26-2011 #5Just Joined!
- Join Date
- Sep 2011
- Posts
- 7
I used Debian with KDE. The windows like interface is easier for me who knows nothing about LINUX. When I tried to read the hard drive partitions of the print server I was getting the message "access denied" and a sound of breaking glass was playing.
- 09-26-2011 #6Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
can you check everything via the terminal? Are you able to access the drives? If you need exact commands for the terminal let me know and I will help
- 09-26-2011 #7Just Joined!
- Join Date
- Sep 2011
- Posts
- 7
Please do
I tried using the terminal but I am not sure if I was doing something wrong or if it was because I have no root access credentials to the partition.
- 09-27-2011 #8Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
After you open a terminal check what user you are logged in as:
whoami
If it's not root then become root:
sudo su -
or
su - root
Use this to check if the drive is mounted:
mount
or to see which one is the drive:
fdisk -l
to mount:
mkdir /some/dir
mount /dev/devicename /some/dir
Let me know if you have any other questions
- 09-27-2011 #9Just Joined!
- Join Date
- Sep 2011
- Posts
- 7
I managed to create another user using the repair option of the debian LIVE cd. I can login with FTP but I can't get access to the other partition. Do you know how I can give access to hda4/scan/jobs?
Thanks
- 09-28-2011 #10Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
When setting up the user you will need to set its home directory to be the /scan/jobs one(assuming that hda4 is automatically mounted at /scan). After you do this you will get into that dir whenever you login via FTP to it


Reply With Quote
