Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Account creation Sudo enabled Post 302075698 by grial on Tuesday 6th of June 2006 10:35:48 AM
Old 06-06-2006
Quote:
Originally Posted by vilves
Hi, how to create account with the following

be cron enabled
For this you should add the username into cron.allow whichever it is (depending on your OS)


Quote:
Originally Posted by vilves
only accessible via sudo
Mmmm... assuming that this user is locked (you cannot login with him/her, just like a system user), you should add sth like this to your /etc/sudoers

your_user ALL=NOPASSWD:su - the_user


Regards.
 

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Account creation trouble

I created an account a while back, but never received any confirmation, so I could never get the full access... :( I logged back in today, but I'd forgotten what I'd used for username... anyway, I entered my email address and it said that I would receive my login information, which I... (2 Replies)
Discussion started by: seaghan
2 Replies

2. UNIX for Dummies Questions & Answers

Account creation date

Hi All, Is there a simple and obvious way to see when an account was created.An account has come to my attention in /etc/passwd and a last on it shows having never logged in and the home directory looks to be a couple of years old. Just wondering if I'm over looking anything obvious. ... (2 Replies)
Discussion started by: Hayez
2 Replies

3. UNIX for Dummies Questions & Answers

user account creation date

hi, i tried searching the forum for a thread about this, but came up empty handed. is there a way to pull a list of all user accounts, with the associated creation date? thanks in advance! (2 Replies)
Discussion started by: lilweezy
2 Replies

4. UNIX for Advanced & Expert Users

how to find creation time of an account?

Hi all, I want to know the time when a perticular user is created, atleat in which year it is created. Could any one help me in this issue. Thanks in advance. Regards, M.Sukumar (1 Reply)
Discussion started by: sukumar
1 Replies

5. Shell Programming and Scripting

Shellscript to Sudo other account

Hi, I have to write a shell script to sudo other account. Foreg, i am working in account ramdev1, i have a sudo access where through shell script i need to sudo another account ramdev2 and read a file "ram.inc" get those data and save it in a .txt file and return it? Since i am new to... (21 Replies)
Discussion started by: sachin.tendulka
21 Replies

6. Shell Programming and Scripting

Issue in passing passwd to login into a sudo account

Hi Gurus, I have small issue... I used to pass the passwd for sudo commands like below, gzcat ~/passwd.gz | sudo su - <villin> >> eof ------ ----- ------ eof And it was able to login into "villin" sudo account successfully. But now, I'm using the same in another script for the... (2 Replies)
Discussion started by: raghu.iv85
2 Replies

7. Shell Programming and Scripting

ssh foo.com sudo command - Prompts for sudo password as visible text. Help?

I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this: #!/bin/bash rsync /path/on/local/machine/ foo.com:path/on/remote/machine/ ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies

8. Cybersecurity

Mass account creation

By the company winning business from another outsource provider, I've suddenly inherited towards 300 servers and all accounts are local. One of the immediate tasks is to set up all the OS, DB, and app support staff on all of the servers operating systems. I've slapped together a crude script... (10 Replies)
Discussion started by: rbatte1
10 Replies

9. Shell Programming and Scripting

Shell script for user account Creation

Hi Folks, I had a request to create the user request. Between, I just write a script a create, Update Geos, and update the password. My script as below: The error message, what I am getting is all the users are updated with the same Goes value.. #!/bin/bash for i in `cat users.txt`;do... (2 Replies)
Discussion started by: gsiva
2 Replies
pam_opendirectory(8)					    BSD System Manager's Manual 				      pam_opendirectory(8)

NAME
pam_opendirectory -- OpenDirectory PAM module SYNOPSIS
[service-name] function-class control-flag pam_opendirectory [options] DESCRIPTION
The OpenDirectory PAM module supports the authentication, account management and password management function classes. In terms of the function-class parameter, these are ``auth'', ``account'' and ``password'' respectively. The OpenDirectory Authentication Module The OpenDirectory authentication module permits or denies users based on OpenDirectory password authentication. The following option may be passed to this authentication module: nullok Allow null passwords. The OpenDirectory Account Management Module The OpenDirectory account management module permits or denies users based whether the account is enabled in OpenDirectory. The following option may be passed to this account management module: no_check_shell Skip validating the user's shell. no_check_home Skip validating the user's home directory. refresh=min Sets the mbr_check_membership(3) cache timeout to min minutes. When this option is used, the min value must be specified, and it must be an integer. The OpenDirectory Password Management Module The OpenDirectory password management module supports password changing and enforces the OpenDirectory password policy. SEE ALSO
mbr_check_membership(3), pam.conf(5), pam(8), pwpolicy(8), DirectoryService(8) BSD
February 7, 2009 BSD
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy