One of my users (user1) is able to connect to myserver (as user1) using SSH key authentication. The id_rsa keys are set up in /home/user1/.ssh and this works fine: the key is authorized on the server.
I've created a second user on the same client machine (user2) and copied the entire .ssh directory into /home/user2/.ssh.
Hi,
I created user1 & user2 on my Linux machine. User2 cannot access home directory of user1. How user2 access the user1 home directory without changing owner of the directory. from root user, i tried chmod 755 /home/user1. But user2 trying to change directory it provides permission denied error.
Thanks for advance
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly
Have user1 and user2.
i did a mistake. :(
Code:
user1 ]$ vi ~/.bashrc
sudo su - user2
now , whenever I try to login to user1 , it will login to user2.
How can I resolve this ? :rolleyes:
N.B
-- I do not have root access.
-- I dont know password of user2
-- this is a virtual machine.
Hi,
I am working on setup a environment where only a specific user can upload the builds on htdocs of apache.
Now i want that a specific user can copy the builds on htdocs folder.
I created a group "deploy" and assign user1 and user2 to this group.
Here is my situation. I want to give users access to a folder not in their home tree.
I have user1 and when he accesses the ftp he sees / when he is really accessing /somedir/home/user1
Then user2 again sees / when really accessing /somedir/home/user2
I also have my anonymous user who sees / when really accessing /somedir/home/public.
I have Ubuntu 10.10 that works perfect for me and my family. Now I would like to install a fresh 12.10 release. I have a separated /home partition.
After installing a new version, I need to configure users on the system.
How to add new users that will use the existing /home partition?
My question is if I have user “user1” and there is /home/users1 folder.
hello friends....
now i m in job...and the task is that..
i m configuring the sendmail server and i want that if any of my mail clients marked the mail as a untrusted mail . then after, the particular client will not get mail from that mail id.
for example:-
if there are 2 sendmail users named user1, user2 with email id's user1@example.com, user2@example.com respectively.