0
votes
2answers
28 views

Creating remote user to launch one file

Here is the problem: I have made something with python that works with virtually any OS, except windows, and I have been told the people who are going to evaluate/use/try it only have windows ...
0
votes
0answers
28 views

Create user to execute select tasks

I would like to allow a application user to perform select sudo or root tasks without the need for sudo or root permissions or password being entered. Normal (Prompts for password): sudo appuser ...
0
votes
1answer
25 views

Managing Linux hosts sharing between multiple users

We have numerous Linux machines in our lab shared between users of several departments. From time to time there is a situation when one user starts using the machine that is already taken by someone ...
0
votes
2answers
55 views

change shell of a user from /bin/false to another

I made a mistake of change the root shell to /bin/false, but when I want to change it back, I always got error sudo chsh -s /bin/bash root [sudo] password: <input current user password> ...
0
votes
0answers
10 views

how to create a user non-login but can use ssh -CD create local socks proxy

I want share my VPS to other users, but they can only use it as a socks proxy server. It can allow ther user do ssh -CD 1080 -N user@host. But he can never login to the server, and modify any file. ...
1
vote
1answer
5k views

Cannot login to Kali Linux

I just created a Kali 1.0.6 live USB using a tool called "Mac Linux USB Loader" and everything seems fine up until the point where you are supposed to login. At the login screen I'm greeted with the ...
0
votes
0answers
58 views

useradd - Specify group “users” or create a whole new group?

When creating a normal new user, it is a best practice to use -g 100 option, which creates a user like test:users or ignore the parameter and let useradd to create a user with test:test ? Which one ...
-2
votes
1answer
73 views

Why can linux users see each others files?

I would have thought that basic security principles would mean that users can't see files in the home directory of other users. Many many years ago I worked on Novell servers and I seem to recall ...
0
votes
0answers
19 views

Has anyone written a script to migrate linux users from one host to another ala the OSX migration assistant

I need to provide a newbie with a new machine but I don't have access to the old one -- only they do. Is there anything like Apple's Migration Assistant for Linux, specifically Fedora KDE, to move the ...
1
vote
0answers
90 views

Linux/Samba Windows7 and permissions on a per user basis

I would like to set up my NAS properly with user and group permissions. While this was easy to accomplish for all Linux boxes using NFS, I cannot get it to work with Windows and Samba, Windows7 and ...
1
vote
1answer
2k views

CentOS: View all users in a specific group

I added a user user01 to a group group01 using: usermod -a -G group01 user01 When I run in command id user01 it shows that this user has actually been added to the group. However, the file ...
0
votes
2answers
176 views

How a user can change password if nologin

I want to have some database users on my RHEL6 server. Since DB user are just DB users, I don't want to give them shell login. If so, how can those users change their password?
1
vote
2answers
118 views

Using the root account on a single-user system [closed]

On Linux systems it is widely considered a best practice using the root account only on occasions that necessitate administrative privileges, or disabling it altogether and relying solely on sudo to ...
1
vote
1answer
142 views

Ubuntu 12.04 delete user and all associated directories

I have already deleted a user on Ubuntu 12.04 Server (userdel userName) however their /home/userName directory still remains. Can I simply rm -rf the users home directory or are there dependencies on ...
0
votes
1answer
108 views

Create user with partial root permissions

Is there any way to create a user with partial root permissions on a GNU/Linux system? For example: A user who can use the useradd and userdel tools, but nothing else besides regular user ...
0
votes
1answer
211 views

Linux file folder Permission issue (Owned by group)

I have created three users: - media, media1 and media2 I have added these users to group called Media. than using chgrp i have modified group on two existing folders "Archive" and "Media". Media ...
0
votes
1answer
314 views

Chroot from android into environment as user

I'm trying to use my android tablet as a dev environment. So far I have created an Arch and Ubuntu img. I can chroot into both just fine and I have created a user using adduser, but I do not know how ...
0
votes
1answer
55 views

Can I create a user without specifying a login name

Can I create a user without specifying a login name, and let GID used for it's login name? I read the man useradd(8), but this command seems to require a login name be set. Any GUI way or script ...
0
votes
2answers
329 views

Ubuntu group permission how to change

How do I change the permissions for a specific group that I have created? Say for example I create four new users named Anna, David, Carl and Eva and I also create two different groups which I name ...
4
votes
1answer
102 views

How to set different window managers to different users under Linux

I want to restrict different users to different sets of window managers. For example, user A: openbox, fluxbox user B: openbox user C: openbox, fluxbox, metacity How can I do it? Additional ...
3
votes
4answers
6k views

Can't unlock linux user account

I've got a Linux box (OpenSuSE 11.3) with a locked-out user account. I logged in as the root account to unlock it with passwd -u <user>, but I get a message 'Cannot unlock the password for ...
0
votes
3answers
93 views

What types of users can I use with “sudo”?

I thought you could only use sudo to temporarily become root: sudo vim /etc/resolv.conf But recently I saw a shell snippet depicting a user using sudo to become a specific user: sudo -H -u devops ...
0
votes
1answer
997 views

users not found in /etc/passwd

I login to a linux box with username user1 and my home folder is in /home. There is another user named user2 that has its home directory in /opt/data/folder. If I want to check the list of users I ...
1
vote
2answers
91 views

Linux: Find out who was logged on when?

I need to find out which user screwed up the ssh config. There's nothing in anyone's bash history. But I did see when a bunch of ssh-related errors in the logs that started at a specific time. I'm ...
0
votes
1answer
5k views

Enable Remote Access Linux

