Samba Users


 
Thread Tools Search this Thread
Operating Systems Solaris Samba Users
# 1  
Old 09-12-2008
Data Samba Users

Hi,

a) How to see no. of samba users currently logged in the system & from which termainal ????

b) how to know number of samba users created for a system ( apart from seeing in the conf file)??Smilie
# 2  
Old 09-12-2008
samba users are not logged in via a terminal. there should be a process for each samba user in your process list.

try a "ps -ef | grep smbd | wc -l" this should give you the number of sessions +1 session for the smbd itself.
# 3  
Old 09-12-2008
I thought just grepping for "smb" would do that too .. Smilie
# 4  
Old 09-17-2008
# smbstatus -v

(Is a better command to use for connected in users)

# cat /etc/samba/smbpasswd

(Should show you the users but this depends on how samba has been configured. )
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

3. Red Hat

Showing all users in 'users' and 'top' commands

Hi All, I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

4. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

5. UNIX for Dummies Questions & Answers

allocating space for samba users

I have installed samba by cmd yup install samba -a and configured my samba server.But i want my samba users to lo-gin from windows users and contain allocated amount of space. plz help me............ (1 Reply)
Discussion started by: yashwanthguru
1 Replies

6. Solaris

To restrict the users not to change the passwords for NIS users

Hi All, How to restrict the NIS users not to change their passwords in for NIS users?? and my NIS user is unable to login to at client location what could be the problem for this ? Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

7. Solaris

how to find out that how many users are in samba server in solaris 10

what is the command to find out that how many samba users accounts are in samba server in solaris 8.and also about samba users home directoris and samba users permissions (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

8. HP-UX

Limiting SFTP Users While Not Limiting Regular Users?

Hi, I have searched the web and have come back with nothing that is satisfactory for what I require. SFTP is my corporations new file transfer standard. What I require is a method to lock down SFTP users to their directory (they may go to sub directories) while not restricting regular users. ... (2 Replies)
Discussion started by: Emancipator
2 Replies

9. Linux

Enable sudo for Win AD users authenticated with Linux samba winbind service

Hi everyone, I wonder if anyone ever came across the idea of unifying AD and Linux user accounts We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords. I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies

10. Linux

RH8 samba won't let users in

when I type smbclient \\\\MYSERVER\\someuser at the prompt, it asks me to log in with the password for that user, and when I put it in, it says NT_USER_LOGIN_FAILURE eveyrtime, while at the linux terminal. When I try to access the server from my windows xp machine it shows up in the workgroup, but... (3 Replies)
Discussion started by: kymberm
3 Replies
Login or Register to Ask a Question