Sponsored Content
Top Forums UNIX for Advanced & Expert Users Multiple Users - Multiple Scripts Post 303013849 by rbatte1 on Thursday 1st of March 2018 04:25:54 AM
Old 03-01-2018
Can you not write this as a script and call it in as the machine starts? You haven't said what OS version you have, so the options a too varied to go through just yet. Do you have access as root / a super-user account or just to all the individual accounts?

If you don't have super-user access, maybe we could write something and ask someone who does to set it up, but we need more information first.


If you can run as the super-user (however we arrange it) then you can do things like su - USERA /path/to/script without it prompting for a password.


What more can you tell us? It's all a bit vague.




Robin
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

editing sqlplus id@passwd in multiple scripts, users and directories

hi all, i was given by my supervisor a task to search for scripts which contain oracle sqlplus i.e "myusername/mypasswd @myDB" in every /home/userfolder, which are, all the scripts made by different user. I've done some find command to search string for sqlplus, but it may up too long to respond.... (8 Replies)
Discussion started by: Helmi
8 Replies

2. Solaris

How to add multiple users

HI, 1.I want to add multiple users at a same time. How to achive this , since useradd will add only one user at a time,. 2.Also let me know how to install a software in a group of machines where the machines are not configured as zones (1 Reply)
Discussion started by: rogerben
1 Replies

3. Shell Programming and Scripting

id -a multiple users at one time?

Hi Expert, How do I want to id -a multiple users at one time? * i know that this does not work, Thanks (4 Replies)
Discussion started by: regmaster
4 Replies

4. Red Hat

Multiple Users

I need to have more than one user logged into my PC's VMWare Linux virtual simultaneously, each seeing a graphical display, to test my software's ability to affect their displays one by one. I have never done anything like this before. My Linux virtuals have been for my development only, that is... (3 Replies)
Discussion started by: BrandonShw
3 Replies

5. UNIX for Dummies Questions & Answers

Users in multiple groups?

Happy Thanksgiving Everyone!! I have a question about adding users to multiple groups. Thanks in advance Using Red Hat and here are the issues: Example: Users: Bob Mark Groups: SystemsAnalysts BusinessAnalysts If I am adding a user Bob to both groups (SystemsAnalysts and... (2 Replies)
Discussion started by: hansokl
2 Replies

6. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

7. Shell Programming and Scripting

Calling multiple scripts from another scripts

Dear all, I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out. Here is the snippet:- #!/bin/bash HSFILE=/root/Test/Components.txt LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies

8. Shell Programming and Scripting

Grep from multiple patterns multiple file multiple output

Hi, I want to grep multiple patterns from multiple files and save to multiple outputs. As of now its outputting all to the same file when I use this command. Input : 108 files to check for 390 patterns to check for. output I need to 108 files with the searched patterns. Xargs -I {} grep... (3 Replies)
Discussion started by: Diya123
3 Replies
lppasswd(1)						      Easy Software Products						       lppasswd(1)

NAME
lppasswd - add, change, or delete digest passwords. SYNOPSIS
lppasswd [ -a ] [ -g groupname ] [ -x ] [ username ] DESCRIPTION
lppasswd adds, changes, or deletes passwords in the CUPS digest password file, passwd.md5. When run by a normal user, lppasswd will prompt for the old and new passwords. When run by the super-user, lppasswd can add new accounts (-a username), change existing accounts (user- name), or delete accounts (-x username) in the digest password file. Digest usernames do not have to match local UNIX usernames, but only UNIX usernames are supported by the CUPS client programs (lp(1), lpr(1), etc.) The -g option specifies a group other than the system group - "sys", "system", or "root", depending on the operating system. SECURITY ISSUES
The lppasswd command is installed setuid to root. While every attempt has been made to make it secure against exploits that could grant super-user priviledges to unpriviledged users, paranoid system administrators may wish to disable or change the ownership of the program to an unpriviledged account. SEE ALSO
lp(1), lpr(1), CUPS Software Administrators Manual, CUPS Software Users Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 7 June 2001 Common UNIX Printing System lppasswd(1)
All times are GMT -4. The time now is 02:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy