0
votes
1answer
33 views

What account should own the files on a shared ubuntu webserver? [duplicate]

I have multiple users with FTP access to my ubuntu server, each running their own website. Apache is running as default after installed through apt-get. I believe www-data is the apache user. If the ...
1
vote
1answer
41 views

Where does adduser's Directory Information Go?

When I use the command adduser it asks me for all sorts of directory-like information such as: Full Name Room Number Work Phone etc. Where is this information stored and how does one retrieve or ...
0
votes
1answer
298 views

Audit of who ran what command via ssh with shared account

We use shared accounts on our servers. Each uses a different ssh key. Is there a way to create an audit trail of who ran what commands? We can distinguish real "users" by the ssh key used.
0
votes
1answer
29 views

Custom user and custom permission on Linux

I've this need, I have to install ubuntu on a machine for a specific purpose, and I have to create a particular locked user account. On startup i need to display the login box (so I have to admin the ...
0
votes
1answer
158 views

PXE server - ubuntu setting username/password later - is it possible?

so I am writing a program in mainly C/C++, though I think this question fits under server fault as it is related to the Linux distro Ubuntu. So what I am looking for is a way (possibly hackerish-way) ...
0
votes
1answer
78 views

Ubuntu, How to prevent listing sub-directory if parent-directory is protected

I remember last time when I am on some Linux OS ( cannot remember ), when I change the mod of a directory to 711, that folder together with all of its sub-directories cannot be listed (ls -al) by any ...
2
votes
3answers
2k views

Remove user from root group

Somehow I managed to add user Tom to root group in Ubuntu, in order to avoid using sudo everytime (bad decision). Now I want to remove it and I can't. I've tried using usermod -G {groups} Tom My ...
0
votes
1answer
260 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. ...
2
votes
1answer
273 views

Limit user resources on dedicated server

Is there a WHM plugin mode or something like that which would limit the amount of resources a user on a dedicated server can use (CPU and RAM) or ideally something which gives certain users priority ...
-1
votes
1answer
839 views

How to create dummy user?

I want to create user with least privileges. Without home, without rights, without shell. How to do that? When I call useradd it creates user with home
4
votes
3answers
1k views

Sync user accounts over multiple linux servers

What is the best way to sync multiple user accounts and home directories over multiple servers, they will all be the same OS. The servers are in different locations around the world, so if one goes ...
1
vote
1answer
164 views

I'm not able to add passwordless entry to a new user on EC2

I'm trying to add a deploy user to a EC2 instance to work with capistrano. I've been able to add passwordless entry for user ubuntu, but it's not working with "deploy". I'm setting up this user as ...
1
vote
3answers
502 views

Where to store application that I develop?

I'm developing a server application for ubuntu server, clients will connect to in through socket connection. It's in beta stage and under heavy development. At the moment lots of people are using it ...
3
votes
2answers
409 views

Linux Server user copy

Is there a way to copy user list (with data and passwords) from one server to another. We have two servers and one of those is new. I need to create same users (that exist in /home/) and set same ...
9
votes
1answer
9k views

How to generate a /etc/shadow compatible password for Ubuntu 10.04?

How are passwords generated that are used by Ubuntu 10.04? I know that they use SHA 512 as hashing algorithm, but I figure that there is some sort of salting done. I need to generate such a password ...
0
votes
3answers
3k views

Unable to get the SSH access for a new user

I created a new user on ubuntu 10 username: codeuser There is an existing user called "admin". Now, my problem is that I cannot directly connect to the server using the codeuser credentials. But, I ...
3
votes
5answers
1k views

Ubuntu - Identifying a logged in user's bash session

I'm trying to delete a user logged into my ubuntu system. Let's call the user bob. I'm running sudo userdel -r bob The response I get is userdel: user bob is currently logged in So I run ps ...
0
votes
1answer
540 views

How to manage ldap users/kerberos principals on Ubuntu server?

I've recently setup a small test network with an Ubuntu server and Ubuntu clients. People can login to a client machine using an account stored in LDAP (created using ldapadduser from the ldapscripts ...
1
vote
1answer
195 views

associate user account with an email on ubuntu 10.10

Can I associate an email with a user on linux? such that I can easily send email etc to specific users from certain cronjobs. I have cron up and running, I have a mailserver up and running, I just ...
2
votes
3answers
246 views

“uptime” and “who” disagreeing

I've got an Ubuntu server that's exhibiting a somewhat strange behavior. uptime reports the following: 07:48:10 up 627 days, 21:19, 3 users, load average: 0.04, 0.01, 0.00 w reports: 21:59:25 up ...
1
vote
1answer
142 views

What are some of the pitfalls of reusing a user name in Ubuntu?

First, let me state, this was an IT goof up. They deleted an account, went "oops" and created a new account with the same credentials. I can't fathom why. Regardless, I've got a Linux (Ubuntu ...
1
vote
2answers
596 views

Ubuntu Create FTP account automatically upon user creation

I will note that I am using Rails but this is not a Rails issue. I'm not very experienced with Linux but I do know I'm running Ubuntu 10.04 LTS on Linode. Upon user registration the user is ...
1
vote
3answers
336 views

Samba users not added untill they logon first? Edit: How do I add users to tdbsam without a password prompt?

I add users to my server with the command useradd -m -p PASS_HASH -s /usr/sbin/nologin USERNAME Then I try to access their samba home share, but it never shows up until I login with the user: ...
0
votes
1answer
283 views

Setting up a user on ubuntu (for ftp purposes)

So is setting up an ftp user really just setting up a user in ubuntu? I saw something about setting up a user without a home directory. What other things are important? I'd like to give the user the ...
0
votes
2answers
677 views

Remove a Linux user with only his UID

I would like to remove (or rename) an Ubuntu user I created but the usual solutions don't work as there is a question mark in the username. $ sudo usermod -l myuser my?user usermod: user 'my?user' ...
0
votes
1answer
301 views

git networking for small team

I'm trying to set up git for my programming team. My setup is: 1. example.com (Ubuntu server) IP: 192.168.1.2 (public: xxx.yyy.yyy.zzz) main git repository in /var/www/testgit user: mot (root) 2. ...
5
votes
1answer
2k views

How do I set permissions structure for multiple users editing multiple sites in /var/www on Ubuntu 9.10?

I'm setting up an Ubuntu server that will have 3 or 4 VirtualHosts that I want users to be able to work in (add new files, edit old files, etc.). I currently plan on storing the sites in /var/www but ...
0
votes
4answers
3k views

useradd with 755 permissions

I d like to set the home directories permissions as 755 when i add the user via useradd. How can i do this? Thanks.
3
votes
3answers
195 views

Find users with unchanged passwords?

I recently added a bunch of users and gave them randomly generated passwords. We've since instructed them to change their passwords, but we suspect that a large number of them have not. How can we ...
2
votes
6answers
2k views

How can I quickly add a lot of users to an Ubuntu server from the command-line?

I've just become familiar with basic usage of adduser. I'd like to eliminate the interaction/prompts. Since I'll be rebuilding this machine often, I'd like to script the process or at worst just ...
8
votes
4answers
4k views

How to do central home directories and user accounts on Ubuntu?

I need to set up a network of twenty Ubuntu machines and a server. As it is now, the users have local accounts on the machines, but I want to have centralized user authentication, with all user info ...
2
votes
2answers
2k views

Is it possible to set linux user's priority?

I am on Ubuntu system, and I want to create "limited" user. I want all processes started by this user to have lower than normal priority. It would be great if I/O priority could be decreased as well ...
16
votes
6answers
13k 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 ...