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
0answers
22 views

Understanding the 'staff' user group

It's known that all users are members of the 'staff' group. If you setup a standard user and create any file, a list of that file in the terminal with 'ls -la' shows the user group to be 'staff'. ...
1
vote
2answers
216 views

Command Prompt - Accessing “Access is Denied” folder

Note: I'm on a Windows computer using command prompt. A network exists where there is a single drive (let's call it C:) and there is a folder for every different user account inside of this drive. ...
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 ...
1
vote
1answer
541 views

Make Microsoft Account a Local Account from the command line?

I have an account that is a Microsoft Account at my office, but the person who used the computer has left, not telling anyone the password. In order to reset the password, I need it to be a local ...
0
votes
0answers
43 views

How to modify local users on different server via command line windows 2003

There's an issue I need to deal with. It's regarding several local users located on several servers (2-3 users per server - more than 50 servers). What needs to be done is to check who exactly is ...
0
votes
2answers
55 views

Show Info of All Use Accounts

I can find and one by one show the info of users using the command: net users but is there any way I can view the Info of all users at once? Such as a: net users /all
1
vote
1answer
1k views

Access/modify the User path variable, not System path

I am trying to make an installer for a program and my workplace doesn't allow us 'regular' users to modify the system environment. In an effort to get around the restrictions, I'm trying to add my ...
0
votes
0answers
3k views

Windows 7 How to create a new account from command prompt?

My computer was damaged (Windows can't find Desktop path/profile after Hard Drive Repair) and now I can't use my administrator account because I get this message: Failed to connect to a ...
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 ...
2
votes
1answer
30k views

How do I create a superuser from the command line in Ubuntu? [duplicate]

Possible Duplicate: How to create a admin user on ubuntu How can I create a superuser in Ubuntu 11.10? I need to create it using the command line. Either we could change a normal user to ...
4
votes
4answers
5k views

How to determine the user and group of a deamon in Ubuntu?

How can I check the user and group for the nginx daemon in Ubuntu? Or what's the syntax to find the user and group for a deamon running in Ubuntu?
34
votes
6answers
31k views

How do I start Chrome using a specified “user profile”?

I use the new built-in "Users" feature of Chrome to switch between Home/Work accounts easily. However, Chrome remembers the "last" user profile you had selected when launching new windows. This is a ...
5
votes
2answers
3k views

Remove password of user on OSX

As much as I would like to figure out the problem, at this point too much time has been invested in deleting a stupid key when I already had a solution (the command line creation) that works. I'm ...
4
votes
2answers
24k views

List members of a Windows group using command line

I would like to get a list of "normal" users in the Windows command line. By normal, I mean the users that appear when logging on to the computer. Thus, disabled accounts, accounts like System, and ...
0
votes
1answer
84 views

Windows 7 manage accounts

I have two different computers running windows 7 ultimate. Each computer has its own user accounts (both Administrators on the local computer). I try to figure how can I give an administrator ...
13
votes
5answers
32k views

List all members of a group (Mac OS X)

I've tried Googling but not getting anywhere. How can I list all the members of a group called mygroup from the command-line in OS X? $dscl . list /groups will get me all the groups...but how can i ...
1
vote
2answers
131 views

Find out who I was before I had switched users in Linux?

$ whoami a $ su b Password: ... $ whoami b Is there a whowasi command? Some way to find out that I was user a before I had become user b?
1
vote
1answer
3k views

How can I delete a duplicate user via the command line in OS X?

I accidentally force-created a user with the shortname "admin" after my Mac OS X machines already had users with the shortname "admin". What possible remedies are available to me in order to delete ...
0
votes
1answer
904 views

How to I Document User Rights on an existing Linux System?

Need to document user rights on an existing Linux system. What commands, actions, etc. will allow me to gather complete user profiles? User rights include, but are not limited to: File/Directory: ...
2
votes
2answers
4k views

How Can I tell if the current user is Admin from Windows Command Line

Is there anything I can call from the command line which will tell me if the currently logged in user has a limited account or is an admin?
3
votes
1answer
10k views

How can I delete a Mac OS X Snow Leopard user account from Command Line?

I need to create a script to delete Mac OS X users automatically from command line, not from GUI, just in Terminal, but I haven't found how to do it in Snow Leopard.
1
vote
2answers
271 views

None of my bash commands work

I have an Ubuntu 9.10 netbook. It has always run great. Two days ago, I was running as root for a while (~30), and when I moved back to my user account (only other account on this machine), all the ...
3
votes
2answers
12k views

Is there any way to change the password of the current user account using the command line?

Are there any commands for the Windows command line which allows you to change the password of the account? What about without using the current password? (I saw a video about it once and it worked ...