[nSLUG] chown, chmod or what

Joe Dunn me at joedunn.com
Fri Jan 5 20:22:01 AST 2007

ssh distroA -l root
chown -R rejean:rejean /home/rejean (make sure /home/rejean/.ssh is owned
then turn off root ssh logins in /etc/ssh/sshd_config

now for the file you want if you already don't have it

put cd media in distroA
mount cdrom
browse to file
cp file /home/rejean
have a beer



On 1/5/07, rejean chamberland <laudire2you at yahoo.ca> wrote:
> Hi all!
> Let's say that I want a fairly long text file from distro A into distro B.
> The only way I know how to do it ( in say distro B) is;
> mkdir /mnt/distroA
> mount /dev/haa? /mnt/distroA
> Then I go into /mnt in distro B and work my way up to where the file is (
> supposed /home/rejean/Desktop ) but then when I try to open the file I am
> told that I don't have the permission.
> This afternoon I tried;
> chown /mnt/distroA/home/rejean
> and now I cannot login distroA as 'rejean' only as root.
> 2 quick questions if I may;
> 1. What should I normally do in such a situation.
> 2. Is there any way to fix the problem?
> Any help will be greatly appreciated.
> Rejean
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug
> !DSPAM:459ee075115926805075261!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20070105/658a8022/attachment-0001.html>

More information about the nSLUG mailing list