Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
702 views

Trying to create user from text file but keep getting invalid user name error in Ubuntu

I am now trying to create users in Ubuntu from a text file and it looks like this: student1 student2 student3 student4 student5 However, I keep getting invalid user name error. For instance 'seradd: ...
SamFH's user avatar
  • 31
0 votes
1 answer
47 views

How can I edit a file with copies in 2 different users in linux? [closed]

I use AWS vps server and apache2 is installed in it. I want to edit a file "index.html" from 2 different accounts (i.e. 1st user "ubuntu" and second user "www-data"). By ...
user avatar
0 votes
2 answers
6k views

How does Jenkins build with the jenkins user in ubuntu while it has no permissions?

I have my project running in ubuntu server and I did everything through the user myname. The project files, all related directories and static files used by my application belongs to the user myname. ...
Kid_Learning_C's user avatar
0 votes
2 answers
1k views

Private key for connecting EC2 instance

On-premise, we do not use public-private key to connect to Linux VM, launched on ESX. root user create/configure local users(with an expiry) on the VM and provide access to non-root users Admin user(...
overexchange's user avatar
0 votes
0 answers
43 views

How to make sure child processes have correct user ID?

As a etude, I wrote a quick-and-dirty bash script to set a radio alarm a few months ago. It sets a cron/at-job to start streaming an internet radio at as specified time (I use mplayer), and records ...
JakobMST's user avatar
  • 101
0 votes
0 answers
174 views

Triggering a script using an email

I have a mail server configured on my server (Postfix), I have a script which requires input to be provided to it. I would like to know if there is a possibility to trigger this script by sending ...
david bob's user avatar
1 vote
0 answers
239 views

last login on jumphost with proxycommand

I would like to find out when which user has last logged in on our system, so that I can delete users who have not used the system for longer than 90 days. For this I look at our jumphost (Linux ...
shiftux's user avatar
  • 11
-1 votes
1 answer
78 views

Simulating Linux-like admin privilege enabling in Windows 10

In Linux, when we execute a script/application/command line which needs sudo, it ask for the password even current logged account has sudo privileges. In Windows, if admin user account is logged in, ...
bahadircyildiz's user avatar
1 vote
4 answers
6k views

What is difference between Password expires and Account expires ? Output of chage -l username command [closed]

What is difference between Password expires and Account expires ? Output of "chage -l username" command in Linux. In both case account will be locked So why there are two different fields?
manish's user avatar
  • 964
2 votes
2 answers
6k views

Can't create a file/directories in Ubuntu 11.10 even if rights are set correctly

I'm affraid about something in ubuntu 11.10. I'm trying to give the write permission to the current user in a specific folder. So, at first, I'm cnanging the owner to give the propriety to my apache ...
ollie314's user avatar
  • 490
1 vote
3 answers
563 views

One user, two user groups, first group access allowed, second group access denied, how to resolve conflict?

There is a system (windows, asp.net application, linux, whatever...), in this system many user groups exist in the system. We have one user in two user groups A and B. In user group A access to folder ...
This is it's user avatar
3 votes
3 answers
2k views

User management API

I am developing an application suite where users will need to connect to a server and depending on their account type they will be given some services. The server will run Linux. Can you please ...
Akshey Jawa's user avatar
69 votes
3 answers
80k views

How do I add a user in Ubuntu? [closed]

Specifically, what commands do I run from the terminal?
quackingduck's user avatar
  • 5,895