Re: Changing home directory



arora.himanshu@xxxxxxxxx wrote:
Hi,
I want to change my home directory from /home/me to /tmp/me without getting root involved. It also means that whether I do ssh or scp or ftp or telnet it should see my home directory as /tmp/me. Any suggestions ?

Thanks,


usermod -dm /tmp/me <your_username>

Cheers

Mattia begin:vcard
fn:Mattia Gandolfi
n:Gandolfi;Mattia
org:Red Hat Italia;EMEA Global Professional Services
adr:;;via Antonio da Recanate 1;Milano;MI;20124;Italy
email;internet:mgandolf@xxxxxxxxxx
title:Consultant
tel;work:+390297374652
tel;cell:+393346564553
x-mozilla-html:FALSE
url:http://www.redhat.com
version:2.1
end:vcard

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: X11Forwarding, ssh -X, and /bin/su
    ... ]>but I'm not really tunneled using ssh then, ... ]connecting to the X server and have the home directory NFS-mounted ... ](unless you leave root unmapped over NFS, ... ]root-readable place and set the environment $XAUTHORITY variable ...
    (comp.security.ssh)
  • RE: SSH keygen and login problem
    ... This should show you why you can't use ssh key to authenticate. ... Kind regards, ... i login with my normal user then use the expert command i use the root privilegs for key creating) ... For my file transfer script i want to use scp without password. ...
    (RedHat)
  • Re: Cannot SSH as normal user using public key
    ... public key authorisation. ... The ssh waits at a password ... The home directory is not owned by the user, nor by root; ...
    (comp.sys.sun.admin)
  • Re: Changing home directory
    ... Mattia Gandolfi wrote: ... I want to change my home directory from /home/me to /tmp/me without getting root involved. ... It also means that whether I do ssh or scp or ftp or telnet it should see my home directory as /tmp/me. ...
    (Fedora)
  • Re: scp as root, but not ssh?
    ... Is it possible to allow scp between machines as root ... # Use this to prevent accounts from doing anything other than scp ... # only within their own HOME directory. ...
    (comp.unix.solaris)