It might sound very basic question but I am beginner on Linux... I have created a few users on my Linux distribution. I would like to enable Remote Connection through SSH for some of these users not ...
0
votes
2answers
3k views

Login to server through PuTTY and then switch user

I am using the following batch file to log in to my server as root: start C:\Putty_all\PUTTY.exe -v -ssh root@192.168.32.125 -pw password When I have logged in, I want to change user to oracle. How ...
2
votes
3answers
162 views

Allowing only owner to edit files windows/ubuntu

I am not sure if this is answered elsewhere or it is too obvious but I need to have a folder that I create with a new user(admin) both on windows and ubuntu (wherever it is possible - preferably both) ...
2
votes
2answers
561 views

quick way to adduser and userdel in multiple machines

Currently I just go to each of our servers to type adduser <username> --firstuid 1101 --gid 1001 --disabled-password to add a user. Is there a quicker way to do so on all servers at the ...
1
vote
3answers
2k views

How can I migrate all of my Linux settings (& home directory) to a new computer?

I have a Linux machine (Linux Mint, KDE), which I've been using for some time, but now I've got a new machine with an already existing Linux on it (Kubuntu) and I'd like to "relocate" my Linux system ...
0
votes
2answers
451 views

Ubunu Server Inherit directory permissions and ownership

Before I begin, I apologize if this may seem as if it is a duplicate question, but no responses that I have found have been able to solve my problem. I have a server setup running my company, with ...
2
votes
1answer
206 views

Adding domain users to CUPS allow list

CentOS 6, CUPS. I've been able to log in with my user account to the web admin CUPS login, but I can't work out how to log in with a domain user account (on the command line, it's domain\user). Does ...
3
votes
1answer
174 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 ...
3
votes
3answers
6k views

Can a Linux user belong to more than one group?

Can a Linux user belong to more than one group? If it is allowed, then one use may access files from two groups, that would be quite nice! If not, is there any alternative way to have this function? ...
1
vote
1answer
98 views

Will changed username propagate to file permissions?

I ran lastb and found login attemps that used my username. I doubt they would guess my password, but my 4-lowercase-letter dictionary username should probably be made more complex. I'm going to add ...
1
vote
3answers
105 views

Linux - Set Subdirectory as Root for a user/group

We currently are only using a root ssh login to our server and are attempting to make a "developer" status user which should only have access to a sub directory. Is there a way we can set it up so ...
3
votes
1answer
383 views

Setting up a shared folder in Linux

I'm trying to set up a folder in my home directory that will be shared with another user, but I can't get it to work. This is what I've done: I have tried two different ways using ACL's and ...
0
votes
1answer
320 views

Running nginx as the current user

On my linux PC, I'd like to run nginx as whatever user I'm logged into when I start it, and I'd like it to look for config files in the home directory of that user. Is there a way to install nginx to ...
0
votes
3answers
838 views

How to create an ubuntu user with partial sudoer rights

Am wondering whether it's possible to create a user in ubuntu 11.10 server with custom sudo rights.I mean by that an use who can start and shutdown the box but who can't access /var/www for example or ...
2
votes
1answer
73 views

Setting the group of a Unix process

When I run: ps -e -o pid,user,group I see that processes have users and groups (among other properties). How can I as a user influence the group assignment to the processes that I start? In other ...
3
votes
1answer
91 views

Number of groups for unix user limit change

In continuation of the question How Many Unix Groups Can A User Be A Member Of?: can I somehow change this limit?
3
votes
2answers
840 views

Linux - Debian - Original groups that a user is in

This is embarrassing; I used the usermod command to add myself to the disk group. However I forgot to use the append option! so I'm not a member of any of the groups that I was originally, now ...
0
votes
2answers
443 views

How can I recreate my user in Ubuntu?

I would like to start from scratch. How would I delete my user, including all data, but still have a way of recreating it? My user is the only user on the computer. It is also the administrative ...
1
vote
1answer
135 views

User belongs to different groups when logging in via control alt F1 than via ssh or su, including su -

Made a guest account for a friend to access my machine and restricted him to a very small set of permissions. That seems to work as expected using ssh, when running id and groupsthe correct groups are ...
0
votes
1answer
117 views

Dummy Linux user for installing programs

I have a separate home partition, so I want to install some software from source in a different hierarchy – not in my user account, preferably in /home. To rephrase, let's say I have my home ...
2
votes
2answers
534 views

More Linux permissions questions

I've read countless articles on the topic and searched through every question and answer I could find without any luck. I'm slowly going mad so I'm turning to you guys since I know the answer to my ...
6
votes
4answers
851 views

Linux: groups vs. groups username

Does anybody know why the linux command groups shows a different output than groups username The logged in user is the same as the parameter username. Example: ...
1
vote
3answers
737 views

Prevent write access for root in home directories

Is there a Linux distribution that prevents root user from modifying/deleting files/directories in another user's home? I came across tools that allow the home directory to be encrypted. But I want ...
1
vote
1answer
166 views

su - for some users

in a linux system with su - any user (with root password) can get root privileges. how I can restrict to some users ? // similar to AllowUsers in sshd_config
1
vote
1answer
942 views

Linux file permissions seem right but I can't write to a directory

I believe that I have the permissions set correctly but I can't write to a directory. Here's my problem: cborders@Kraken:/var/www$ ls -la total 12 drwxrwxr-x 2 webz webz 4096 2011-12-30 14:58 ./ ...
14
votes
1answer
9k views

Rename user's group name

I just did usermod -l login-name old-name to change the username, but the group name is still the old one. Any way of renaming the group name? I can't find any info to do so.