RE: [redhat-list] updates pending question, is, sftp problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Constance   Morris wrote:
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of m.roth@xxxxxxxxx
> Constance   Morris wrote:
>> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of m.roth@xxxxxxxxx
>> Constance   Morris wrote:
>>> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of m.roth@xxxxxxxxx
>>> Constance   Morris wrote:
>> <snip>
>>>> problem last week with having started these updates then stopped
>>>> them mid-stream when some of our professors could not ssh to the
>>>> webserver using Expression Web software via SFTP?
<snip>
>>> The weird thing is that two of them get the same login error message
>>> and a third gets something different.
>>> Here are the errors:
>>> "FTP Error...Cannot open remote folder pac-2013/ Access Denied."
>>> And the other login error:
>>> "There is no site name "whatever the home directory location is for
>>> the user".
>>
>> The latter tells me that this user does not have it configured, and I
>> assume, possibly wrongly, that one of youse guys needs to go into
>> wherever you manage users and set it up for him. It also leads me to
>> suspect that the other two users are misconfigured.
>>
>> Yup. I just googled on Web Expression configure sftp, and found this
>> link:
>> <http://msdn.microsoft.com/en-us/library/cc295154%28v=expression.30%29
>> .aspx> Someone needs to go there and check those three users'
>> configurations.
<snip>
> Hmmm... I just googled Expression Web, and found the wikipedia entry, and
> see that it's client-only, that there's no setup on the server side, which
> is what I was thinking there was. Is this stuff installed on each user's
> machine? If so, I think someone (you? the other guy?) needs to go over to
> the three people, and go through their configuration of the tool.
>>
Going back to that site, I see "change publishing destination"
instructions, and I more think that someone needs to go to sit with them.

>> May I impose upon you one more time?
>> My 2 predecessors left me two different commands in setting up new
>> users and their directories on the server for expression web access.
>> I'm going to list both and do you mind looking over them and giving me
>> your opinion?
>> I've used both to create test users and directories to try and resolve
>> this login issue for expression web, but neither are working for me,
>> so I'm either doing something wrong or missing something.
>>
>> 1.) useradd -d /var/www/html/faculty-staff -s
>> /opt/openssh/libexec/sftp-server -g sftp -G www,faculty-staff username
>>
>> * Now, I know you or Robert mentioned last time that it should really
>> be /usr/libexec/openssh/sftp-server instead of the
>> /opt/openssh/libexec....
>>
>> 2.) useradd -m -k /var/www/userSkel -G faculty-staff,www -g sftp -s
>> /usr/libexec/openssh/sftp-server -d /var/www/html/faculty-staff/username
>> And then the next command:   cp -ir /var/www/userSkel/*
>> /var/www/html/faculty-staff/username
>
> Constance, *do* read man useradd. That will show you that the latter, in
> your case, is probably better, since *if* /var/www/userSkel is populated
> correctly, this will set up your users' home directories with the
> necessary configuration files, like .bash_profile, .bashrc, and presumably
> the ~user/.ssh directory and contents. Note that it says clearly, in the
> man page, for the -k flag, that it does everything that the cp does, and
> better.
>
> Oh, and IIRC, you're new to Linux and/or sysadmin, so remember that you
> can also man man.... (read the manpage for man) <g>
>
> Thanks Mark.
> I did read over the useradd man page before writing you, but I wanted to
> make sure I was understanding things correctly. However, I did not know
> there was a manpage on man. :-)

Yeah, when someone throws that at you - which is what always happens, and
it's always sort of an in joke.

> I will try the other suggestions you made and thanks again.
> Have a great weekend!

You, too.

     mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux