0
votes
1answer
19 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
60 views

How to configure the locale to be different from the default locale for a user on Ubuntu Server?

On Ubuntu Server 12.04, how can I configure an account to use a locale other than the system default local? Say if I wanted Russian users to be able to use Russian in the terminal ... and Polish users ...
3
votes
1answer
61 views

Bash - Get Sudoer Username?

Say I have the following bash script: #!/bin/bash echo $( whoami ) This is what it outputs with and without sudo: alix@netbook:~$ ./test.sh alix alix@netbook:~$ sudo ./test.sh root The script ...
4
votes
2answers
197 views

What's the difference between root account and simulated roots?

So if I disable my root account with sudo passwd -dl root I still have access to sudo {su,bash} or sudo -{s,i} conceptually how are the elavated rights different from the root account? I know the ...
2
votes
1answer
930 views

How to create a Remote Desktop Server on Ubuntu Server per user

I want to create an old style server - thinclient/terminal kind of work with ubuntu server 12.04. I was trying to use x11vnc to serve remote desktops to users but from what I have understood [after ...
7
votes
3answers
679 views

Delete a user and all files owned by this user

I have used deluser without the parameter --remove-all-files: $ deluser 'user' Is there a way other than rm -r /home/user to remove all files owned by a user now (since I have already executed ...
2
votes
1answer
562 views

How can I get the command log of a particular user on Ubuntu Server?

Is there a way to find a log of all the commands that have been run by a user on Ubuntu 11.10 Server? I need to find out what my friend ran to install a program.
3
votes
3answers
842 views

What is each logged in user doing?

To expand on this question: users command lists 5 of the same users...what are they doing? How can I track down what each user is doing or what service/app/request spawned another login of that user? ...
2
votes
2answers
152 views

users command lists 5 of the same users…Is this normal?

So if I type users from the CLI it lists: user user user user user If I recall correctly, I've never had that many. Is this normal?
0
votes
1answer
865 views

Why doesn't 'w' or 'who' command show all logged in users?

I have Ubuntu 11.10 installed on a laptop shared by multiple members of our family. When I execute the 'w' or 'who' command from a command line, I only see my account even though there are three users ...
8
votes
2answers
8k views

Disable sudo permission to user from command line

I have activated root user in ubuntu and want to use ubuntu as server with no DE. For this I want to disable sudo privilege given to first user. How can I do this from command line ? I know I can use ...
0
votes
1answer
625 views

How to work around the home directory changing to /root when using sudo?

With Natty coming out soon, I've been at work updating my deployment and self-config script to make my desktop on 11.04 run and look the way I want it to. One bummer is that dbus seems to have ...
9
votes
1answer
2k views

Logging out other users from the command line

Sometimes when there are too many users logged in it can cause my computer to become very slow and laggy due to low amount of available RAM. I would like to be able to quickly log out the other users ...