Sponsored Content
Operating Systems Solaris Problem with webmin server in Solaris OS Post 76580 by RTM on Wednesday 29th of June 2005 09:13:02 AM
Old 06-29-2005
Check the documentation at webmin.com

#24: # How can I allow any Unix user to login to Webmin?

Follow these steps :

* In the Perl Modules module of Webmin, install Authen::PAM from CPAN.
* In the PAM Authentication module, add a new PAM service called webmin that uses Unix authentication.
* In the Webmin Users module, create a new user called something like unixer, with access to the modules that you want all your Unix users to have access to.
* In each of the modules unixer has access to, change the module access control to give your users rights only to their own accounts. For example, in the Change Passwords module you should select Only this user for the Users whose passwords can be changed so that Unix users logging in can only change their own passwords.
* Click on Configure Unix user authentication below the list of Webmin users and choose Allow any Unix user to login with permissions of user unixer.
* Any Unix user should now be able to login to Webmin on your system.

Again, if your system does not use PAM the first two steps can be skipped, and Webmin will read /etc/passwd or /etc/shadow file directly to authenticate users.
Another alternative to doing all this is to install Usermin, which allows all Unix users to login and access only settings belonging to them, using a similar interface to Webmin.
 

10 More Discussions You Might Find Interesting

1. Solaris

Problem with NFS server (Solaris 10)

Hello Guys, I have just joined this forum & hope that I will find a solution to my question. I have configured NFS shares on my machine solaris 10 (5.10). Shares have rw access for everyone. Tried starting NFS server daemon with following command. svcadm -v enable -t network/nfs/server... (3 Replies)
Discussion started by: say_hi_ravi
3 Replies

2. Solaris

Problem in generating codes in solaris server!!

I have a solaris server having oracle and oracle apps running ! When some one attempts to generate a code, they click a link on the web interface which runs an rsh script from a computer called Helpdesk onto my solaris server and what happens is the web interface show an error message saying... (4 Replies)
Discussion started by: SmartestVEGA
4 Replies

3. Solaris

CLOSE_WAIT problem in solaris server

Hi, Occasionally I am getting the port state in CLOSE_WAIT for long time in the solaris server. I am not sure is it application problem or not. Because we are using port 9009 for Tomcat process in our web application, some time when I start the application, the port 9009 is in CLOSE_WAIT... (2 Replies)
Discussion started by: mgmk.84
2 Replies

4. Solaris

problem in rebooting solaris server

Hi, While we rebooting solaris server ,the system going to Maintenance mode instead of login console. even we are not able to run fsck command . Thanks in advanced for help. log attached FYI Executing last command: boot Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Discussion started by: helplineinc
3 Replies

5. Solaris

Problem in deployment in weblogic server in solaris

I am getting following error during deployment in solaris. when i deploy same war in other machine (non-solaris) it works fine. the stacktrace is < ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277738498407> <BEA-149205> <Failed to initialize the... (0 Replies)
Discussion started by: paradesi143
0 Replies

6. UNIX for Dummies Questions & Answers

problem in logging webmin

hi , i have a problem in logging webmin in ubuntu, i forgot my webmin password, and in internet i searched for result , at last i got one common answer that /usr/lib/webmin/changepasswd.pl /etc/webmin username passwd . i changed the passwd and when i logged into webmin it shows new ... (0 Replies)
Discussion started by: ramuk
0 Replies

7. Solaris

Printer problem on Solaris 10 server

Hi everyone, I am new here and I just want to ask for the expert advice from you guys about the problem/issue I am encountering with network printer defined on a Solaris 10 machine. I have this printer named 'printerA' which I already added via printmgr utility. As an output, here is the... (4 Replies)
Discussion started by: triptrops
4 Replies

8. Ubuntu

Renamed Volume Group name on Webmin while running samba server (oops)

Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server. Can anyone help me recover those files? ... (0 Replies)
Discussion started by: pangil
0 Replies

9. Shell Programming and Scripting

Problem renaming files on Solaris 10 server

Good day all. I'm trying to rename some files in my home directory with some bizarre results. Basically I need to change the IP address in the filename to the hostname which I ggrep from within the file: -rw-r--r-- 1 bh694n nrc 5095 May 2 20:03 alarms_999.189.161.146.log... (2 Replies)
Discussion started by: BRH
2 Replies

10. Solaris

X-server problem on Solaris 10

Hi, On my Sun Ultra 45, display was flickering. After changing PCI slot of graphic card (XVR-300), display stablized, but, now X-server not starting. I am getting following messages The X-server can not be started on display : 0... See file/var/dt/Xerrors for details. the output of... (8 Replies)
Discussion started by: rakhsin
8 Replies
PAM_NOLOGIN(8)							 Linux-PAM Manual						    PAM_NOLOGIN(8)

NAME
pam_nologin - Prevent non-root users from login SYNOPSIS
pam_nologin.so [file=/path/nologin] [successok] DESCRIPTION
pam_nologin is a PAM module that prevents users from logging into the system when /var/run/nologin or /etc/nologin exists. The contents of the file are displayed to the user. The pam_nologin module has no effect on the root user's ability to log in. OPTIONS
file=/path/nologin Use this file instead the default /var/run/nologin or /etc/nologin. successok Return PAM_SUCCESS if no file exists, the default is PAM_IGNORE. MODULE TYPES PROVIDED
The auth and acct module types are provided. RETURN VALUES
PAM_AUTH_ERR The user is not root and /etc/nologin exists, so the user is not permitted to log in. PAM_BUF_ERR Memory buffer error. PAM_IGNORE This is the default return value. PAM_SUCCESS Success: either the user is root or the nologin file does not exist. PAM_USER_UNKNOWN User not known to the underlying authentication module. EXAMPLES
The suggested usage for /etc/pam.d/login is: auth required pam_nologin.so NOTES
In order to make this module effective, all login methods should be secured by it. It should be used as a required method listed before any sufficient methods in order to get standard Unix nologin semantics. Note, the use of successok module argument causes the module to return PAM_SUCCESS and as such would break such a configuration - failing sufficient modules would lead to a successful login because the nologin module succeeded. SEE ALSO
nologin(5), pam.conf(5), pam.d(5), pam(7) AUTHOR
pam_nologin was written by Michael K. Johnson <johnsonm@redhat.com>. Linux-PAM Manual 09/19/2013 PAM_NOLOGIN(8)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy