Re: change home directory name

2012-04-02 Thread Michael Havens
lovely. because it ran out of space my old user can't log in to the gui. I try logging in to a terminal as and it says: root@Michaels-PC:~# su bmike2 To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. bash: bmike2/.bashrc: Permission denied

Re: ssh in network

2012-04-02 Thread Michael Havens
server is installed on all of them. On Mon, Apr 2, 2012 at 2:45 PM, Dazed_75 wrote: > server needs to be installed on any and all machines you want to ssh TO. > Server is the component/daemon that listens for a request to connect. > > On Mon, Apr 2, 2012 at 12:55 PM, Michael Havens wrote: > >>

Re: ssh in network

2012-04-02 Thread Dazed_75
server needs to be installed on any and all machines you want to ssh TO. Server is the component/daemon that listens for a request to connect. On Mon, Apr 2, 2012 at 12:55 PM, Michael Havens wrote: > guess what I just found out openssh-server wasn't installed on the > laptop. So I installed

Re: change home directory name

2012-04-02 Thread Michael Havens
Well, I guess I don't really need to change the directory's name. So I suppose just 'usermod -l ' On Mon, Apr 2, 2012 at 2:23 PM, Michael Butash wrote: > Add some? :) > > Actually it sounds like it's "copying, then deleting" (safe) vs. "moving", > so if you're short diskspace, you'll need t

Re: change home directory name

2012-04-02 Thread Michael Butash
Add some? :) Actually it sounds like it's "copying, then deleting" (safe) vs. "moving", so if you're short diskspace, you'll need to just move it, change your /etc/passwd and group file for the user/uid, and chown -r the directory to the new username/uid. Matrix's method presumes you have t

Re: change home directory name

2012-04-02 Thread Michael Havens
hm. It just ran out of disk space. Any suggestions on what I can do about that? On Mon, Apr 2, 2012 at 1:58 PM, Michael Havens wrote: > thanks for explainig the rationale of putting the old user name last. > > > On Mon, Apr 2, 2012 at 1:33 PM, Matrix Mole wrote: > >> If the account you are

Re: change home directory name

2012-04-02 Thread Michael Havens
thanks for explainig the rationale of putting the old user name last. On Mon, Apr 2, 2012 at 1:33 PM, Matrix Mole wrote: > If the account you are trying to change is your current account, it may be > easier to login as root to make the changes (just to prevent any existing > programs in memory t

Re: change home directory name

2012-04-02 Thread Matrix Mole
If the account you are trying to change is your current account, it may be easier to login as root to make the changes (just to prevent any existing programs in memory trying to use the old username/directory). I'd also use the command as follows: usermod -l -md since an existing username need

Re: change home directory name

2012-04-02 Thread Michael Havens
I'll use usermod then. Thanks for letting me know about it. so I think this is the proper syntax. Will this work? sudo usermod -l -dm On Mon, Apr 2, 2012 at 1:13 PM, Matrix Mole wrote: > If you are changing your username, there is flags to the usermod command > that can help change the ho

Re: change home directory name

2012-04-02 Thread Matrix Mole
If you are changing your username, there is flags to the usermod command that can help change the home directory. The -d flag to usermod will update /etc/passwd with the users home directory, and the -m flag will move the old directory to the new name. I'm pretty sure that usermod will also take ca

Re: change home directory name

2012-04-02 Thread Michael Havens
Thanks. Is that the only thing I have to worry about? On Mon, Apr 2, 2012 at 12:57 PM, Patricia Wilson wrote: > Note that your home directory name appears in the /etc/passwd file so the > system knows where you "live" when you login. If you change the name of > that directory you need to change y

Re: change home directory name

2012-04-02 Thread Patricia Wilson
Note that your home directory name appears in the /etc/passwd file so the system knows where you "live" when you login. If you change the name of that directory you need to change your entry in the passwd file to match. On Mon, Apr 2, 2012 at 12:17 PM, Michael Havens wrote: > How would I accompl

Re: ssh in network

2012-04-02 Thread Michael Havens
guess what I just found out openssh-server wasn't installed on the laptop. So I installed it and now netstat has the same line on it that says port 22 sudo netstat -antp | grep 22 tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 433/sshd However, I still can't ssh to th

change home directory name

2012-04-02 Thread Michael Havens
How would I accomplish this? Is it as easy as just moving the old name to the new name; or should I do a 'find -r / |mv - --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings:

Server Installfest

2012-04-02 Thread PLUG Announcements
The next Server Installfest will be Saturday April 7 at UAT from 10am-4pm as usual. Server Workshop Agenda April 7th, 2012 10 to 11 AM Discussion of using Jenkins in the Tagcose project 11 to 12 PM Developing the road map for Tagcose (using the Trac section for documenting milestones) 12 to 1 P

Re: ssh in network

2012-04-02 Thread Michael Havens
On Sun, Apr 1, 2012 at 7:28 PM, Lisa Kachold wrote: >Are you colorblind? ^-- only slightly >respond inline. ^---not sure what you mean. >Let's address each item until we resolve things: On Sun, Apr 1, 2012 at 5:49 PM, Michae

Re: scp in reverse?

2012-04-02 Thread Michael Havens
thanks. On Mon, Apr 2, 2012 at 7:32 AM, kitepi...@kitepilot.com < kitepi...@kitepilot.com> wrote: > You can't get anywhere without a username: > ssh @ > ET > > > Michael Havens writes: > >> well... yeah. I knew that. I was really asking how one did that. I mean >> like do you drop the user name a

Re: scp in reverse?

2012-04-02 Thread kitepi...@kitepilot.com
You can't get anywhere without a username: ssh @ ET Michael Havens writes: well... yeah. I knew that. I was really asking how one did that. I mean like do you drop the user name and it would be ':thatfile this file' or 'thisfile :that file'. On Mon, Apr 2, 2012 at 6:25 AM, kitepi...@kit

Re: scp in reverse?

2012-04-02 Thread Michael Havens
well... yeah. I knew that. I was really asking how one did that. I mean like do you drop the user name and it would be ':thatfile this file' or 'thisfile :that file'. On Mon, Apr 2, 2012 at 6:25 AM, kitepi...@kitepilot.com < kitepi...@kitepilot.com> wrote: > Michael, "names" on a network are fake

Re: scp in reverse?

2012-04-02 Thread kitepi...@kitepilot.com
Michael, "names" on a network are fake. There are only IP address in a network . You "translate a name" into its corresponding IP address via a "name resolution service" A "name resolution service" can be as simple as an /etc/hosts file or as complex as a full blown self-replicating/redundant