A user is a person who uses a computer or network service.

learn more… | top users | synonyms

16
votes
2answers
5k views

Does the root account always have UID/GID 0?

On all the Linux systems I've managed, the root account has a GID and UID of 0. Is this guaranteed, or is it possible that the system will give root a different ID?
14
votes
5answers
26k views

How to determine logged on user in Windows XP?

What's the easiest way to determine the logged on user in Windows XP (without loading any support tools)? I'm looking for something similar to the 'whoami' command but for Windows. I need something ...
14
votes
6answers
18k views

Run part of a bash script as a different user

Is there a way to make part of a script run as a different (non-root) user? If it helps , the part to be run as a different user occurs at the end of the script Edit : OS -> Ubuntu 9.04
13
votes
2answers
33k views

How can I create an SSH user who only has permission to access specific folders in Ubuntu?

I installed SSH, but I found if I use my original account to login to Ubuntu, it has too many permissions. I want to constrain the user to only have permissions for specific folders in Ubuntu. How ...
12
votes
3answers
13k views

how do I see which user I am logged in as in MySQL?

I have multiple text console session open and log in as different users into different consoles. I forget after while which consoles belong to which user, it would be nice to not have to quit and log ...
10
votes
4answers
10k views

Hide user from login screen without deactivating it

I have several network shares and created user accounts for the people who want to access them on my computer, so I can give every user different access rights. My only problem is, these users are ...
10
votes
5answers
27k views

How to SSH to localhost without password?

