Skip to main content

All Questions

Tagged with
0 votes
0 answers
34 views

Linux Commands for Task

I am working on a File server on cent OS but stuck with a simple process, some how I am getting no result maybe I am new Linux that's why can't figure it out. Please Need Help: Here is what I want to ...
user avatar
0 votes
0 answers
343 views

getent passwd | grep my_user not showing result but getent passwd my_user will return output

my_user is an entry in /etc/passwd file. I wrote a test script which called getpwent() to see if my_user can be printed, but it's not showing as well. I'm using aix system.
Clon15323's user avatar
0 votes
1 answer
13k views

Displays the list of groups for a login using command-line in iMac

How to display the list of groups for which login, contained in the environment variable FT_USER, is a member (separated by commas without spaces) using Unix command line in iMac. Example: ...
Mveliso's user avatar
-1 votes
1 answer
1k views

restrict new account creation in Windows 10

My son needs to be an administrator on his Windows 10 computer in order to use some applications. However, he keeps creating new accounts to bypass Norton's family protection and other local settings ...
user666750's user avatar
0 votes
0 answers
29 views

User shown as a member of deleted group

In my ubuntu distro, members user1 returns group1: group2 Now, i gave delgroup group1 & it is done successfully... second time gave command, members user1 returns group1: group2 why ...
Saravana's user avatar
  • 113
0 votes
1 answer
841 views

adding user to group and detects the change without restart

I want to add a user to a group using: sudo gpasswd -a new_user existing_group But it only takes effect when I restart my host. Is it possible to do that without restart action? I am on Ubuntu.
Robert's user avatar
  • 696
22 votes
5 answers
39k 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 ...
matteo's user avatar
  • 4,429