The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
47 views

Join existing linux user to AD domain

I succesfully join fedora and ubuntu thanks to realmd package. After I join the machine I can also log with a domain user with no problem. What I'd like to do now is to move and existing local user to ...
0
votes
2answers
67 views

SSH tunneling between two server

I'm trying to create SSH tunnel between two VPS for Secure MySQL Replication. I follow these steps (read only Step 1: Setup SSH Tunneling): ...
0
votes
1answer
378 views

Exim4 panic log: “Failed to get user name for uid 1001”

I have a router which delivers mail to certain domains into a MailDir for the domain, and uses a domain:user map to give file ownership to the right user. The problem is that since updating the uid ...
2
votes
1answer
6k views

Add a Home directory for already created user when no direct root login available

I have a user account provided by client with unrestricted sudo access, but this user has no home directory. I want to create one, but I'm not sure how to go about it. I tried logging in as my ...
1
vote
1answer
88 views

recovering from a plaintext password in usermod -p

My small office's server was under attack yesterday and today and apparently the hacker gained access through a weak password (i.e. I am to blame entirely). The moment I noticed this, I fysically ...
-2
votes
1answer
48 views

Change group gid for new group

I have added a new group to my system, which I will add my user to, so my UID/GIDs are sync'ed with my company's server when using NFS (fixing write permission issues). I've created a new ...
2
votes
1answer
156 views

Apache 2.4.6 (User mod 403)

Hello (Sorry for my bad english) I have a big problem on my server (Debian) I have do the upgrade and for all my clients (mysite.fr/~user) I have an error 403 : In /etc/log/apache2/error.log ...
0
votes
1answer
68 views

Why can a non-root account access my debian server's base directory?

I have an account on debian named 'usera'. 'usera' has a home directory of /home/whatever When I log in to WinSCP using 'usera' and its credentials - I am able to go "up" one directory into /home and ...
1
vote
1answer
40 views

why apache still write files it did have permissions to after I exclude it from the group that has permission when it was running

On the server, I have a file called upload and its state was as follows: drwx--x--- 12 bob bob 4096 JUL 20 19:07 upload I use this file to be the destination file of the PHP function ...
0
votes
1answer
2k views

Can't change user's details with `usermod`, it claims they are still logged in

I can't change a user's home directory using usermod; [root@server ~]# usermod -d /some/opther/path userfoo usermod: user userfoo is currently logged in [root@server ~]$ who myuser pts/0 ...
4
votes
1answer
2k views

is it safe to group a user under “nobody” group

I have created a group called "devs". All our coders are grouped under "devs" so that they can access our websites which are all under public_html folder. I changed the group of public_hml to "devs", ...
1
vote
2answers
538 views

Changed shell and can't ssh login to root account

I used the command usermod -s /bin/fish root to change the root user's shell and now I can't login to my root account. Why is this happening? I am trying to SSH into a server running Ubuntu through ...
0
votes
1answer
2k views

403 Forbidden warning after installing/enabling usermod

I'd like to have per-user web directories on my Linux Mint workstation in the same general way I have had on OS X. In order to do this, I created a public_html directory in ~/. and chmod'd it to 755 ...
1
vote
1answer
1k views

Root password change using usermod

I'm trying to implement an automated root password change for our Linux boxes. I'm generating a hash in the script since users will be able to see the contents of the script. I found that you can ...
1
vote
1answer
3k views

Add www-data to group

I have a directory with the following details: drwxrwxr-x 6 root devs 4.0K Sep 9 14:57 project_dev Now I want www-data (Apache daemon) to have an access to this directory, so in my mind I am ...
1
vote
2answers
4k views

How to add LDAP user to existing group?

I'm attempting to add some of our LDAP users to a locally defined group on our RHEL server, however I get an error stating that the LDAP user is not found in /etc/passwd. What would be the best way ...
0
votes
1answer
442 views

Adding existing user to existing group and providing permissions

can someone shed some light on this issue I've set up and installed vsftpd. Created a user ftp-user and created a home directory, so they can log in, and just have access to drop their files here. ...
1
vote
2answers
481 views

User wants PHP to be able to write files in his directory

The user wants to let PHP write files in his /home/ directory, he is advising me to do usermod -a -G www-data username where username is his username. I wasn't sure if this was a security issue or ...
0
votes
1answer
2k views

Listening to 80 port with non-root Glassfish on Centos

I use Glassfish Stack to manage applications. I run Glassfish on CentOS with non-root user. Therefor I am not able to open 80 port as the ports under 1024 are accessibly only by root users. There is ...
18
votes
6answers
14k views

Default groups assigned to the first user in Ubuntu Server 8.04?

I just made a silly mistake on my Ubuntu Server box: I added myself to a group using usermod -G, after which I discovered the -a option... The result is that I am now out of the admin group, and ...