EDIT: Putting exactly what was done. I need to SSH to localhost without a password, the usual way of doing it (with public keys) do not work. user@PC:~$ rm -rf .ssh/* user@PC:~$ ssh-keygen -t rsa ...
9
votes
2answers
2k views

How will IPv6 impact everyday users? (World IPv6 Day)

With the current (one hour in at the moment) trial by all the big boys (Google, Facebook, Bing, Yahoo, etc.) I wondered how IPv6 will effect home users and the Internet as a whole. Will the change ...
7
votes
3answers
26k views

Install Windows 8 on SSD and Program & Users on HDD

I have been dealing with a few problems while installing Windows 8 on my computer. On my old configuration, I had Windows 7 installed on my 60 GB SSD, and my programs and user data on my 1TB HDD, ...
7
votes
1answer
11k views

How do I setup a systemd service to be started by a non root user as a user daemon?

I just finished the install and setup process of systemd on my arch-linux system (2012.09.07). I uninstalled initscripts (and removed the configuration files). What I want to do is create a service ...
6
votes
3answers
663 views

Is it possible for root to execute a command as non-root

I am root user and suppose i want to run any application as another user. is it possible, without switching to another user. Something like # google-chrome user=abc I am actually executing a cli ...
6
votes
2answers
926 views

How can I set up a policy on Windows XP to logout all users at midnight?

Sometimes the kids are on the computer too late and rather than yelling at them I want the computer to help me out. I already have a separate user set up so they don't have admin access to the ...
6
votes
3answers
7k views

How can I create a user with read-only access to all files? (ie root without writing permissions)

For backing up my server, I would like to remotely access it via SSH. To minimize all risks, it want to user a user who only has read access, but to all files, just like root. However, he shouldn't ...
5
votes
5answers
9k views

How can I find out which user logged in as root?

We have a couple of servers which are managed by a large group of admins. They usually log in as service users (say hudson) and then switch to root to make some small fix. This means we often can't ...
4
votes
1answer
4k views

How do you transfer a user account to another computer?

I am traveling and I am using a laptop which is not mine (because I left my own laptop at my home). I got too carried away with the borrowed laptop and I made a user account on it. I do not want to ...
4
votes
4answers
11k views

How do I copy a file/folder from another user's home directory in Linux?

I want to copy a file/folder from another user's home directory to my home directory in Linux. I cannot access his directory, because it says permission denied. I'm 100% sure that a file can be ...
4
votes
2answers
7k views

Ubuntu: limiting user account only to access his home dir

I just created new user account, but the new user is able to access all the directories structure (including other's home directories). I'd like to limit the user to access ONLY his home directory ...
4
votes
2answers
3k views

Linux group and permission - why I can't access a folder I already have permission to?

I encounter a very very strange problem today... I followed a link to install GitLab on my Linux server today, in the Gitolite section, there are two lines to set permission and ownership of a folder: ...
3
votes
5answers
12k views

How can I work out which user is currently logged into a Windows 7 machine?

I have a machine running Windows 7 which I set up a long time ago to autmatically log into windows. That's still working fine, but how can I work out the username of the currently logged in user when ...
3
votes
1answer
282 views

Why is the reported user “root” when a “normal user” executes “ps ux” on OS X? Is this normal behaviour?

I am running OS X 10.6.1 . When i am logged in as a normal user of group staff and do a ps ux it lists my ps ux command as being run by root: snies 181 0.0 0.3 2774328 12500 ?? S ...
3
votes
3answers
764 views

Is there a way to measure an employee's computer usage?

I have been asked to see if a user is being productive. Windows 7 doesnt log much in the way of computer usage, but I was thinking it would be possible to see how long the computer is in a locked ...
3
votes
3answers
1k views

How to arbitrarily map user/group ownerships in rsync

I need to rsync a directory to a remote server so that all files belonging to user X and group Y on the source (local) machine are mapped to user W and group Z on the destination (remote) machine. If ...
3
votes
3answers
3k views

How do I add users to another users group?

I have an user john and an user keith in Ubuntu server I added these users using sudo adduser John sudo adduser Keith How can I now add john to Keith's group? I tried: sudo usermod -aG Keith ...
3
votes
1answer
3k views

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem ...
3
votes
3answers
441 views

*nix: Run as different user GUI

I want to run an application using only GUI as a different user. Not root. I want the user to be presented with a dropdown of system users, select one, enter the password, and the app gets run as ...
3
votes
4answers
1k views

How can I lock a limited access user from changing their own password in Windows 7?

My son needs to be logged into his own account but we restrict his usage by logging him in with a PW he doesn't know. He figured out he can change his password negating our control. Is it possible ...
3
votes
1answer
117 views

Member of Administrator Group in Windows is Displaying Administrators as Owner

Currently (and by default, I suppose), when a member of the Administrator group in Windows creates a file, the Administrators group has ownership of that file. How can I go about changing the default ...
3
votes
1answer
403 views

List of current logged on users, from list of PCs

From a list of computers (IP address, or hostname), is there a tool I can use to build a list of the currently logged on user for each computer? I have a tool which can do this but used all computers ...
3
votes
1answer
340 views

My main User directory is gone, how can I get it back?

If I open up my hard drive and navigate to Users, my main account is not there. How can I get it back? In retrospect I realize it has been gone for a while, but since it still appears in the Sidebar ...
3
votes
1answer
175 views

Create a new user at startup in Fedora Linux

I have this virtual machine with Fedora KDE. I want to distribute it but without any default user, except the root of course or another skeleton one. In the first run the person that runs it should ...
2
votes
4answers
945 views

Why do I have to sudo to do anything outside of my /home directory?

I just installed my first Linux desktop (64-bit Ubuntu 12.04) and am playing around with it: myUser@myMachine:~$ cd /opt/ myUser@myMachine:/opt$ mkdir lemmiwinks mkdir: cannot create directory ...
2
votes
5answers
9k views

Remote Desktop to a user while still logged on

Is there a way to connect remotely to another user while there is a user still on the same PC. So one PC with users and both of them logged in at the same time, one locally and one remotely? Sorry i ...
2
votes
2answers
3k views

Login to a windows (domain) user account when not connected to internet

When I am on my local network I log into a computer that is added to a domain. This creates a local user profile with my documents, desktop etc. Problem is that I am unable to login to this account ...
2
votes
3answers
2k views

How give the permission to access subfolders in /root?

I need give the permission to read/write in this folder, which are subfolder of /root directory to mike.jackson (for some reason someone crete this folder inside /root) : ...
2
votes
3answers
221 views

Add linux user with restricted access

I need to create a user on linux with access rights only to one folder. Background: I have installed git on my virtual server (Debian). I also created a user for the repository. There is a lot of ...
2
votes
2answers
4k views

Create a hidden Admin account on Windows Vista

My parents are computer illiterate in a big way. They each have separate accounts on a Windows Vista machine using the welcome screen. I want to create a hidden Administrator account I can use to ...
2
votes
2answers
850 views

Autologin 2 Windows users OR Login another user from the desktop

I'm using two windows users on my HTPC at the same time. One is just for watching videos and one for administration via remote. This setup is quite ideal for me since windows can handle multiple ...
2
votes
5answers
1k views

Can I resume an existing vim process?

When I left work yesterday I left vim open with the files I was working on. I'm working from home today, so I VPN'ed in, and when I go to edit those same files, I get the warning that there's another ...
2
votes
2answers
3k views

How do you manage the user groups that users are assoicated to in Mac OS X?

How do I add/remove users to user groups on Mac OS X 10.5? Like 'bonic_master' for instance.. and out of curiosity how do I create a user group?
2
votes
2answers
2k views

Ubuntu, user can't write to a directory and I don't see why not

I've got a directory, /var/www/someProject/backup/mysql, and I want the user mysql to write to it. Each time I try to write to it with the mysql user, I get a "can't read/write" error. Yet the ...
2
votes
1answer
110 views

Limit a user to VI and Tail

I'm running a server on centos 6.0 and I'm looking for a way to limit ssh access of one user to only tail and vi and only in their home folder. I found some guidelines to the home folder part but ...
2
votes
3answers
1k views

Hide or Delete the User Home Folder in Windows Explorer Navigation Pane

I am using Windows 7. I don't like the User Home Folder in the Windows Explorer navigation pane. In fact, I don't like the folder itself. I never use it, per se, and it comes up sometimes as an ...
2
votes
1answer
7k views

Is it possible to track a mobile phone (cell phone) without Internet/GPS? [closed]

Is it possible to track the current location of a Mobile user without using internet and GPS? Is there any way of locating the user by only using the network provider info, signal reception and ...
2
votes
1answer
532 views

Linux - Limit user's ftp access to home directory

I have created a user in linux (User1 for the purpose of this question). I have changed User1's home directory to a new directory. I would like to ensure that User1, when FTP'ing, cannot browse out of ...
2
votes
1answer
94 views

While adding a new user in Microsoft Office 365 stuck at a results step

Recently I have signed up for Microsoft Office 365 and while trying all different features of this product, I wanted to share some documents with my friend so I decided to add a new user. I have ...
2
votes
2answers
780 views

How can I use powershell to list all files I uploaded to server?

At work there's a network and everyone has a username and password that they use to log in. How can I search for my files on this network? I could list all the files like this: cd ...
2
votes
1answer
1k views

Linux user issues with PAM?

Had setup a user to use instead of root. Was working fine and dandy till I started playing with user settings. Now all users (apart from root) borked. Can't login (ssh) with other users, even after ...
2
votes
2answers
2k views

How to kill all processes with the same name?

I want to kill all processes with the same name that belong to a user, for example: $ps -u user_1 2345 myapp 2346 myapp 2347 myapp 2348 myapp2 2349 myapp I want to kill all "myapp" processes that ...
2
votes
1answer
1k views

How to disable start up programs for only one user

The title says it all. I got 2 accounts. How do I disable some programs with msconfig on that particular account but not on the other account?
2
votes
1answer
38 views

Manage mysql files with nother user

I need to copy files in /var/lib/mysql/database/* yo another dir with admin user. File in /var/lib/mysql/database has 660 mysql:mysql I already add admin user to mysql group, but it didn't work.