Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
Questions tagged [users]
605 questions
6
votes
2 answers
How to tell start-stop-daemon to update $HOME and $USER accordingly to --chuid parameter
I'm trying to run a service that uses $HOME and $USER environment variables. I could set them in service itself, but that would only be a temporary solution.
Let's say I have a script test.sh with following content:
echo $USER
And I run it with…

iElectric
- 358
- 1
- 5
- 14
6
votes
5 answers
Users vs. Active Directory Users
What's the difference between users and active directory users in Windows Small Business Server 2003? Which should I use to manage user accounts under which circumstances?

Travis
- 333
- 1
- 3
- 11
6
votes
1 answer
Centralize authentication and user's home folder
We have about 7 Linux servers and from time to time we setup a new one...
For each new install we have to create the same users and ask them to change their default passwords to new ones ... Plus for us, we have to copy our user preferences and…

Kami
- 1,424
- 13
- 25
5
votes
1 answer
How to map authenticated Apache users to their own directory?
I am trying to offer our users an Apache WebDav space where they can store their calendar (.ics) files. I've got Dav and LDAP authentication running already. But I fail to jail users to some sub-directories. After all I don't want them to access…

Signum
- 1,238
- 1
- 12
- 14
5
votes
2 answers
Creating user accounts with Puppet?
I'm just getting started with Puppet and I have the following code in my test site.pp file:
class { 'account': {
'danny':
home_dir => '/home/danny',
groups => [ 'sudo', 'users' ],
password => 'password'
}
}
I'm trying to use…

dannymcc
- 2,717
- 10
- 48
- 72
5
votes
1 answer
Nginx access log shows authenticated user "admin"
I came across a line in my Nginx access log:
218.201.121.99 - admin [12/Dec/2012:18:33:18 +0800] "GET /manager/html HTTP/1.1" 444 0 "-" "-"
Let me stress that there is only 1 record with this IP.
Notice the authenticated user admin.
After some…

bearcat
- 163
- 1
- 4
5
votes
1 answer
What happens when you uninstall a per-user installation?
What happens if an MSI installation is set to install as per-user, and 3 different users log on and each install the app? Will Windows Installer recognise that the same MSI has already been installed into Program Files and therefore it doesn't need…

CJ7
- 653
- 10
- 24
5
votes
1 answer
RemoteApp: Logging in as user x disconnects user y
I'm having a pretty bizarre problem with a Terminal Services server used for RemoteApp. In our network the server works as it should, but at a client's office if two users log in simultaneously, the first one gets disconnected as the other one…

onik
- 997
- 3
- 7
- 20
5
votes
1 answer
Get a reliable mapping of users-to-computers in Active Directory environment
Need to assign users to their workstations for purpose of assigning computer access for Remote Web Workplace in Small Business Server 2011. To do this, I need a reliable list of users' workstations. This would also be handy for discovery in new…

gravyface
- 13,957
- 19
- 68
- 100
5
votes
3 answers
Root users and mysql: `sudo mysql` vs `/root/.my.cnf`
I have a /root/.my.cnf file which stores the mysql root user's password:
[client]
password = "my password"
When I log in as system root and enter mysql, I get a passwordless login:
myuser@local:$ sudo su
root@local:$ mysql
mysql>
But when I try to…

user67641
- 1,292
- 2
- 14
- 18
5
votes
1 answer
Using UTF-8 in the /etc/passwd file. Any known issues?
I was recently asked to modify the GECOS field in the passwd file for a certain user so that it will contain his name with his original accented characters. My first was reaction was "sure, why not?" but then I started getting paranoid that there…

danakim
- 392
- 2
- 9
5
votes
4 answers
How to "jail" a ftp user inside its home directory (proftpd)?
I have a user named "ftp3" that belong to group "ftpusers-temp".
The home of that user is home/FTP-shared/temp
In proftpd.conf I have the following 2 directives:
DefaultRoot /home/FTP-shared
DefaultRoot ~ ftpusers-temp
I was expecting that user…

pvieira
- 183
- 1
- 2
- 7
5
votes
1 answer
How do I config postfix to use multiple google apps user accounts?
I have a postfix installation and have setup relaying through google apps, but when I send mail to postfix it relays it to google apps using the ONE account I have specified in the main.cf.
Is there a way to do this more dynamically. Ideally, the…

john unkas
- 91
- 1
- 3
5
votes
1 answer
Should the 'nobody' user on my headless Ubuntu server have shell access?
I've read conflicting stuff on a few forums etc. regarding this. When I enter the following line:
grep nobody /etc/passwd
I get the following output
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
Should nobody have shell access? Can you…

conorgriffin
- 459
- 1
- 6
- 25
5
votes
12 answers
What are the best practices in deciding what to lock down and what to allow with corporate users?
How do you decide what is permissible to allow users control over? With a given feature or functionality (say, setting shares on a folder, attaching certain filetypes in email, installing USB devices) is there a Best Practices rule to look at to…

davebug
- 905
- 2
- 8
- 17